Skip to content
VS Code

gatekeeper for VS Code

io.github.runestone-labs/gatekeeper

Run MCP tool calls through Runestone Gatekeeper — policy enforcement, human approval, audit.

client:VS Code transport:stdio runtime:npm

Install gatekeeper in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "gatekeeper-role",
      "description": "GATEKEEPER_ROLE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gatekeeper-url",
      "description": "GATEKEEPER_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gatekeeper-agent-name",
      "description": "GATEKEEPER_AGENT_NAME",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gatekeeper-run-id",
      "description": "GATEKEEPER_RUN_ID",
      "password": true
    }
  ],
  "servers": {
    "gatekeeper": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@runestone-labs/gatekeeper-mcp"
      ],
      "env": {
        "GATEKEEPER_ROLE": "${input:gatekeeper-role}",
        "GATEKEEPER_URL": "${input:gatekeeper-url}",
        "GATEKEEPER_AGENT_NAME": "${input:gatekeeper-agent-name}",
        "GATEKEEPER_RUN_ID": "${input:gatekeeper-run-id}"
      }
    }
  }
}

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

gatekeeper in other clients