avalanche — Claude Code MCP server: what it does, how to install
This MCP server lets an AI agent scaffold Avalanche dapps, deploy contracts, mint assets, and inspect chain state.
claude mcp add avalanche -- npx -y @avakit/mcpWhat avalanche does
avalanche connects an AI coding agent to Avalanche actions. It can create a dapp scaffold, deploy a contract, run a mint flow, and read blockchain data. The server is part of AvaKit and starts through npx.
Use it with Claude Code, Codex, Cursor, GitHub Copilot, or Gemini CLI. An agent can create the nft-mint template, deploy it to Fuji, and inspect the resulting chain state. Node ≥ 20.11 is required to run the toolkit, so check that before adding the MCP server.
AvaKit also ships templates for ERC-20 apps, token-gated content, Avalanche L1 launches, and cross-chain messaging. This MCP server handles agent access to Avalanche; it does not provide the application interface.
What it helps with
- scaffold an Avalanche dapp
- deploy a contract from an agent
- mint an NFT on Fuji
- read wallet and chain state
- connect Avalanche to Claude Code
Example prompts for the agent
- Create an Avalanche dapp from the
nft-minttemplate and deploy it to Fuji. - Read the wallet balance and current Avalanche chain state.
- Mint an NFT from the deployed contract and report the transaction result.
How to install avalanche
Platform CLI
claude mcp add avalanche -- npx -y @avakit/mcpPlatform CLI
codex mcp add avalanche -- npx -y @avakit/mcpConfig file
{
"mcpServers": {
"avalanche": {
"command": "npx",
"args": [
"-y",
"@avakit/mcp"
]
}
}
}Config file
{
"servers": {
"avalanche": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@avakit/mcp"
]
}
}
}Platform CLI
gemini mcp add avalanche npx -y @avakit/mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about avalanche
How do I install avalanche in Claude Code?
Run claude mcp add avalanche -- npx -y @avakit/mcp.
What does avalanche do?
It lets an agent scaffold Avalanche dapps, deploy contracts, mint assets, and read chain state through MCP.
What does avalanche require to run?
The toolkit requires Node ≥ 20.11. The server can be connected to Claude Code, Codex, Cursor, GitHub Copilot, or Gemini CLI.