swap-mcp

v0.1.1
io.github.ShieldZCash/swap-mcp Checked 5 days ago Published 15 days ago

Non-custodial cross-chain swaps for AI agents: live route quotes and deposit swaps on 40+ chains.

npm (npx) discovery passed

Requires Node.js 18+

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

Remote (hosted)

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