mcp ap2 for VS Code
io.github.codespar/mcp-ap2
MCP server for AP2 — Google's Agent-to-Agent Payment Protocol (authorization, audit, trust)
client:VS Code
transport:stdio
runtime:npm
Install mcp ap2 in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "ap2-api-key",
"description": "AP2_API_KEY",
"password": true
}
],
"servers": {
"mcp-ap2": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@codespar/mcp-ap2"
],
"env": {
"AP2_API_KEY": "${input:ap2-api-key}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs