{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.Arbromagency-Sato/phantom-mcp-server",
  "slug": "io.github.arbromagency-sato.phantom-mcp-server",
  "title": "PHANTOM ID — agent payments (USDC on Base)",
  "summary": "PHANTOM ID MCP payment server: agent-to-agent USDC payments on Base.",
  "version": "0.3.2",
  "serverKey": "phantom-mcp-server",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.arbromagency-sato.phantom-mcp-server",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.arbromagency-sato.phantom-mcp-server/install.md",
  "trust": {
    "score": 90,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T17:58:05.425950909Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "--package=@phantomid/mcp-server@0.3.2",
        "phantom-mcp-server"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add phantom-mcp-server -e 'PHANTOM_API_KEY=<PHANTOM_API_KEY>' -- npx -y --package=@phantomid/mcp-server@0.3.2 phantom-mcp-server"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"phantom-mcp-server\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@phantomid/mcp-server@0.3.2\",\n        \"phantom-mcp-server\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"PHANTOM_API_KEY\": \"<PHANTOM_API_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"phantom-mcp-server\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@phantomid/mcp-server@0.3.2\",\n        \"phantom-mcp-server\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"PHANTOM_API_KEY\": \"<PHANTOM_API_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"PHANTOM_API_KEY\",\n      \"id\": \"phantom-api-key\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"phantom-mcp-server\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@phantomid/mcp-server@0.3.2\",\n        \"phantom-mcp-server\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"PHANTOM_API_KEY\": \"${input:phantom-api-key}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.phantom-mcp-server]\ncommand = \"npx\"\nargs = [\"-y\", \"--package=@phantomid/mcp-server@0.3.2\", \"phantom-mcp-server\"]\nenv = { \"PHANTOM_API_KEY\" = \"<PHANTOM_API_KEY>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    },
    {
      "id": "remote",
      "label": "Remote (hosted)",
      "transport": "streamable-http",
      "url": "https://pay.idphantom.com/mcp",
      "headers": [
        {
          "name": "Authorization",
          "description": "PHANTOM API key of the agent account",
          "value": "Bearer {PHANTOM_API_KEY}"
        }
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add --transport http phantom-mcp-server https://pay.idphantom.com/mcp --header 'Authorization: <Authorization>'"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)",
          "content": "{\n  \"mcpServers\": {\n    \"phantom-mcp-server\": {\n      \"args\": [\n        \"-y\",\n        \"mcp-remote\",\n        \"https://pay.idphantom.com/mcp\",\n        \"--header\",\n        \"Authorization: <Authorization>\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"phantom-mcp-server\": {\n      \"headers\": {\n        \"Authorization\": \"<Authorization>\"\n      },\n      \"url\": \"https://pay.idphantom.com/mcp\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"phantom-mcp-server\": {\n      \"headers\": {\n        \"Authorization\": \"<Authorization>\"\n      },\n      \"type\": \"http\",\n      \"url\": \"https://pay.idphantom.com/mcp\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.phantom-mcp-server]\ncommand = \"npx\"\nargs = [\"-y\", \"mcp-remote\", \"https://pay.idphantom.com/mcp\", \"--header\", \"Authorization: <Authorization>\"]"
        }
      ]
    }
  ],
  "env": [
    {
      "name": "PHANTOM_API_URL",
      "required": false,
      "secret": false,
      "description": "PHANTOM API base URL (default https://pay.idphantom.com)",
      "help": "PHANTOM API base URL (default https://pay.idphantom.com)",
      "placeholder": "<PHANTOM_API_URL>"
    },
    {
      "name": "PHANTOM_API_KEY",
      "required": true,
      "secret": true,
      "description": "PHANTOM API key for the agent account (create via POST /v1/register or /admin/accounts)",
      "help": "PHANTOM API key for the agent account (create via POST /v1/register or /admin/accounts)",
      "placeholder": "<PHANTOM_API_KEY>"
    }
  ],
  "expectedTools": [
    "phantom_register",
    "phantom_authorize_budget",
    "phantom_bind_identity",
    "quote_payment",
    "authorize_payment",
    "submit_payment",
    "verify_payment"
  ],
  "agentSteps": [
    "Ask the user for: PHANTOM_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "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: phantom_register, phantom_authorize_budget, phantom_bind_identity, quote_payment, authorize_payment, submit_payment, verify_payment.",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T17:58:05.425950909Z"
}
