MCP Ap2 logo

MCP Ap2

Alpha MCP server for Google's AP2 payment protocol, covering authorization, audit trails, and scoped spending limits.

Install MCP Ap2

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-ap2": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-itau@alpha"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 22 tools correctly (Today).

Overview

The mcp-ap2 MCP server exposes Google's Agent-to-Agent Payment Protocol through 22 MCP tools. It focuses on authorization, audit trails, and scoped spend limits for agentic payment workflows. The package is marked alpha and deprecated because its documented AP2 endpoints do not provide a live service. Reach for it when you need to inspect or prototype AP2-oriented agent authorization, not for production payment execution.

Use cases

  • Prototype agent authorization policies
  • Inspect payment-related audit trails
  • Apply scoped spending limits
  • Evaluate AP2 concepts through MCP

Key features

  • 22 AP2-focused MCP tools
  • Agent payment authorization
  • Audit trail support
  • Scoped spending limits
  • Alpha package

Tools22

What MCP Ap2 lets your agent do. Expand a tool for its parameters.

Verified live~3.4k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 1d ago

Recent health check succeeded.

9/9 checks healthy over the last 42d

What it can do

From the 22 tools this server returned when we ran it.

Can delete or modify data · 1Handles credentials · 1Makes network requests · 4Read-only tools · 21
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age183 days
Maintainers2

Observed 2026-10-24 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 16h ago via OSV.dev · @codespar/mcp-itau@alpha (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars274Stargazers on the source repository.
npm downloads134Package downloads in the last 30 days.
Last commit27d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed22Callable tools this server registers over MCP.

How MCP Ap2 works

What mcp-ap2 does

The mcp-ap2 MCP server exposes Google's Agent-to-Agent Payment Protocol through an MCP interface. Its 22 tools cover the protocol's authorization model, audit records, and limits on how much an agent may spend or what actions it may take. This places the server in the authorization layer of an agentic commerce stack rather than in the settlement layer.

AP2 is presented alongside checkout protocols such as Stripe ACP and Google UCP, and settlement mechanisms such as x402, Pix, and card payments. In that model, the mcp-ap2 MCP server can represent the policy and traceability side of an agent payment flow while another system handles checkout or payment settlement.

How it works

An MCP client connects to the package and invokes its AP2-related tools. Those tools are organized around three concrete concerns: authorizing agent actions, recording or reviewing audit trails, and applying scoped spending limits.

The package is described as an alpha implementation. AP2 is also described as an open specification rather than an API hosted by Google. This distinction matters when evaluating the server: MCP provides the tool interface, while the underlying AP2 service availability remains a separate concern.

Setup and configuration

The repository identifies the package as @codespar/mcp-ap2. An MCP client can run packages from this collection with npx; the repository's alpha-package convention uses an @alpha install tag for alpha releases. Confirm the published package and release tag before adding it to a client configuration because the AP2 package is deprecated.

Do not assume that credentials, a base URL, or a sandbox setting are available without checking the package's own documentation.

Tools and capabilities

  • Provides 22 MCP tools for the AP2 package.
  • Supports authorization concepts for agent-to-agent payments.
  • Covers audit trails for payment-related agent activity.
  • Applies scoped spending limits to agent actions.
  • Fits the authorization layer between agent-facing commerce workflows and payment settlement rails.

Limitations and notes

The mcp-ap2 MCP server is marked alpha and deprecated in the repository. The listed default host is ap2.googleapis.com; the sandbox host is sandbox.ap2.googleapis.com. Measurements recorded in the README found a generic HTTP 404 response from the default host and a TLS failure from the sandbox host. The repository concludes that AP2 has no live endpoint available through this package.

The package remains in the repository for reference and is excluded from its quick-start flow.

The mcp-ap2 MCP server should therefore be evaluated as an alpha reference or prototyping component.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Ap2

mcp-ap2 is an MCP server that connects MCP clients to Google's Agent-to-Agent Payment Protocol through 22 tools for authorization, audit trails, and scoped spending limits. It is an alpha, deprecated package intended for reference or prototyping; the documented AP2 hosts do not provide a live endpoint.

Install the `@codespar/mcp-ap2` package with the MCP client's normal `npx` package configuration.

No, the mcp-ap2 MCP server is not documented as production-ready. It is marked alpha and deprecated, and the README reports that its default AP2 host returns a generic 404 while its sandbox host fails TLS, leaving no documented live endpoint.

The mcp-ap2 MCP server provides 22 tools centered on AP2 authorization, audit trails, and scoped spend limits.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Ap2 AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-ap2?style=directory)](https://allmcps.com/mcp/mcp-ap2)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-ap2"><img src="https://allmcps.com/api/badge/mcp-ap2?style=directory" alt="MCP Ap2 on AllMCPs" /></a>