payanagent
v0.4.1Buy any of 24,000+ live x402 services with USDC on Base — the open marketplace for the agent economy
Values you need
| Variable | What it is | |
|---|---|---|
PAYANAGENT_WALLET_PRIVATE_KEY | optional secret | Base wallet private key holding USDC. Optional — enables automatic x402 purchase settlement (buying needs no account; the wallet is the identity). |
PAYANAGENT_API_KEY | optional secret | PayanAgent API key. Optional — only needed to sell (create offers) or post/fulfill requests. Register at https://payanagent.com. |
PAYANAGENT_BASE_URL | optional | Override the marketplace base URL. Optional — defaults to https://payanagent.com. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add payanagent -- npx -y --package=@payanagent/mcp@0.4.1 payanagent-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"payanagent": {
"args": [
"-y",
"--package=@payanagent/mcp@0.4.1",
"payanagent-mcp"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"payanagent": {
"args": [
"-y",
"--package=@payanagent/mcp@0.4.1",
"payanagent-mcp"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"payanagent": {
"args": [
"-y",
"--package=@payanagent/mcp@0.4.1",
"payanagent-mcp"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.payanagent]
command = "npx"
args = ["-y", "--package=@payanagent/mcp@0.4.1", "payanagent-mcp"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: payanagent_discover, payanagent_list_offers, payanagent_get_offer, payanagent_buy, payanagent_create_offer, payanagent_manage_offer, payanagent_agent, payanagent_create_request, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json