What is MCP?
The Model Context Protocol is an open standard that connects AI assistants to external tools. With AKKA’s MCP server, an AI agent can:- Get the best swap quote across 25+ DEXes
- Compare prices across individual liquidity pools
- Build unsigned swap and approval transactions
- Look up token details and supported chains
Prerequisites
An AKKA API key is required. Get your API key here.Install
- Claude Desktop
- Claude Code
- Cursor
- VS Code
Add to your
claude_desktop_config.json:Available tools
Once connected, your AI agent has access to these tools:Example conversations
Once the MCP server is connected, you can ask your AI agent things like:Get a swap quote
Get a swap quote
You: “What’s the best rate for swapping 1 ETH to USDC on Arbitrum?”The agent calls
akka_get_quote with the correct chain ID, token addresses, and amount in wei, then shows you the expected output.Compare DEX prices
Compare DEX prices
You: “Compare prices for 1000 USDC to WETH across all DEXes on Base”The agent calls
akka_dex_compare and presents a table showing which DEX offers the best rate.Build a swap transaction
Build a swap transaction
You: “Build a swap transaction for 0.5 HYPE to USDC on HyperEVM for wallet 0xabc…”The agent calls
akka_get_quote first, confirms the rate with you, then calls akka_get_swap to return the unsigned transaction data you can sign and broadcast.Configuration
The MCP server can be configured via environment variables:HTTP transport
For remote or web-based agents, run the server with HTTP transport:http://localhost:3100/mcp.
