mcp-ap2
About
MCP server for AP2 — Google's Agent-to-Agent Payment Protocol (authorization, audit, trust)
Use this server
Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.
Transportstdio (runs a local command)
Env vars
AP2_API_KEYClaude Code
claude mcp add --env AP2_API_KEY= mcp-ap2 -- npx @codespar/mcp-ap2
Cursor
If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.
VS Code
code --add-mcp '{"name":"mcp-ap2","command":"npx","args":["@codespar/mcp-ap2"],"env":{"AP2_API_KEY":""}}'
JSON
{
"mcpServers": {
"mcp-ap2": {
"command": "npx",
"args": [
"@codespar/mcp-ap2"
],
"env": {
"AP2_API_KEY": ""
}
}
}
}
Environment variables are listed by name only — fill in your own values. Entries never carry secrets.