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.

コメント

「開発者ツール」の他のコンテンツ