Skip to content

mcp

Axon MCP server — local non-custodial trading terminal for AI agents. ~35 typed Model Context Protocol tools for Hyperliquid perps, Uniswap V3 spot, Aave V3 lending, GMX v2 perps across Arbitrum, Base, Avalanche, Polygon, Optimism. Drop-in for Claude Code

4,208
Weekly Downloads
build.protocol_tooling.mcp#crypto-trading#defi#decentralized-exchange#perp-trading#perpetuals#perps#hyperliquid#automated-trading#ai-trading#ai-trading-agent

Install mcp in your MCP client

mcp is a Model Context Protocol server. Add it to your MCP client config once, restart, and the server's tools become available to your AI assistant. The same JSON snippet below works across all four major clients — only the config file path differs.

  1. Locate your client's MCP config file.
    • Cursor: ~/.cursor/mcp.json
    • Claude Desktop (macOS): ~/Library/Application Support/Claude/claude_desktop_config.json
    • Claude Desktop (Windows): %APPDATA%\Claude\claude_desktop_config.json
    • VS Code: Settings → Extensions → MCP
    • Windsurf: Settings → MCP Servers
  2. Add mcp to the mcpServers map — paste the snippet below into your config file. If you already have other MCP servers, merge the entry into the existing mcpServers object.
  3. Restart your client so it picks up the new server.
  4. Verify — ask the assistant to list available tools; mcp's tools should appear.
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@axon-trading/mcp"
      ]
    }
  }
}

Install mcp in Cursor

Open ~/.cursor/mcp.json in your editor, paste the snippet above into mcpServers, save, and restart Cursor. mcp will show up in the assistant's tool list on next launch.

Install mcp in Claude Desktop (macOS)

Open ~/Library/Application Support/Claude/claude_desktop_config.json in your editor, paste the snippet above into mcpServers, save, and restart Claude Desktop (macOS). mcp will show up in the assistant's tool list on next launch.

Install mcp in Claude Desktop (Windows)

Open %APPDATA%\Claude\claude_desktop_config.json in your editor, paste the snippet above into mcpServers, save, and restart Claude Desktop (Windows). mcp will show up in the assistant's tool list on next launch.

Install mcp in VS Code

Open Settings → Extensions → MCP in your editor, paste the snippet above into mcpServers, save, and restart VS Code. mcp will show up in the assistant's tool list on next launch.

npm package: @axon-trading/mcp

Transport

mcp supports the following MCP transports. Most AI clients use stdio by default for locally-installed servers.

stdio

From the mcp README

# @axon-trading/mcp 🤖 **MCP server for the Axon trading daemon — the trading terminal for AI agents.** Drop-in for **Claude Code, Claude Desktop, Cursor, Codex, Cline, Continue, Zed, Windsurf, OpenClaw**. Exposes ~35 typed Model Context Protocol tools — `open_perp`, `close_perp`, `get_positions`, `kill_switch_on`, `hl_deposit`, `marketplace_search`, `marketplace_vote`, and more — so any MCP-compatible runtime can drive a real Hyperliquid wallet through chat. **The user's keys never leave their local machine.** Every order signed locally; non-custodial by construction. > **Drop-in:** `axon install <runtime>` writes the right config for your agent runtime in one command. No JSON wrangling. No manual paste. The MCP server auto-spawns when your runtime starts. ## ✨ Recent releases - **1.1

Other Model Context Protocol servers in the same space as mcp. Each one adds different capabilities to your AI assistant — pick based on the data sources or workflows you need.

Browse the full MCP server directory or use Stork's one-line install to let your agent pick the right server automatically.