mcp-proxy

MCP Proxy

The MCP Proxy is a governance-aware proxy for Model Context Protocol (MCP) servers. It intercepts tool calls made through MCP and evaluates them through the Nomotic governance pipeline before forwarding to the upstream server.

How It Works

The proxy is transparent — the agent communicates with it exactly as it would with a real MCP server.

Starting the MCP Proxy

nomotic serve --mcp --upstream http://localhost:8080 --port 9090

Python API

from nomotic.mcp_proxy import MCPProxy

proxy = MCPProxy(
    runtime=runtime,
    upstream_url="http://localhost:8080",
    port=9090,
)
proxy.start()

Certificate-Required Mode

[!warning]

In certificate-required mode, any agent without a valid Birth Certificate will be rejected at the proxy before any tool calls are evaluated.

Last updated