Skip to main content
Glama

安装

托管版——无需安装。 与 Ava Labs 的 build.avax.network/api/mcp 形态相同:一个公共的 Streamable HTTP 端点,无需 API 密钥。

claude mcp add avalanche --transport http https://avalanche-mcp.dev/mcp

客户端

配置

Claude Code

使用上面的命令,或提交 .mcp.json{ "mcpServers": { "avalanche": { "type": "http", "url": "https://avalanche-mcp.dev/mcp" } } }

Cursor / Windsurf

{ "mcpServers": { "avalanche": { "url": "https://avalanche-mcp.dev/mcp" } } }

Claude Desktop

{ "mcpServers": { "avalanche": { "command": "npx", "args": ["-y", "mcp-remote", "https://avalanche-mcp.dev/mcp"] } } }

本地 / 离线

claude mcp add avalanche -- npx -y avalanche-mcp-server — 通过 stdio 在你的机器上运行,无速率限制

任意 HTTP 客户端

curl -X POST https://avalanche-mcp.dev/mcp -H 'content-type: application/json' -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

在 Claude Code 中运行 /mcp 进行验证——你应该会看到 avalanche · 41 个工具

Related MCP server: Somnia MCP Server

它能做什么

用自然语言提问;智能体会选择合适的工具并引用其来源。

› What changes in the Helicon upgrade for my C-Chain indexer?

⏺ avax_upgrade_lookup(query: "Helicon")
⏺ avax_acp_lookup(query: "ACP-194")
⏺ avax_get_doc(content/docs/primary-network/helicon-upgrade.mdx)

Helicon (AvalancheGo v1.15.0-fuji) is live on Fuji since 2026-07-28; mainnet is not
scheduled yet. ACP-194 Continuous Execution decouples consensus from execution, so a
block's state root settles after a τ delay (~5 s) — don't treat "latest" as executed
state. ACP-283 makes the minimum gas price dynamic, so never hardcode a fee floor.

Sources: build.avax.network/docs/primary-network/helicon-upgrade
         build.avax.network/docs/acps/194-continuous-execution

第一天就可以尝试的其他问题:

  • "在 Fuji 上规划一个带五个验证者的许可制企业 L1,然后生成创世文件。"

  • "解释 NativeMinter 预编译,以及如何在启动后通过 upgrade.json 启用它。"

  • "使用 Teleporter 从 Fuji C-Chain 向 Dispatch 发送消息,并配置 relayer。"

  • "哪些 ACP 已激活,ACP-176 对 gas 有什么改变?"

  • "我的 CLI 在访问 RPC 时提示 subnet not tracked。哪里出了问题?"

能力

41 个工具,全部只读。 不会签署或广播任何交易。

领域

工具数

你能获得什么

知识

7

对 build.avax.network 的打包索引进行全文搜索(文档、Academy、234 个集成、博客)、Subnet-EVM 预编译文档、ICM 合约、Avalanche CLI 参考——9.9k 个分块,每条命中都附有来源 URL。提供针对架构、L1 启动、预编译、ICM、gas 和故障排查的精选指南。

协议与升级

4

全部 36 个 ACP,含结构化的状态 / 轨道 / 作者信息;Banff → Helicon 升级时间线,含日期、版本和开发者影响;来自节点的实时 ACP 信号。

工作流

6

量身定制的 L1 启动计划、带正确预编译的有效 genesis.json、带真实地址的 Teleporter 发送方/接收方配方、错误分诊、Builder Console 深链和 platform-cli 命令。

实时 EVM

8

C-Chain、Fuji、已知 L1 或任意 RPC URL:余额、区块、收据、eth_call、gas 估算。

P-Chain · X-Chain · 节点

8

验证者、子网和 L1、质押经济、交易状态、UTXO 余额、节点和网络信息。

Avalanche Data API

5

已索引的链、ERC-20 余额、交易历史、代币元数据、L1 验证者。

托管联邦

3

代理到 Ava Labs 的官方 MCP,用于 build_plan 运行手册、CLI / RPC 查询和始终最新的搜索。

此外还有 MCP 资源avax://docs/{path}avax://guides/{name}avax://networks)和提示词avalanche_launch_l1avalanche_deploy_contractavalanche_icm_bridgeavalanche_learn)。完整工具列表见 avalanche-mcp.dev/#tools 或通过 tools/list 获取。

经过验证,而非猜测

模型经常弄错的事实被固定在代码中并与文档核对:自 Fortuna(ACP-176)以来,C-Chain 的最低基础费用是 1 wei,而非 25 nAVAX;subnet-evmicm-contracts 现在位于 avalanchego/grafticm-services 中;Helicon 自 2026 年 8 月起仅限 Fuji。每个答案都附带其来源的 build.avax.network 或 GitHub URL。

