Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

mcp-ap2

MCP server by codespar Community

mcp-ap2 is a deprecated MCP server for Google's Agent-to-Agent Payment Protocol (AP2), listed as alpha with 22 tools. It has no live endpoint, so its tools cannot reach a working service. It is kept for reference only.

  • Score 82
  • 278 stars
  • MIT
  • Updated

Install mcp-ap2

Built from the published package, never by AI.

claude mcp add mcp-ap2 -e AP2_API_KEY=YOUR_AP2_API_KEY -- npx -y @codespar/mcp-ap2

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install mcp-ap2 in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mcp-ap2 block.

About

mcp-ap2 is an MCP server from the codespar publisher for AP2, Google's Agent-to-Agent Payment Protocol. The catalog describes AP2 as covering authorization, audit trails and scoped spend limits, and lists this server with 22 tools at alpha stage. It is published on npm as @codespar/mcp-ap2 and sits in the MCP Dev LATAM repository, which is MIT licensed.

The server is deprecated. The source states that ap2.googleapis.com serves no API, because AP2 is an open specification rather than a hosted API. When tested on 2026-09-27, the default host returned a generic 404 page, and the sandbox host failed the TLS handshake. The package is kept for reference and is outside the quick start guide.

Written from the project's README and checked against it.

What you need

  • npx to run the @codespar/mcp-ap2 package
  • API key (the catalog lists API Key auth)
SettingNeededWhat it is
AP2_API_KEYEnvironment variable, secretRequiredAPI key for ap2

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Try asking

  • Set a scoped spend limit for my agent using AP2
  • Show the audit trail for an AP2 authorization
  • Check whether the AP2 endpoint is live before I use it

Good to know

  • Deprecated on npm and kept for reference only
  • No live endpoint: ap2.googleapis.com serves no API
  • Listed as alpha in the catalog
  • Sandbox host fails the TLS handshake

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

What you can do with it

  • Reference for AP2 authorization design
  • Studying scoped spend limits for AI agents

Alternatives to mcp-ap2

All alternatives →
mcp stripe
96

Connects AI assistants to Stripe through the hosted Stripe MCP server at mcp.stripe.com. It is for developers building AI-powered products and businesses on Stripe.

AAA Remote 2.1k
TradingMCPatilaahmettaner
94

Gives AI assistants market data, technical analysis, backtests, options activity and news sentiment for stocks, crypto, FX and metals. Built for traders and developers using Claude, ChatGPT, Cursor or other MCP clients. Its outputs are informational, not financial advice.

AAA Remote 5.4k
CCXTccxt
94

CCXT is an official MCP server for market data and trading across more than 100 exchanges and prediction markets. It is aimed at developers, traders and AI agents.

AAA Local 45k
Finance ToolkitJerBouma
94

Calculates over 1400 transparent financial methods from raw statements and exposes them to AI assistants through an MCP server. Suited to analysts and developers who want to see how each metric is computed.

AAA Local and remote 5.6k
Vapi Network MCP vAPI-Network
94

Lets an AI assistant search x402 APIs and pay for them in USDC from a local, non-custodial wallet. Built for people and agents that need to pay APIs per call under spend caps.

AAA Local 6.2k
Finance DatabaseJerBouma
94

Lets AI assistants explore a free database of over 300,000 symbols, including equities, ETFs, funds, indices, currencies and cryptocurrencies, categorised by sector, industry and country. It suits private investors who want to discover products rather than look up fundamentals or stock data.

AAA Local and remote 9.7k

Compare with mcp, TradingMCP or CCXT

mcp-ap2: common questions

Does mcp-ap2 work today?

The source marks it as deprecated with no live endpoint. Its default host returned a generic 404 page when the project tested it on 2026-09-27.

Is AP2 an API that Google hosts?

No. The source says AP2 is an open specification, not an API that Google hosts.

Which package name does mcp-ap2 use?

The npm package is @codespar/mcp-ap2. The catalog lists it as alpha and deprecated, and it is kept in the repository for reference.

How do I install mcp-ap2?

In Claude Code run claude mcp add mcp-ap2 -e AP2_API_KEY=YOUR_AP2_API_KEY -- npx -y @codespar/mcp-ap2. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is mcp-ap2 the official server?

mcp-ap2 is a community project by codespar, not verified by a company domain.

Is mcp-ap2 free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is mcp-ap2 safe to use?

It scores 82 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to mcp-ap2?

Similar MCP servers: mcp, TradingMCP, CCXT, Finance Toolkit.

Does mcp-ap2 work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

mcp-ap2 Install

Add to stack

Loading.