mcpField
A
Akka Finance Mcp Server

Akka Finance Mcp Server

Local
github.com/Akka-FinanceFinance0Updated 21w ago

About Akka Finance Mcp Server

An MCP server for the AKKA Finance DEX aggregator, for agents handling token swaps across EVM chains. It provides quotes and transaction data; swap and approval transactions are unsigned and must be signed and broadcast separately.

Key features

  1. 01Get swap quotes across DEXes
  2. 02Compare quotes from DEX pools
  3. 03Build unsigned swap and approval transactions
  4. 04Check tokens, chains, and allowances

Use cases

  1. 01Compare token swap quotes
  2. 02Prepare swap transactions for signing
  3. 03Check token spending allowances
  4. 04Inspect supported tokens and chains

MCP support

The server exposes AKKA Finance quote, token, and transaction-building tools to MCP clients. It returns unsigned transaction data and does not hold private keys or execute transactions.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"akka": {
"command": "npx",
"args": [
"-y",
"@akka-finance/mcp-server"
],
"env": {
"AKKA_API_BASE": "<AKKA_API_BASE>",
"AKKA_API_KEY": "<AKKA_API_KEY>"
}
}
}
}
Run commandnpx -y @akka-finance/mcp-server
Environment variables to set
AKKA_API_BASEBase URL of the AKKA Finance API
AKKA_API_KEYSecretAPI key for AKKA Finance API

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@akka-finance/mcp-server1.0.2

Tools

9

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
dststringYesDestination token address
srcstringYesSource token address (use 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee for native token)
amountstringYesAmount in wei (smallest unit of the source token)
chainIdintegerYesChain ID (999=HyperEVM, 1=Ethereum, 8453=Base, 42161=Arbitrum, 56=BNB Chain)
includeGasbooleanNoInclude estimated gas cost
includeTokensInfobooleanNoInclude token symbol/name/decimals in response

Details

From the project README

@akka-finance/mcp-server

MCP server for the AKKA Finance DEX aggregator — swap quotes, routes, and execution across EVM chains.

npm version License: MIT

Prerequisites

An AKKA API key is required. Get one at docs.akka.finance/authentication.

Install

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "akka-dex": {
      "command": "npx",
      "args": ["-y", "@akka-finance/mcp-server"],
      "env": {
        "AKKA_API_KEY": "your-api-key"
      }
    }
  }
}
Claude Code
claude mcp add akka-dex -e AKKA_API_KEY=your-api-key -- npx -y @akka-finance/mcp-server
Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "akka-dex": {
      "command": "npx",
      "args": ["-y", "@akka-finance/mcp-server"],
      "env": {
        "AKKA_API_KEY": "your-api-key"
      }
    }
  }
}
VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "akka-dex": {
      "command": "npx",
      "args": ["-y", "@akka-finance/mcp-server"],
      "env": {
        "AKKA_API_KEY": "your-api-key"
      }
    }
  }
}

Tools

ToolDescription
akka_get_quoteGet the best swap quote across 25+ DEXes
akka_get_swapBuild an unsigned swap transaction
akka_dex_compareCompare quotes across individual DEX pools
akka_get_spenderGet the router contract address for token approval
akka_get_approve_txBuild an ERC-20 approve transaction
akka_check_allowanceCheck current token spending allowance
akka_list_tokensList tradeable tokens on a chain
akka_get_tokenGet token details by address
akka_list_chainsList all supported chains

Supported Chains

Chain IDNetworkNative Token
999HyperEVM (Hyperliquid)HYPE
1EthereumETH
8453BaseETH
42161ArbitrumETH
56BNB ChainBNB

Configuration

Configuration via environment variables or CLI arguments:

Env VariableCLI ArgDefaultDescription
AKKA_API_BASE--api-basehttps://api.akka.financeAKKA API base URL
AKKA_API_KEY--api-keyrequiredAPI key for AKKA Finance API
AKKA_MCP_TRANSPORT--transportstdioTransport: stdio or http
AKKA_MCP_PORT--port3100Port for HTTP transport
AKKA_TIMEOUT--timeout15000Request timeout in ms
HTTP Transport

For remote/web-based agents:

npx @akka-finance/mcp-server --transport=http --port=3100

Exposes a Streamable HTTP endpoint at http://localhost:3100/mcp.

Base MCP Skill Plugin

A Base MCP skill plugin for token swaps on Base is included at skills/akka-swap.md. Drop it into your Base MCP skills directory to enable AKKA-powered swaps through Base's smart wallet flow.

Development

git clone https://github.com/Akka-Finance/akka-mcp-server.git
cd akka-mcp-server
npm install
npm run dev        # Run with tsx (hot reload)
npm run build      # Compile TypeScript
npm start          # Run compiled output
Testing with MCP Inspector
npx @modelcontextprotocol/inspector node dist/index.js

How It Works

This MCP server is a thin client that calls the AKKA Finance REST API. It does not hold private keys or execute transactions. All swap/approve tools return unsigned transaction data that the user must sign and broadcast separately.

AI Agent (Claude, Cursor, etc.)
  ↕ MCP Protocol (stdio or HTTP)
AKKA MCP Server (this package)
  ↕ HTTP REST
AKKA Finance API
  ↕ On-chain
25+ DEXes across 7 EVM chains

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.