consentgate mcp for VS Code
io.github.jessepetersondev/consentgate-mcp
Gate AI agent actions behind a consent policy with human approval via Telegram. Fail-closed.
client:VS Code
transport:stdio
runtime:npm
Install consentgate mcp in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "consentgate-api-key",
"description": "CONSENTGATE_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "consentgate-base-url",
"description": "CONSENTGATE_BASE_URL",
"password": true
}
],
"servers": {
"consentgate-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"consentgate-mcp"
],
"env": {
"CONSENTGATE_API_KEY": "${input:consentgate-api-key}",
"CONSENTGATE_BASE_URL": "${input:consentgate-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