Skip to content
MCP server

8004swap MCP

MCP server exposing 8004Swap (no-KYC agent-to-agent RFQ swap) as tools any MCP agent can…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.1.0
Listing updated
4 days ago

About 8004swap MCP

8004swap MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.

MCP server exposing 8004Swap (no-KYC agent-to-agent RFQ swap) as tools any MCP agent can call.

Install

Run in a terminal

claude mcp add 8004swap-mcp --env AGENT_PRIVATE_KEY='<AGENT_PRIVATE_KEY>' -- npx -y @stakemate/8004swap-mcp-server

Add to claude_desktop_config.json

{
  "mcpServers": {
    "8004swap-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@stakemate/8004swap-mcp-server"
      ],
      "env": {
        "AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "8004swap-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@stakemate/8004swap-mcp-server"
      ],
      "env": {
        "AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "8004swap-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@stakemate/8004swap-mcp-server"
      ],
      "env": {
        "AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "8004swap-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@stakemate/8004swap-mcp-server"
      ],
      "env": {
        "AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "8004swap-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@stakemate/8004swap-mcp-server"
      ],
      "env": {
        "AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>"
      }
    }
  }
}

Configuration

  • AGENT_PRIVATE_KEYDedicated wallet private key for this agent (testnet). Required only for tools that sign: request_quote, fill_quote, register_agent. check_agent_status works without it. Never reuse a key that holds funds outside this testnet.
  • RELAY_URL8004Swap Relay WebSocket URL. Defaults to the current Base Sepolia testnet deployment if omitted.
  • RPC_URLBase Sepolia RPC URL. Defaults to https://sepolia.base.org if omitted.

Pricing

Open source

8004swap MCP FAQ

Is 8004swap MCP free?

Yes. 8004swap MCP is open source, so you can use and self-host it for free.

How do I add 8004swap MCP to Claude Code?

Run this command in your terminal: claude mcp add 8004swap-mcp --env AGENT_PRIVATE_KEY='<AGENT_PRIVATE_KEY>' -- npx -y @stakemate/8004swap-mcp-server