@nexus-mcp/stdio-http-bridge
v0.1.2
Published
Thin stdio-to-HTTP bridge for mcp-nexus. Connects stdio-only MCP clients to a remote bridge-server over Streamable HTTP.
Maintainers
Readme
@nexus-mcp/stdio-http-bridge
Thin stdio ↔ Streamable HTTP bridge for mcp-nexus.
This is intended for MCP clients that only support stdio (subprocess) servers, but you want to connect them to a remotely hosted bridge-server over HTTP.
Usage
npx -y @nexus-mcp/stdio-http-bridge --base-url https://your-bridge-host --token <client_token>Global install:
npm i -g @nexus-mcp/stdio-http-bridge
stdio-http-bridge --base-url https://your-bridge-host --token <client_token>Environment-only (recommended; avoids putting the token on the command line):
export TAVILY_BRIDGE_BASE_URL="https://your-bridge-host"
export TAVILY_BRIDGE_MCP_TOKEN="<client_token>"
npx -y @nexus-mcp/stdio-http-bridgeOptions
--base-url <origin>: Base URL for the bridge-server; this tool appends/mcp.--mcp-url <url>: Full MCP endpoint URL (overrides--base-url).--token <client_token>: Client token used asAuthorization: Bearer <client_token>(or setTAVILY_BRIDGE_MCP_TOKEN).--default-parameters <json>: Optional JSON passed via thedefault_parametersHTTP header (falls back toDEFAULT_PARAMETERSenv var).
Notes
- This tool does not require
DATABASE_URLorKEY_ENCRYPTION_SECRETbecause it does not rotate upstream Tavily keys; it only proxies MCP traffic to your deployedbridge-server. - All logs are written to stderr so stdout remains the MCP wire protocol.
