@agentpmt/mcp-router

中文文档
1.1.10发布于 2026/01/31Proprietary近 30 天下载 3627

Universal MCP server for 8+ AI platforms. Connects Claude, Cursor, VS Code, Windsurf, Zed, Codex, and Gemini to 298+ AgentPMT tools.

原始使用文档
文档目录28 节
  1. What is Agent Payment MCP?
  2. How Agent Payments Work
  3. Quick Install (2 minutes)
  4. Step 1: Get Your Bearer Token
  5. Step 2: Install & Configure
  6. Step 3: Restart & Go
  7. Multiple Budgets
  8. Supported Platforms
  9. How It Works
  10. Agent Payment Features
  11. Agent Blockchain Wallet
  12. Agent Stablecoin Payments
  13. x402Direct Integration
  14. For Teams & Organizations
  15. Environment Variables
  16. Manual Configuration
  17. Zed (different format)
  18. Postman MCP (stdio)
  19. After Manual Configuration
  20. Troubleshooting
  21. Tools not appearing?
  22. Agent Payments not processing?
  23. Check the logs
  24. Need help?
  25. Uninstall
  26. Security & Privacy
  27. Links
  28. License

Agent Payment MCP

One install. Unlimited tools. Seamless Agent Payments. Connect your AI agent to everything with the AgentPMT marketplace of tools, data sources, and specialty agents—powered by Agent Blockchain Wallet infrastructure and instant stablecoin payments.

What is Agent Payment MCP?

Agent Payment MCP is a dynamic MCP router that gives your AI assistant access to an entire marketplace of tools through a single installation, with built-in Agent Payments infrastructure for seamless pay-per-use billing.

This package runs a local MCP server over stdio (JSON-RPC) and proxies requests to the hosted AgentPMT MCP server:

  • Your AI tool talks to this package via stdio
  • The router connects to https://api.agentpmt.com/mcp via streamable-http (HTTPS)
  • Tool discovery and execution happens via the hosted MCP server (no local tool execution)

How it works:

  1. You install the router once
  2. You approve tools from your dashboard
  3. Your AI agent can immediately use those tools—no additional installs required
  4. Agent stablecoin payments handle all billing automatically via your Agent Blockchain Wallet

Key benefits:

  • One install, unlimited access — Add new tools from the marketplace anytime. No reinstalls, no config changes.
  • Agent Blockchain Wallet — A secure digital wallet is deployed for your account, enabling programmable Agent Payments with customizable rules and limits.
  • Agent stablecoin payments — Pay for tools using USDC with instant settlement on Base. Only pay for what you use.
  • x402Direct compatible — Built on the x402 Direct payment protocol for direct, verifiable agent-to-vendor transactions. x402direct.org
  • Centralized control — Approve tools, set budgets, and manage access for your whole team from one dashboard.
  • Full audit trail — Every tool call and Agent Payment is logged with complete context for compliance and debugging.
  • Works everywhere — Supports Claude Desktop, Cursor, VS Code, Windsurf, Zed, and more.

How Agent Payments Work

Agent Payment MCP leverages blockchain-native infrastructure to enable seamless Agent Payments:

  • Agent Blockchain Wallet — When you activate your account, a digital wallet is automatically deployed on your behalf. This wallet powers all Agent stablecoin payments through secure smart contract infrastructure.
  • USDC Stablecoin — All Agent Payments are settled in USDC, the world's largest regulated digital dollar with 1:1 USD backing.
  • x402Direct Protocol — Agent Payments use the x402 payment standard, enabling instant, verifiable transactions directly from your Agent Blockchain Wallet to vendors without intermediaries.
  • Recorded on Base — Every Agent Payment is verified and recorded on the Base L2 blockchain, providing an immutable audit trail.

Quick Install (2 minutes)

Step 1: Get Your Bearer Token

  1. Go to https://www.agentpmt.com and create a free account
  2. Your Agent Blockchain Wallet will be deployed automatically
  3. Copy your Bearer Token from the dashboard
  4. Fund your wallet with USDC to enable Agent Payments

Step 2: Install & Configure

