MCP.so
登录

Web3 MCP Server

@tumf

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

tumf

关于 Web3 MCP Server

暂无概览

Web3 MCP Server 配置

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

{
  "mcpServers": {
    "web3-mcp": {
      "command": "uv",
      "args": [
        "pip",
        "install",
        "-e",
        "."
      ]
    }
  }
}

Web3 MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Web3 MCP?

Web3 MCP is a Model Context Protocol server implementation that wraps Ankr’s Advanced API, enabling LLMs to interact with blockchain data. It supports multiple networks including Ethereum, BSC, Polygon, and Avalanche, and is intended for developers building AI-powered blockchain applications.

How to use Web3 MCP?

Install with uv pip install -e . from the cloned repository, then set the ANKR_ENDPOINT environment variable to your Ankr RPC endpoint. Optionally set ANKR_PRIVATE_KEY for authenticated requests. Run the server via python -m web3_mcp or use the provided init_server function in Python.

Key features of Web3 MCP

  • Complete wrapper for all Ankr Advanced API endpoints
  • NFT API: metadata, holders, transfers, and ownership
  • Query API: blockchain stats, blocks, logs, and transactions
  • Token API: balances, prices, holders, and transfer history
  • Support for multiple blockchain networks

Use cases of Web3 MCP

  • Retrieve NFT metadata and ownership for a wallet address
  • Query token balances and prices across supported chains
  • Fetch transaction history and logs for addresses or contracts
  • Access blockchain statistics and block information programmatically
  • Build LLM-driven agents that interact with on-chain data

常见问题

1

What does Web3 MCP do?

It wraps Ankr’s Advanced API to give an MCP server access to blockchain data for NFTs, tokens, queries, and logs across multiple chains.

2

How do I install Web3 MCP?

Clone the repository, then run `uv pip install -e .` in the project directory.

3

What environment variables are required?

`ANKR_ENDPOINT` must be set to your Ankr RPC endpoint. `ANKR_PRIVATE_KEY` is recommended but optional for authenticated requests.

4

Which blockchains are supported?

The server supports Ethereum, BSC, Polygon, Avalanche, and other chains accessible via the Ankr Advanced API.

5

How do I run the server?

Set the environment variables and execute `python -m web3_mcp` from the command line, or call `init_server()` programmatically and then `mcp.run()`.

评论

其他 分类下的更多 MCP 服务器