grantd for VS Code
io.github.rafavecchi/grantd
Grantd MCP server: let your AI agent act on a user's behalf across third-party APIs via OAuth.
client:VS Code
transport:stdio
runtime:npm
Install grantd in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "grantd-api-key",
"description": "GRANTD_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "grantd-base-url",
"description": "GRANTD_BASE_URL",
"password": true
},
{
"type": "promptString",
"id": "grantd-end-user",
"description": "GRANTD_END_USER",
"password": true
}
],
"servers": {
"grantd": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"grantd-mcp"
],
"env": {
"GRANTD_API_KEY": "${input:grantd-api-key}",
"GRANTD_BASE_URL": "${input:grantd-base-url}",
"GRANTD_END_USER": "${input:grantd-end-user}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs