MCP server
MCP Ap2
DEPRECATED: no live endpoint (AP2 is a spec; ap2.googleapis.com serves no API)
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.2.0-alpha.4
- Listing updated
- 6 days ago
About MCP Ap2
MCP Ap2 is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add mcp-ap2 --env AP2_API_KEY='<AP2_API_KEY>' -- npx -y @codespar/mcp-ap2Add to claude_desktop_config.json
{
"mcpServers": {
"mcp-ap2": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-ap2"
],
"env": {
"AP2_API_KEY": "<AP2_API_KEY>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp-ap2": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-ap2"
],
"env": {
"AP2_API_KEY": "<AP2_API_KEY>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"mcp-ap2": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@codespar/mcp-ap2"
],
"env": {
"AP2_API_KEY": "<AP2_API_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-ap2": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-ap2"
],
"env": {
"AP2_API_KEY": "<AP2_API_KEY>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp-ap2": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-ap2"
],
"env": {
"AP2_API_KEY": "<AP2_API_KEY>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
AP2_API_KEYAPI key for ap2Required
Pricing
Open source
MCP Ap2 FAQ
Is MCP Ap2 free?
Yes. MCP Ap2 is open source, so you can use and self-host it for free.
How do I add MCP Ap2 to Claude Code?
Run this command in your terminal: claude mcp add mcp-ap2 --env AP2_API_KEY='<AP2_API_KEY>' -- npx -y @codespar/mcp-ap2
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.