Skip to content

Install the bridge

glia-bridge is the compatibility layer for agents that speak stdio MCP but not remote HTTP MCP yet. It reads JSON-RPC over stdio, forwards each call to StateLode’s hosted MCP endpoint, and streams server notifications back to the agent.

Terminal window
npx glia-bridge --token "${GLIA_TOKEN}"

Keep GLIA_TOKEN in your shell, keychain, or IDE secret store. Do not commit the token to .mcp.json or any other repo file.

If a copied command from a formatted document behaves strangely, sanitize smart punctuation before running it:

Terminal window
pbpaste | tr "–—" "--"

Use the bridge for:

  • Codex
  • Windsurf
  • Antigravity
  • Any stdio-only MCP client

Use native HTTP MCP for clients that can connect directly to https://api.glia.dev/mcp.

Realtime fanout: a violet event origin feeds a broadcaster that fans cyan signal branches out to endpoint panels.