Skip to content
Agentmart
Submit a tool

MCP Ap2

DEPRECATED: no live endpoint (AP2 is a spec; ap2.googleapis.com serves no API)

Connector by codespar · GitHub account verified by the MCP Registry

IndexedMITLocal (stdio)★ 274
Write a review

Install

Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.

npx agentmarket install connector/codespar-mcp-ap2

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

DEPRECATED: no live endpoint (AP2 is a spec; ap2.googleapis.com serves no API)

Use cases: payments-billing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this server can do and what it asks for, from its tool list, install config and code. Checked Oct 25, 2026.

Tools
12 read · 9 write · 1 delete
Secrets
1 (API keys, tokens or passwords)
Install scripts
None found
Runs as
Node.js package

Tools by what they do 22

Read from the source code; the running server may list different tools.

Read 12 · Look things up without changing anything.

  • get_agent
  • get_audit_trail
  • get_authorization
  • get_transaction
  • list_agents
  • list_audit_events
  • list_authorizations
  • list_payment_methods
  • list_transactions
  • verify_credential
  • verify_presentation
  • verify_receipt

Write 9 · Create, change, send or run things.

  • authorize_payment
  • create_cart_mandate
  • create_intent_mandate
  • create_payment_mandate
  • create_presentation
  • create_receipt
  • execute_payment
  • register_agent
  • resolve_did

Delete 1 · Delete, drop, revoke or wipe things.

  • revoke_agent

Secrets and settings it asks for

Secrets: values you paste in that let it act as you.

  • AP2_API_KEY

Network hosts it talks to 6

  • ap2.googleapis.com · found in code
  • codespar.dev · found in code
  • github.com · found in code
  • google.com · found in code
  • logo.clearbit.com · found in code
  • sandbox.ap2.googleapis.com · found in code

Tools (22)

Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • authorize_payment

    Request payment authorization with scoped limits. Returns an authorization token that can be used to execute the payment.

  • create_cart_mandate

    Create an AP2 cart mandate — a signed, locked-cart commitment from a merchant binding line items, totals, and merchant attestation.

  • create_intent_mandate

    Create an AP2 intent mandate — a Verifiable Credential expressing the user's intent to delegate a transaction to an agent (scope, constraints, expiry).

  • create_payment_mandate

    Create an AP2 payment mandate — the final Verifiable Credential authorizing settlement against a cart mandate.

  • create_presentation

    Create a Verifiable Presentation bundling one or more credentials (e.g. intent + cart + payment mandates) for a given audience/verifier.

  • create_receipt

    Create a signed receipt for a settled payment — a tamper-evident record linking transaction, mandates, and settlement.

  • execute_payment

    Execute an authorized payment. Requires a valid authorization token.

  • get_agent

    Get agent registration details, trust status, and current spend usage

  • get_audit_trail

    Get the complete audit trail for a transaction — every authorization, approval, execution, and settlement event

  • get_authorization

    Get authorization details including status, limits, and expiry

  • get_transaction

    Get full transaction details including authorization, execution, and settlement status

  • list_agents

    List registered agents with optional filters

  • list_audit_events

    List audit events across all transactions with filters

  • list_authorizations

    List payment authorizations with optional filters

  • list_payment_methods

    List payment methods offered by the AP2 partner network.

Show 7 more tools
  • list_transactions

    List transactions with optional filters

  • register_agent

    Register an AI agent as a trusted payer in the AP2 network. Defines the agent's identity, capabilities, and spending limits.

  • resolve_did

    Resolve a Decentralized Identifier (DID) to its DID document via the AP2 universal resolver.

  • revoke_agent

    Revoke an agent's payment authorization. The agent will no longer be able to make or receive payments.

  • verify_credential

    Verify a Verifiable Credential (intent, cart, or payment mandate). Checks signature, issuer trust, expiry, and revocation status.

  • verify_presentation

    Verify a Verifiable Presentation and all embedded credentials, including holder binding and challenge nonce.

  • verify_receipt

    Verify a receipt's signature, issuer, and chain back to the originating mandates.

Signals

Stars
274
Forks
51
Open issues
14
Weekly downloads
19
Last commit (this folder)
Sep 27, 2026 (1 month ago)
Last release
Sep 27, 2026 (1 month ago)
Last package publish
Sep 27, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026) and the package registry.

Details

Registry name
io.github.codespar/mcp-ap2
Version
0.2.0-alpha.4
Auth
API key
Packages
npm @codespar/mcp-ap2
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 25, 2026

More from codespar

Cite this page

MCP Ap2. Agent Mart. https://agentmart.dev/connectors/codespar-mcp-ap2 (last updated 2026-10-25)