MCP.so
登录

Ankr Advanced API MCP Server ⚡

@Asphere-xyz

关于 Ankr Advanced API MCP Server ⚡

Advanced API MCP Server

基本信息

分类

开发工具

许可证

MIT

运行时

node

传输方式

stdio

发布者

Asphere-xyz

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "aapi": {
      "command": "npx",
      "args": [
        "-y",
        "@asphere/aapi-mcp-server"
      ],
      "env": {
        "ANKR_API_KEY": "<YOUR_KEY>"
      }
    }
  }
}

工具

2

Fetch token balances across multiple blockchains for any address or ENS name

Get current price for any token (native or ERC20) on supported blockchains

概览

What is Ankr Advanced API MCP Server?

This is a Model Context Protocol (MCP) server that provides tools for AI models to interact with Ankr's Advanced APIs, enabling blockchain data fetching and operations like checking account balances and token prices.

How to use Ankr Advanced API MCP Server?

Set the environment variable ANKR_API_KEY (get a free key from ankr.com/rpc) and run the server via npx -y @asphere/aapi-mcp-server. Configure it in Cursor under Features > MCP Servers (command type) or add it to Claude Desktop’s MCP server configuration JSON.

Key features of Ankr Advanced API MCP Server

  • getAccountBalance – fetch token balances across multiple blockchains for any address or ENS name
  • getTokenPrice – get current price for native or ERC20 tokens on supported blockchains
  • Supports mainnets (Ethereum, BSC, Polygon, Arbitrum, Avalanche, Base, Fantom, Gnosis, Linea, Optimism, and more) and testnets (Sepolia, Holesky, Base Sepolia, Avalanche Fuji, etc.)
  • Runs locally via SSE or as a remote server with per‑connection isolation
  • Can be deployed and accessed via a URL with an API key for authentication

Use cases of Ankr Advanced API MCP Server

  • AI assistant queries token balances for a given wallet address across all supported chains
  • AI agent fetches real‑time token prices for portfolio analysis or trading decisions
  • Developers integrate blockchain data retrieval into conversational AI or automation tools
  • Testnet balance checks for smart contract development and debugging

FAQ from Ankr Advanced API MCP Server

What do I need to get started?

You need an Ankr API key. Create a free account at ankr.com/rpc and generate a key.

How do I configure the server in Cursor?

Open Cursor Settings → Features → MCP Servers, click “+ Add New MCP Server”, set type to “command”, and enter: env ANKR_API_KEY=<YOUR_KEY> npx -y @asphere/aapi-mcp-server.

What blockchains are supported?

Mainnets include Ethereum, BSC, Polygon, Arbitrum, Avalanche, Base, Fantom, Gnosis, Linea, Optimism, and more. Testnets include Ethereum Sepolia, Ethereum Holesky, Base Sepolia, Avalanche Fuji, and others.

Can I run the server remotely?

Yes. In remote mode the server creates an isolated instance per connection and uses an API key in the URL path for authentication. A managed version is available at https://aapi-mcp-server.asphere.network/{ANKR-API-KEY}/sse.

Where does my data stay?

The server connects to Ankr’s Advanced APIs over the internet; no blockchain data is stored locally. In remote mode, each connection is isolated.

评论

开发工具 分类下的更多 MCP 服务器