x402fix

v0.1.0
co.youraitools/x402fix Checked 2 days ago Published 1 month ago

x402 endpoint doctor: grades a paid route A-F unpaid, with paste-ready fixes.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add x402fix -- npx -y @agentgate-builder/x402fix@0.1.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "x402fix": {
      "args": [
        "-y",
        "@agentgate-builder/x402fix@0.1.0"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "x402fix": {
      "args": [
        "-y",
        "@agentgate-builder/x402fix@0.1.0"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "x402fix": {
      "args": [
        "-y",
        "@agentgate-builder/x402fix@0.1.0"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.x402fix]
command = "npx"
args = ["-y", "@agentgate-builder/x402fix@0.1.0"]

Remote (hosted)

Run in a terminal
claude mcp add --transport http x402fix https://api.youraitools.co/x402fix/mcp
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "x402fix": {
      "args": [
        "-y",
        "mcp-remote",
        "https://api.youraitools.co/x402fix/mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "x402fix": {
      "url": "https://api.youraitools.co/x402fix/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "x402fix": {
      "type": "http",
      "url": "https://api.youraitools.co/x402fix/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.x402fix]
command = "npx"
args = ["-y", "mcp-remote", "https://api.youraitools.co/x402fix/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: check_x402_endpoint.
  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