agent gate for VS Code
com.forgeorbital/agent-gate
Local mandate gate and proof trail for AI agents that take consequential actions.
client:VS Code
transport:stdio
runtime:npm
Install agent gate in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "forge-api-key",
"description": "FORGE_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "forge-bearer-token",
"description": "FORGE_BEARER_TOKEN",
"password": true
},
{
"type": "promptString",
"id": "forge-api-base-url",
"description": "FORGE_API_BASE_URL",
"password": true
},
{
"type": "promptString",
"id": "forge-tenant-id",
"description": "FORGE_TENANT_ID",
"password": true
},
{
"type": "promptString",
"id": "forge-record-mode",
"description": "FORGE_RECORD_MODE",
"password": true
},
{
"type": "promptString",
"id": "agent-gate-mandate-path",
"description": "AGENT_GATE_MANDATE_PATH",
"password": true
},
{
"type": "promptString",
"id": "agent-gate-kill-file",
"description": "AGENT_GATE_KILL_FILE",
"password": true
},
{
"type": "promptString",
"id": "kalshi-api-key-id",
"description": "KALSHI_API_KEY_ID",
"password": true
},
{
"type": "promptString",
"id": "kalshi-private-key-path",
"description": "KALSHI_PRIVATE_KEY_PATH",
"password": true
},
{
"type": "promptString",
"id": "kalshi-env",
"description": "KALSHI_ENV",
"password": true
}
],
"servers": {
"agent-gate": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"forge-agent-gate"
],
"env": {
"FORGE_API_KEY": "${input:forge-api-key}",
"FORGE_BEARER_TOKEN": "${input:forge-bearer-token}",
"FORGE_API_BASE_URL": "${input:forge-api-base-url}",
"FORGE_TENANT_ID": "${input:forge-tenant-id}",
"FORGE_RECORD_MODE": "${input:forge-record-mode}",
"AGENT_GATE_MANDATE_PATH": "${input:agent-gate-mandate-path}",
"AGENT_GATE_KILL_FILE": "${input:agent-gate-kill-file}",
"KALSHI_API_KEY_ID": "${input:kalshi-api-key-id}",
"KALSHI_PRIVATE_KEY_PATH": "${input:kalshi-private-key-path}",
"KALSHI_ENV": "${input:kalshi-env}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs