ap2-mcp-server

ap2-mcp-server is a skill for Claude Code from OrcaQubits/agentic-commerce-skills-plugins. It costs 38 tokens per session (864 once invoked), scanned A, original, MIT.

A server that exposes AP2 payment functions through MCP, a standard way for an agent to call tools. It connects agents to payment-related operations such as mandates, payment methods, transaction status, and receipts.

In plain words
What is it for?
Use it to expose payment-method management, mandate creation and signing, transaction-status checks, and receipt retrieval to AP2 agents.
Why use it?
It gives agents a defined tool interface for payment tasks instead of requiring each integration to expose its own custom connection.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the ap2-agentic-payments plugin — 18 skills, 1 agent shipped together

Good fit Use it to expose payment-method management, mandate creation and signing, transaction-status checks, and receipt retrieval to AP2 agents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/orcaqubits/agentic-commerce-skills-plugins/ap2-mcp-server
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add OrcaQubits/agentic-commerce-skills-plugins --skill ap2-mcp-server
Clone the repo
git clone --depth 1 https://github.com/OrcaQubits/agentic-commerce-skills-plugins

Made for: Claude Code.

Or install ap2-agentic-payments, the plugin that ships this one along with the rest of its 18 skills, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ap2-mcp-server

README.md
[![agentmods](https://agentmods.dev/badge/skills/orcaqubits/agentic-commerce-skills-plugins/ap2-mcp-server.svg)](https://agentmods.dev/skills/orcaqubits/agentic-commerce-skills-plugins/ap2-mcp-server)
Your own site
<a href="https://agentmods.dev/skills/orcaqubits/agentic-commerce-skills-plugins/ap2-mcp-server"><img src="https://agentmods.dev/badge/skills/orcaqubits/agentic-commerce-skills-plugins/ap2-mcp-server.svg" alt="Measured on agentmods" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 864 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00038 $0.00864
Opus 5 $0.00019 $0.00432
Sonnet 5 $0.00008 $0.00173
Haiku 4.5 $0.00004 $0.00086

Measured 8d ago against content hash d4368fc97660, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

ap2-mcp-server scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

ap2-agentic-payments/skills/ap2-mcp-server/SKILL.md · 98 lines

How it starts

The opening of the file, as written. The whole thing — 98 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AP2 MCP Server Integration

Before writing code

Fetch live docs:

  1. Fetch https://ap2-protocol.org/specification/ for MCP server references
  2. Fetch https://ap2-protocol.org/topics/ap2-a2a-and-mcp/ for MCP integration details
  3. Fetch https://ap2-protocol.org/roadmap/ to check MCP server availability status
  4. Web-search site:github.com google-agentic-commerce AP2 MCP server for MCP implementations

Conceptual Architecture

AP2 + MCP

While AP2's primary integration is with A2A (agent-to-agent), it also integrates with MCP (Model Context Protocol) for tool-based access to payment capabilities:

  • A2A — Agent-to-agent: Shopping Agent ↔ Merchant Agent communication
  • MCP — Agent-to-tool: Agent accessing payment APIs as tools

MCP's Role in the Stack

MCP provides the foundational layer for connecting agents to external resources:

Agent
  ├── A2A → Other Agents (Merchant, CP, MPP)
  └── MCP → Payment Tools (APIs, databases, services)

AP2 MCP Server

The AP2 MCP server exposes payment-related tools that agents can call:

  • Payment method management tools
  • Mandate creation and signing tools
  • Transaction status tools
  • Receipt retrieval tools

Roadmap Status

The AP2 roadmap includes:

  • V0.1: A2A extension (primary), MCP server v0.1
  • V1.x: MCP-based implementation sequence diagrams, expanded MCP support

Check the latest roadmap and GitHub for current MCP server availability.

MCP Tool Patterns for Payments

Note: The following tool names are entirely speculative/hypothetical examples illustrating what an AP2 MCP server might expose. They are not from any published AP2 MCP server specification or implementation. Always check the latest AP2 roadmap and GitHub repositories for actual MCP tool definitions.

Hypothetical AP2 MCP tools:

Tool Description
list_payment_methods Get available payment methods for a user
create_intent_mandate Build an Intent Mandate from shopping parameters
create_cart_mandate Build a Cart Mandate from product/price details
validate_mandate Verify mandate signatures and contents
process_payment Submit a payment for processing
get_transaction_status Check payment processing status
get_receipt Retrieve a payment receipt

Read the full file on GitHub · 98 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 98 lines · 38 tokens per session scan A d4368fc97660

Subscribe to this mod's changes

ap2-mcp-server is a skill published in the GitHub repository OrcaQubits/agentic-commerce-skills-plugins (39 stars, last pushed 3mo ago), licensed MIT. It adds 38 tokens to every session and 864 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

archestra-dev-interactions-migrations

Use BEFORE writing or running any Drizzle migration that touches the interactions table (or any other very large, write-hot table). The interactions table is the platform's biggest, append-heavy table — every LLM proxy call writes a row — so a careless migration can take a write-blocking lock and stall the proxy.…

archestra-ai/archestra · 118 tokens

archestra-dev-llm-providers

Use when adding an LLM provider, changing proxy adapters or provider routes, fixing streaming/tool-call translation bugs, editing model fetchers or model handling, or touching provider credentials/enums and model constants.

archestra-ai/archestra · 49 tokens

archestra-dev-backend

Use when adding or changing Archestra backend routes, models, services, API request/response schemas, endpoint permissions, or OpenAPI/codegen for the generated API client.

archestra-ai/archestra · 40 tokens

internet-court

Entry point for Internet Court — the trust layer for agent-to-agent commerce. Use whenever an agent needs to transact with another agent or a paid service, or a user mentions agent payments, paid APIs (HTTP 402/x402), wallet custody or trust concerns, spending mandates, delegated permissions (ERC-7710/7715), escrow…

internet-court/internet-court-skill · 147 tokens

okx-agent-payments-protocol

Use when an agent hits HTTP 402 / payment-required, or the user mentions x402, x402Version, X-PAYMENT, PAYMENT-REQUIRED, PAYMENT-SIGNATURE, WWW-Authenticate: Payment, permit2, upto, metered billing, a payment channel / voucher / session, channelId / channelid, opening / closing / topping up / settling / refunding a…

internet-court/internet-court-skill · 231 tokens

jupiter-lend

Interact with Jupiter Lend Protocol. Read-only SDK (@jup-ag/lend-read) for querying liquidity pools, lending markets (jlTokens), and vaults. Write SDK (@jup-ag/lend) for lending (deposit/withdraw) and vault operations (deposit collateral, borrow, repay, manage positions).

internet-court/internet-court-skill · 68 tokens