Skip to content
VS Code

mcp shield proxy for VS Code

dev.ramenai/mcp-shield-proxy

Stdio proxy that checks MCP tool calls against ramen ai policy bundles and verifies signed receipts

client:VS Code transport:stdio runtime:npm

Install mcp shield proxy in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "ramen-api-key",
      "description": "RAMEN_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "openai-api-key",
      "description": "OPENAI_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "anthropic-api-key",
      "description": "ANTHROPIC_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ramen-provider",
      "description": "RAMEN_PROVIDER",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ramen-base-url",
      "description": "RAMEN_BASE_URL",
      "password": true
    }
  ],
  "servers": {
    "mcp-shield-proxy": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ramen-ai/mcp-shield-proxy"
      ],
      "env": {
        "RAMEN_API_KEY": "${input:ramen-api-key}",
        "OPENAI_API_KEY": "${input:openai-api-key}",
        "ANTHROPIC_API_KEY": "${input:anthropic-api-key}",
        "RAMEN_PROVIDER": "${input:ramen-provider}",
        "RAMEN_BASE_URL": "${input:ramen-base-url}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

mcp shield proxy in other clients