@spoc/mcp-bridge
OfficialClick on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@spoc/mcp-bridgeIssue a harness to run this Python script in a sandbox."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@spoc/mcp-bridge
A ~200-line stdio ↔ HTTP+SSE bridge for the SPOC MCP server.
Claude Desktop, Cursor, Zed, Windsurf and most other MCP clients today only speak the stdio transport (JSON-RPC over stdin/stdout). SPOC's MCP server at https://spoc.com/mcp/rpc speaks HTTP+SSE. This bridge is the shim between the two: install it, point your MCP client at it, and SPOC's tools show up.
Install
Coming to npm shortly. For now:
git clone https://github.com/SPOC-App/spoc-mcp-bridge.git
cd spoc-mcp-bridge
npm install
npm run build
npm linkOnce released:
npm install -g @spoc/mcp-bridgeRelated MCP server: MCP Stdio to SSE Proxy
Configure your MCP client
Claude Desktop
Edit the config file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"spoc": {
"command": "spoc-mcp-bridge",
"env": {
"SPOC_BEARER": "spk_live_...",
"SPOC_ENDPOINT": "https://spoc.com/mcp/rpc"
}
}
}
}Restart Claude Desktop. SPOC's tools should appear in the tool picker.
Cursor
~/.cursor/mcp.json (or Settings → MCP → Edit mcp.json):
{
"mcpServers": {
"spoc": {
"command": "spoc-mcp-bridge",
"env": { "SPOC_BEARER": "spk_live_..." }
}
}
}Zed
~/.config/zed/settings.json:
{
"context_servers": {
"spoc": {
"command": {
"path": "spoc-mcp-bridge",
"args": [],
"env": { "SPOC_BEARER": "spk_live_..." }
}
}
}
}Environment variables
Variable | Default | Notes |
|
| HTTP JSON-RPC endpoint |
|
| SSE endpoint for server-initiated notifications |
| (unset) | Token to send as |
|
| HTTP request timeout |
| (unset) | Set to |
| (unset) | Set to |
Bearer tokens
Generate one at https://spoc.com/settings/api-keys. Make sure the harness:issue scope is checked or SPOC will reject calls that need to issue harnesses.
Troubleshooting
Tools don't appear in Claude / Cursor / Zed after restart.
Run spoc-mcp-bridge directly in a terminal and pipe a request in:
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' | spoc-mcp-bridgeYou should see a JSON response listing every tool. If you get a JSON-RPC error frame, the error.data field will tell you why.
401 errors.
The bearer token is missing, wrong, or lacks scope. Verify at https://spoc.com/settings/api-keys.
SSE won't connect.
Notifications are optional. Set SPOC_DISABLE_SSE=1 and everything except server-initiated notifications will still work. If you want to debug, set SPOC_DEBUG=1 and watch stderr.
Writing your own client
If you're implementing SPOC's report-event HMAC signing directly (rather than going through this bridge), one thing to watch out for: SPOC's canonical form matches JavaScript JSON.stringify behaviour, which leaves non-ASCII characters as themselves rather than escaping them to \uXXXX. Python's default json.dumps(...) escapes non-ASCII — you'll get a bad_signature 401 the first time you include an em-dash, curly quote, or accented character. Pass ensure_ascii=False.
Links
https://spoc.com— the underlying servicehttps://spoc.com/mcp/manifest— the tool cataloguehttps://spoc.com/docs/api— the full HTTP API
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Host your MCP tool over streamable HTTP in one command.
Remote MCP server exposing SMI Aware tools, resources, and skills over Streamable HTTP.
MCP server (stdio): check if URLs are alive (status, redirects, latency) via the AgentForge API
Minimal streamable HTTP MCP server used for owned-account registry connectivity tests.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceBridges STDIO-based MCP clients with SSE-based MCP servers, allowing applications like Claude Desktop to connect to remote MCP servers that use SSE transport.9-
- AlicenseNot gradedqualityDmaintenanceActs as a proxy between a local Stdio connection and a remote Model Context Protocol server running over Server-Sent Events. It specifically enables Stdio-based MCP clients to connect to the SwiftZilla remote SSE endpoint.4 npmISC
- AlicenseNot gradedqualityDmaintenanceProxies remote HTTP/HTTPS MCP servers over stdio, allowing stdio-based MCP clients to connect to remote servers via Streamable HTTP or SSE transports.MIT
- AlicenseNot gradedqualityDmaintenanceProxies STDIO-based MCP clients to streaming HTTP MCP servers, enabling local clients to connect to remote servers.20 npm3MIT