# Install the Agent Payment router
npm install -g @agentpmt/mcp-router

# Run the interactive installer
agentpmt-setup

The installer will:

  • Auto-detect your installed AI tools (Claude, Cursor, VS Code, etc.)
  • Prompt for your bearer token
  • Configure everything automatically for Agent Payments

Step 3: Restart & Go

Restart your AI tool. That's it—your approved marketplace tools are now available with Agent stablecoin payments handling all billing.

Multiple Budgets

Need separate budgets for different projects or teams? Agent Payment MCP supports granular budget controls:

agentpmt-setup

Each run creates a separate MCP server entry with its own bearer token (typically one per budget) linked to your Agent Blockchain Wallet. Use different server names when prompted (e.g., agentpmt-projectA, agentpmt-projectB) to keep them organized.


Supported Platforms

The Agent Payment installer auto-detects and configures all of these:

PlatformConfig Location
Claude Desktopclaude_desktop_config.json
Claude Code CLI~/.claude.json
Cursor~/.cursor/mcp.json
VS Code~/.config/Code/User/mcp.json
WindsurfAuto-detected
Zed~/.config/zed/settings.json
OpenAI Codex CLIAuto-detected
Google Gemini CLIAuto-detected

How It Works

Your AI Assistant (Claude, Cursor, etc.)
         ↓ stdio (JSON-RPC)
Agent Payment Router (this package, runs locally)
         ↓ streamable-http (HTTPS)
