agentpay MCP
A rail-neutral, self-hosted gateway that enforces budgets and spend policies for AI agents paying x402 APIs. It holds the wallet, not the agent, providing unified USD budgets, per-transaction caps, payee blocklists, and a full audit trail across multiple payment rails like x402, Alipay, and WeChat.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Enforce per-transaction caps and payee blocklists
- Manage unified USD budgets across multiple rails
- Provide a full audit trail for agent spending
- Route paid calls through a proxy with human-in-the-loop approvals
Source and maintenance
- Last repository push
- Latest release
- v0.9.0
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
agentpay-gateway 0.9.0
{
"version": "0.9.0",
"transport": "stdio",
"identifier": "agentpay-gateway",
"registryType": "npm",
"environmentVariables": [
{
"name": "AGENTPAY_URL",
"default": "http://127.0.0.1:4020",
"description": "agentpay gateway URL"
},
{
"name": "AGENTPAY_API_KEY",
"description": "Agent key from POST /admin/keys"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · repository · passed · metadata changed · updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"agentpay-mcp-agentpay-gateway": {
"command": "npx",
"args": [
"-y",
"agentpay-gateway@0.9.0"
],
"env": {
"AGENTPAY_URL": "<YOUR_AGENTPAY_URL>",
"AGENTPAY_API_KEY": "<YOUR_AGENTPAY_API_KEY>"
}
}
}
}Cline
{
"mcpServers": {
"agentpay-mcp-agentpay-gateway": {
"command": "npx",
"args": [
"-y",
"agentpay-gateway@0.9.0"
],
"env": {
"AGENTPAY_URL": "<YOUR_AGENTPAY_URL>",
"AGENTPAY_API_KEY": "<YOUR_AGENTPAY_API_KEY>"
}
}
}
}VS Code
{
"servers": {
"agentpay-mcp-agentpay-gateway": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"agentpay-gateway@0.9.0"
],
"env": {
"AGENTPAY_URL": "<YOUR_AGENTPAY_URL>",
"AGENTPAY_API_KEY": "<YOUR_AGENTPAY_API_KEY>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"agentpay-mcp-agentpay-gateway": {
"command": "npx",
"args": [
"-y",
"agentpay-gateway@0.9.0"
],
"env": {
"AGENTPAY_URL": "<YOUR_AGENTPAY_URL>",
"AGENTPAY_API_KEY": "<YOUR_AGENTPAY_API_KEY>"
}
}
}
}Let your agent find its tools
Find servers like agentpay MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.