Skip to content

AgentPay MCP: Open-source MCP payment server for AP2 scenarios #178

@up2itnow0822

Description

@up2itnow0822

What

AgentPay MCP is an open-source MCP server that gives AI agents payment capabilities via the Model Context Protocol. It provides wallet management, payment authorization, and transaction execution for agent-to-service payments.

Why this is relevant to AP2

The current AP2 samples use ADK + Gemini, which works well for the Google ecosystem. AgentPay MCP demonstrates AP2-compatible payment flows through the MCP standard, making agent payments accessible to any MCP-compatible agent (Claude, GPT-4, Gemini, open-source LLMs).

What we could contribute

  • A new sample scenario showing AP2 payment flows via MCP tooling
  • Integration with the Agent Wallet SDK for non-custodial wallet management (ERC-4337)
  • x402 payment handling as an AP2 settlement option alongside card rails

Stack

TypeScript, MCP protocol, ERC-4337 smart contract wallets, x402 compatible.

Test Coverage

  • 154 smart contract tests passing
  • 113 SDK tests passing
  • Published on npm

Happy to sign the CLA and submit a PR with a sample scenario if this aligns with the project's direction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions