Skip to content
Zed

mcp ap2 for Zed

io.github.codespar/mcp-ap2

MCP server for AP2 — Google's Agent-to-Agent Payment Protocol (authorization, audit, trust)

client:Zed transport:stdio runtime:npm

Install mcp ap2 in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "context_servers": {
    "mcp-ap2": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-ap2"
      ],
      "env": {
        "AP2_API_KEY": "<AP2_API_KEY>"
      }
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

mcp ap2 in other clients