AgentPMT Hosted MCP Server (https://api.agentpmt.com/mcp)
         ↓
Tool Marketplace → Agent Payments via x402Direct → Tools execute remotely
  1. Your AI requests available tools — The Agent Payment router fetches your personalized tool catalog from the API
  2. Tools appear dynamically — Only tools you've approved on your dashboard are shown
  3. Tool execution with Agent Payments — When the AI calls a tool, Agent stablecoin payments are processed via your Agent Blockchain Wallet using the x402 protocol
  4. Billing & logging — Each call is metered via x402Direct, logged, and enforced against your budget

Auto-refresh: The tool catalog updates every 30 minutes. Approve a new tool on your dashboard and it appears in your AI assistant automatically.


Agent Payment Features

Agent Blockchain Wallet

Your secure digital wallet powers all Agent Payments. Built on Circle's enterprise-grade infrastructure with:

  • Programmable spending rules per agent
  • Customizable limits and approved vendors
  • Full control over every transaction

Agent Stablecoin Payments

All Agent Payments are settled in USDC on the Base network:

  • Near-instant settlement (~6 seconds)
  • Minimal transaction fees (~$0.01)
  • No currency conversion needed
  • Works globally without traditional banking rails

x402Direct Integration

Agent Payments leverage the x402 protocol for direct, verifiable transactions:

  • No third-party payment processors
  • Cryptographically verifiable via smart contract events
  • Immutable payment records on-chain
  • True peer-to-peer Agent Payments from wallet to vendor

For Teams & Organizations

  • Team-wide tool approval — Enable or restrict tools across your entire organization with one click
  • Shared Agent Blockchain Wallet — Manage Agent Payments for your whole team from a single wallet
  • Budget controls — Set spending limits per team, per project, or per individual with granular Agent Payment rules
  • Instant deployment — New tools propagate to all team members within 30 minutes
  • Complete auditability — Every tool call and Agent Payment logged with user, parameters, response, cost, and timestamp

Environment Variables

Required:

  • AGENTPMT_BEARER_TOKEN - Your bearer token from the AgentPMT dashboard

Optional:

  • X_INSTANCE_METADATA - JSON string with client/platform metadata (written by agentpmt-setup)

Manual Configuration

If the Agent Payment installer doesn't auto-detect your AI tool, you can configure it manually.

Universal config (works with most MCP-compatible tools):

{
  "mcpServers": {
    "agentpmt": {
      "command": "npx",
      "args": ["--package=@agentpmt/mcp-router@latest", "agentpmt-router"],
      "env": {
        "AGENTPMT_BEARER_TOKEN": "your-bearer-token"
      }
    }
  }
}

Add this to your AI tool's MCP config file (see Supported Platforms for file locations).

Zed (different format)

Zed uses a different configuration structure:

{
  "context_servers": {
    "agentpmt": {
      "command": {
        "path": "npx",
        "args": ["--package=@agentpmt/mcp-router@latest", "agentpmt-router"],
        "env": {
          "AGENTPMT_BEARER_TOKEN": "your-bearer-token"
        }
      }
    }
  }
}

Postman MCP (stdio)

Postman's MCP client can connect via stdio.

  • Transport: STDIO
  • Command: npx --package=@agentpmt/mcp-router@latest agentpmt-router

Set environment variables in Postman's MCP request:

  • AGENTPMT_BEARER_TOKEN

After Manual Configuration

  • Cursor: Open Settings → Features → MCP and click Refresh
  • Zed: Check Agent Panel → Server Extensions for a green indicator
  • All others: Restart the application

Troubleshooting

Tools not appearing?

  1. Restart your AI tool completely (close and reopen)
  2. Check that you've approved tools on your dashboard
  3. Visit the Marketplace to add tool connections
  4. Verify your keys are correct (no extra spaces when copying)

Agent Payments not processing?

  1. Check your Agent Blockchain Wallet balance — Ensure you have sufficient USDC
  2. Verify budget limits — Your spending limit may have been reached
  3. Check x402Direct status — View transaction history on your dashboard

Check the logs

  • Claude Desktop: %APPDATA%\Claude\logs\ (Windows) or ~/Library/Application Support/Claude/logs/ (macOS)
  • Look for [AgentPMT] entries

Need help?

Contact support at https://www.agentpmt.com


Uninstall

npm uninstall -g @agentpmt/mcp-router

Optionally, remove the agentpmt section from your AI tools' config files (see Supported Platforms for locations).


Security & Privacy

  • Agent Blockchain Wallet — Deployed on secure, regulated Circle infrastructure
  • API keys stored locally in your AI tool's config file
  • All communication over HTTPS
  • x402Direct payments verified on-chain for complete transparency
  • Agent stablecoin payments settled on Base L2 with Ethereum security
  • No telemetry beyond API billing
  • Budget enforcement — spending limits enforced server-side before any Agent Payment is processed


License

Proprietary — See https://www.agentpmt.com/terms

版本与发布记录

@agentpmt/mcp-router 共发布 17 个版本,首次发布于 2025/10/21;过去 12 个月发布了 6 个版本。

版本发布日期距今
1.1.10latest2026/01/319 个月前
1.1.92026/01/289 个月前
1.1.82026/01/089 个月前
1.1.72025/11/3011 个月前
1.1.62025/11/2211 个月前
1.1.52025/11/1711 个月前

关于 @agentpmt/mcp-router 的常见问题

@agentpmt/mcp-router 是什么?

Universal MCP server for 8+ AI platforms. Connects Claude, Cursor, VS Code, Windsurf, Zed, Codex, and Gemini to 298+ AgentPMT tools.

如何安装 @agentpmt/mcp-router?

在项目目录运行 npm install @agentpmt/mcp-router,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 agentpmt-setup、agentpmt-install、agentpmt-router,可以用 npx agentpmt-setup 直接运行。

@agentpmt/mcp-router 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/agentpmt__mcp-router 是否存在。

@agentpmt/mcp-router 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=18.0.0。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@agentpmt/mcp-router 可以商用吗?

@agentpmt/mcp-router 使用 Proprietary 许可。声明的许可为 Proprietary,请阅读许可原文确认使用条件。以上为概括,不构成法律意见,请以许可原文为准。

@agentpmt/mcp-router 的下载量有多少?

根据 npm 官方下载统计,@agentpmt/mcp-router 在 2026/10/05 – 2026/11/03 这 30 天内被下载 3,627 次,日均约 121 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@agentpmt/mcp-router 还在维护吗?

最新版本 1.1.10 发布于 2026/01/31(9 个月前);至今共发布 17 个版本,其中过去 12 个月发布了 6 个;首次发布于 2025/10/21。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。