Cover image
Try Now
2025-03-04

Advanced API MCP Server

3 years

Works with Finder

3

Github Watches

1

Github Forks

2

Github Stars

Ankr Advanced API MCP Server ⚡

This is a Model Context Protocol (MCP) server that provides tools for interacting with Ankr's Advanced APIs. It enables AI models to fetch blockchain data and perform various operations.

Tools

  • getAccountBalance: Fetch token balances across multiple blockchains for any address or ENS name
    • Arguments:
      • address: Ethereum address (0x...) or ENS name (*.eth)
      • blockchains (optional): Array of specific blockchains to query. If not provided, checks all supported chains
  • getTokenPrice: Get current price for any token (native or ERC20) on supported blockchains
    • Arguments:
      • blockchain: The blockchain network (eth, bsc, polygon, etc.)
      • contractAddress (optional): The token's contract address. Leave empty for native coin

Supported Blockchains

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

Setup

Prerequisites

  1. Ankr API Key

Configuring Cursor 🖥️

  1. Open Cursor Settings
  2. Navigate to Features > MCP Servers
  3. Click on the "+ Add New MCP Server" button
  4. Fill out the following information:
    • Name: Enter a nickname for the server (e.g., "Ankr AAPI MCP")
    • Type: Select "command" as the type
    • Command: env ANKR_API_KEY=<YOUR_KEY> npx -y @asphere/aapi-mcp-server

Add Ankr AAPI MCP to Cursor

Use with Claude Desktop

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

Local development

Install dependencies

pnpm i

Run local SSE server

export ANKR_API_KEY="YOUR-ANKR-KEY"
pnpm dev:sse

Remote server

In the remote mode service creates an isolated MCP Server instance for each connection, enabling secure and isolated access over the internet. Each connection requires an apiKey in the URL path for authentication with Ankr Advanced API.

Asphere Managed AAPI MCP Remote server

The managed version is available on https://aapi-mcp-server.asphere.network/

https://aapi-mcp-server.asphere.network/{ANKR-API-KEY}/sse

Local Development

# Start the remote server
pnpm dev:remote

# Connect using localhost
http://localhost:3001/{apiKey}/sse

Deployment

When deployed, MCP clients can connect using:

type: sse
url: https://your-remote-url.com/{apiKey}/sse

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Khalid kalib
  • Write professional emails

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Lists Tailwind CSS classes in monospaced font

  • apappascs
  • Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.

  • ShrimpingIt
  • Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx

  • OffchainLabs
  • Go implementation of Ethereum proof of stake

  • huahuayu
  • A unified API gateway for integrating multiple etherscan-like blockchain explorer APIs with Model Context Protocol (MCP) support for AI assistants.

  • deemkeen
  • control your mbot2 with a power combo: mqtt+mcp+llm

    Reviews

    1 (1)
    Avatar
    user_kOvyvLCR
    2025-04-15

    I've been using the Awesome-MCP-Server ???? by terrytaylorbonn and it's been a game-changer! The server is incredibly reliable, fast, and easy to set up. The documentation is thorough and the support is excellent. For anyone looking to enhance their MCP experience, this is the server to go for. Highly recommended!