GenesisPay

v1.10.0
finance.genesispay/mcp Checked 16 hours ago Published 1 month ago

Let an AI agent find and pay for x402 APIs and products in USDC on Base, within owner-set limits.

Values you need

VariableWhat it is
GENESISPAY_AGENT_KEYrequired secret Agent API key (gp_ag_...), created on the GenesisPay dashboard under the agent account's Keys tab.
GENESISPAY_BASE_URLrequired Base URL of the GenesisPay deployment the agent key belongs to. Default: https://genesispay.finance

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add mcp -e 'GENESISPAY_AGENT_KEY=<GENESISPAY_AGENT_KEY>' -e GENESISPAY_BASE_URL=https://genesispay.finance -- npx -y @genesis-tech/genesispay-mcp@1.10.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp": {
      "args": [
        "-y",
        "@genesis-tech/genesispay-mcp@1.10.0"
      ],
      "command": "npx",
      "env": {
        "GENESISPAY_AGENT_KEY": "<GENESISPAY_AGENT_KEY>",
        "GENESISPAY_BASE_URL": "https://genesispay.finance"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp": {
      "args": [
        "-y",
        "@genesis-tech/genesispay-mcp@1.10.0"
      ],
      "command": "npx",
      "env": {
        "GENESISPAY_AGENT_KEY": "<GENESISPAY_AGENT_KEY>",
        "GENESISPAY_BASE_URL": "https://genesispay.finance"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "GENESISPAY_AGENT_KEY",
      "id": "genesispay-agent-key",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "GENESISPAY_BASE_URL",
      "id": "genesispay-base-url",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "mcp": {
      "args": [
        "-y",
        "@genesis-tech/genesispay-mcp@1.10.0"
      ],
      "command": "npx",
      "env": {
        "GENESISPAY_AGENT_KEY": "${input:genesispay-agent-key}",
        "GENESISPAY_BASE_URL": "${input:genesispay-base-url}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp]
command = "npx"
args = ["-y", "@genesis-tech/genesispay-mcp@1.10.0"]
env = { "GENESISPAY_AGENT_KEY" = "<GENESISPAY_AGENT_KEY>", "GENESISPAY_BASE_URL" = "https://genesispay.finance" }

Remote (hosted)

Run in a terminal
claude mcp add --transport http mcp https://genesispay.finance/mcp
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "mcp": {
      "args": [
        "-y",
        "mcp-remote",
        "https://genesispay.finance/mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp": {
      "url": "https://genesispay.finance/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mcp": {
      "type": "http",
      "url": "https://genesispay.finance/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://genesispay.finance/mcp"]

For AI agents

  1. Ask the user for: GENESISPAY_AGENT_KEY, GENESISPAY_BASE_URL. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. 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).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: genesispay_purchase_key, genesispay_pay, genesispay_discover, genesispay_discover_external, genesispay_describe_external_service, genesispay_describe_service, genesispay_quote, genesispay_shipping_profile, ….
  5. 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