mcp shield proxy
v0.2.0Stdio proxy that checks MCP tool calls against ramen ai policy bundles and verifies signed receipts
Values you need
| Variable | What it is | |
|---|---|---|
RAMEN_API_KEY | optional secret | ramen ai API key. Leave unset to use the keyless public trial (10 evaluations per day per network, one bundle). When set it is always used and never downgraded to the trial. |
OPENAI_API_KEY | optional secret | Optional OpenAI provider key (BYOK), used only with RAMEN_API_KEY. |
ANTHROPIC_API_KEY | optional secret | Optional Anthropic provider key (BYOK), used only with RAMEN_API_KEY. |
RAMEN_PROVIDER | optional | Provider override: openai, anthropic or google. Used only with a provider key. |
RAMEN_BASE_URL | optional | Override the ramen ai API base URL. |
npm (npx)
Requires Node.js 18+
Run in a terminal
claude mcp add mcp-shield-proxy -- npx -y @ramen-ai/mcp-shield-proxy@0.2.0 --bundle-ids ramen__shield_core_it '<target_command>'Add to
claude_desktop_config.json{
"mcpServers": {
"mcp-shield-proxy": {
"args": [
"-y",
"@ramen-ai/mcp-shield-proxy@0.2.0",
"--bundle-ids",
"ramen__shield_core_it",
"<target_command>"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp-shield-proxy": {
"args": [
"-y",
"@ramen-ai/mcp-shield-proxy@0.2.0",
"--bundle-ids",
"ramen__shield_core_it",
"<target_command>"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"mcp-shield-proxy": {
"args": [
"-y",
"@ramen-ai/mcp-shield-proxy@0.2.0",
"--bundle-ids",
"ramen__shield_core_it",
"<target_command>"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp-shield-proxy]
command = "npx"
args = ["-y", "@ramen-ai/mcp-shield-proxy@0.2.0", "--bundle-ids", "ramen__shield_core_it", "<target_command>"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json