MCP: AI Agent Integration
Features
Getting Started
Requirements
1. Clone the repo and build
2. Connect to your MCP client
Claude Desktop

Claude Code (CLI)

Available Tools
Tool
Description
Typical Swap Workflow
Export Your Private Key
Last updated
# Download the repository
git clone https://github.com/0xsquid/squid-mcp.git
cd squid-mcp
# Install dependencies
yarn install
# Compile the source
yarn build{
"mcpServers": {
"squid-mcp": {
"command": "node",
"args": ["/absolute/path/to/squid-mcp/dist/index.js"]
}
}
}{
"mcpServers": {
"squid-mcp": {
"command": "/Users/your-user/.local/share/fnm/node-versions/v22.0.0/installation/bin/node",
"args": ["/absolute/path/to/squid-mcp/dist/index.js"]
}
}
}ls ~/.local/share/fnm/node-versions/claude mcp add squid-mcp node /absolute/path/to/squid-mcp/dist/index.jsAdded stdio MCP server squid-mcp with command: node /Users/your-user/squid-mcp/dist/index.js to local config
File modified: /Users/your-user/.claude.json1. setup_wallet → create the agent wallet (first time only)
2. get_agent_address → confirm the wallet address and fund it
3. get_balances → check available funds
4. get_tokens → look up token addresses if needed
5. get_route → review quote (amounts, fees, slippage, ETA)
6. execute_swap → submit (only after you approve the route)
7. get_status → poll until "success" or "error"yarn build && yarn export-key