知识来源

索引由 npm run build-index 从官方仓库构建,并随包一起发布,因此首次搜索即可离线工作:

来源

内容

ava-labs/builders-hub

文档、Academy(L1 和区块链轨道)、集成、博客

avalanche-foundation/ACPs

每个 ACP README,解析为结构化元数据

ava-labs/avalanchego

README、docs/RELEASESgraft/subnet-evm 预编译和插件文档

ava-labs/icm-services

Teleporter / ICTT 合约、relayer、签名聚合器

ava-labs/avalanche-cliava-labs/avalanche-starter-kit

命令参考、模板

avax_list_topics 会报告索引构建日期,以便智能体了解其新鲜度;avax_fetch_live_doc 会在必要时获取任何页面的当前版本。文档示例中形似凭据的字符串会在构建时被脱敏。

配置

无需任何配置。可选的环境变量(本地模式):

变量

用途

AVAX_DATA_API_KEY

为 Avalanche Data API 工具提供更高的速率限制。免费密钥见 build.avax.network。(GLACIER_API_KEY 作为旧版别名同样被接受。)

AVAX_DATA_API_URL

覆盖 Data API 基础 URL

AVAX_HOSTED_MCP_URL

覆盖 avax_hosted_* 使用的托管 Avalanche MCP 端点

自托管

在任何支持 Node 的地方运行 HTTP 传输:

npx -y avalanche-mcp-server --http        # POST http://localhost:3333/mcp  (PORT to change)

或将其挂载到任何 Web 标准运行时中——Next.js 路由处理器、Cloudflare Workers、Hono:

import { handleMcpRequest } from "avalanche-mcp-server";
export const POST = (req: Request) => handleMcpRequest(req);

这正是 avalanche-mcp.dev 的提供方式(源码)。响应是无状态的 JSON,且 CORS 开放,因此基于浏览器的客户端也可以使用。

与官方 Avalanche MCP 配合使用

Ava Labs 的托管 MCP 始终提供最新的 Builder Hub 搜索、CLI / RPC 查询和运行手册;本服务器则补充了离线知识、结构化的 ACP 和升级、实时 EVM 工具以及端到端工作流。它们可以组合使用:

claude mcp add avalanche          --transport http https://avalanche-mcp.dev/mcp
claude mcp add avalanche-hosted   --transport http https://build.avax.network/api/mcp
claude mcp add avalanche-chainkit -- npx -y @avalanche-sdk/chainkit mcp-server
claude mcp add avalanche-avacloud -- npx -y @avalabs/avacloud-sdk mcp-server --apikey $AVACLOUD_API_KEY

avax_hosted_call 已经在本服务器内部代理了托管服务器,因此单次注册即可覆盖大多数场景。

开发

git clone https://github.com/Eelvanpsd/Avalanche-mcp.git && cd Avalanche-mcp
npm install && npm run build       # the index ships in the repo
npm run dev                        # stdio server via tsx
npm run inspect                    # MCP Inspector UI
npx tsx scripts/smoke.ts           # end-to-end tool check over stdio
REFRESH=1 npm run build-index      # re-download sources and rebuild the index

扩展它只需各改一个文件:精选指南在 src/knowledge/guides.ts,网络注册表在 src/config/networks.ts,升级时间线在 src/knowledge/upgrades.ts,新来源在 scripts/build-index.ts

许可证

MIT。Avalanche MCP 是一个独立的社区构建项目,与 Ava Labs 或 Avalanche Foundation 无关联,也未获得其背书。Avalanche 及 Avalanche 标志是其各自所有者的商标。

Install Server
A
license - permissive license
A
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to interact with the Somnia blockchain network, including documentation search, blockchain queries, wallet management, cryptographic signing, and on-chain operations.
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to perform blockchain operations like wallet management, token info, DeFi swaps, cross-chain bridging, and price checking across Ethereum, BNB Chain, and Solana.
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to perform complex crypto operations like cross-chain routing, contract decoding, portfolio management, and anti-rug security checks, returning unsigned transactions for safe signing by the agent.
    MIT

View all related MCP servers

Related MCP Connectors

  • Build, validate, and deploy multi-agent AI solutions from any AI environment.

  • Pay-per-use weather, environment, finance, and on-chain intelligence tools for AI agents via x402.

  • 63 pay-per-call tools for agents: vision, text, data, web, blockchain. USDC on Base via x402.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Eelvanpsd/Avalanche-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server