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.
Install
Section titled “Install”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:
pbpaste | tr "–—" "--"When to use it
Section titled “When to use it”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.
