New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

@agentpayxyz/mcp-server

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@agentpayxyz/mcp-server

Model Context Protocol (MCP) server for AgentPay — gives AI assistants the ability to create payment intents, verify settlements, and look up AgentPassports

Source
npmnpm
Version
0.1.1
Version published
Weekly downloads
193
614.81%
Maintainers
1
Weekly downloads
 
Created
Source

@agentpay/mcp-server

Model Context Protocol server for AgentPay. Gives any MCP-compatible AI assistant (Claude, etc.) the ability to create payment intents, verify settlements, look up AgentPassports, and discover agents on the network.

Install

npx @agentpay/mcp-server

Claude Desktop Setup

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "agentpay": {
      "command": "npx",
      "args": ["@agentpay/mcp-server"],
      "env": {
        "AGENTPAY_API_KEY": "apk_your_key_here",
        "AGENTPAY_MERCHANT_ID": "your_merchant_id"
      }
    }
  }
}

Get your API key: register at https://agentpay-api.apaybeta.workers.dev/api/merchants/register

Tools Exposed

ToolDescription
agentpay_create_payment_intentCreate a USDC payment intent — returns Solana Pay URI
agentpay_get_intent_statusCheck if a payment has been confirmed on-chain
agentpay_get_receiptGet the full settlement receipt for a payment
agentpay_get_passportLook up any agent's trust score and interaction history
agentpay_discover_agentsSearch and filter agents on the network
agentpay_get_merchant_statsGet your account's payment statistics

Example Claude Prompt

Once configured, you can ask Claude:

"Create a $5 USDC payment request for a research task and give me the payment link."

Claude will call agentpay_create_payment_intent and return the Solana Pay URI directly.

"Look up the AgentPassport for agent_001 — can I trust them?"

Claude will call agentpay_get_passport and summarize the trust score and history.

Environment Variables

VariableRequiredDescription
AGENTPAY_API_KEYYesYour merchant API key
AGENTPAY_MERCHANT_IDRecommendedYour merchant ID (used in intent creation)
AGENTPAY_API_URLNoOverride API URL (default: production Workers endpoint)

Keywords

agentpay

FAQs

Package last updated on 17 Mar 2026

Related posts