payanagent

v0.4.1
io.github.derNif/payanagent Checked 2 days ago Published 4 months ago

Buy any of 24,000+ live x402 services with USDC on Base — the open marketplace for the agent economy

Values you need

VariableWhat it is
PAYANAGENT_WALLET_PRIVATE_KEYoptional secret Base wallet private key holding USDC. Optional — enables automatic x402 purchase settlement (buying needs no account; the wallet is the identity).
PAYANAGENT_API_KEYoptional secret PayanAgent API key. Optional — only needed to sell (create offers) or post/fulfill requests. Register at https://payanagent.com.
PAYANAGENT_BASE_URLoptional 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-mcp
Add 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

  1. 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).
  2. Restart or reload the client so it starts the server.
  3. 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, ….
  4. 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