Hardened MCP Server Bridge
Connects local (stdio) and remote (HTTP) MCP servers with SHA-256 tool schema pinning.
A remote MCP server silently mutates a read tool’s description to exfiltrate data and your agent obeys.
Schema drift blocks the call immediately, and every MCP tool gets Neusym’s full grants, journal, and approvals.
What It Does (In Plain English)
MCP Bridge imports tools from any standard Model Context Protocol server directly into Neusym’s Tool Gateway. Unlike raw MCP clients, it pins each tool’s canonical JSON Schema SHA-256 hash so a compromised remote server cannot silently change a tool’s behavior (MCP_SCHEMA_DRIFT), and treats remote MCP errors fail-closed.
Real-World Example
- 1You declare
erp.get_invoiceanderp.post_creditfrom your remote MCP server with pinnedschemaSha256hashes. - 2Before calling the remote tool, MCP Bridge verifies its schema matches the pin.
- 3If the remote server returns
isError: trueon a write, the journal locksUNKNOWNinstead of assuming success.
When Should You Turn It On?
Add at Level 2 (draft) or above whenever connecting external MCP servers.
Safety level note: Level 2 · Draft — Can create saved drafts and run offline sandbox checks.
How to Add It (workspace.yaml)
kits:
- "@neusym/kit-mcp-bridge@0.1.0"
bindingOverrides:
mcp-transport:
driver: "@neusym/driver-mcp-transport-http"Kits It Works With
Technical Details & Configuration Options (3 settings)
| Package | @neusym/kit-mcp-bridge |
|---|---|
| Provides Ports | None |
| Requires Ports | tools@1mcp-transport@1 |
| Optional Ports | None |
| Publishes Events | mcp.schema_drift |
| Owned DB Collections | None |
Configuration Options (kitConfigs.mcp-bridge)
| Setting | Type | Default | Description |
|---|---|---|---|
defaultTimeoutMs | integer | 30000 | Default timeout in milliseconds passed to mcp-transport callTool. |
schemaPinCacheMs | integer | 0 | How long in milliseconds a verified remote schema hash is cached per (tenant, server, tool). 0 (default) re-verifies before every call. |
tools | array | [] | Pinned remote MCP tools registered onto tools@1 with operator-authored Neusym input schemas and remote schema SHA-256 hashes. |