Kaia MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Kaia MCP ServerWhat's the KAIA balance of 0x742d35Cc6634C0532925a3b844Bc4a1B1c542D5?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Kaia MCP Server
Production-ready Model Context Protocol (MCP) server for the Kaia blockchain. Exposes 26 tools, 5 resources, and 6 prompts for balance, transactions, blocks, tokens, NFTs, contracts, network info, and wallet utilities.
Installation
npm install -g kaia-mcp
# or
npx kaia-mcpRelated MCP server: KaiaFun MCP
Quick start
stdio (default) — run and connect via stdin/stdout (e.g. Claude Desktop, Cursor):
npx kaia-mcp
# or
npx kaia-mcp --transport stdioHTTP — run Streamable HTTP transport on a port:
npx kaia-mcp --transport http --port 3100Tools (26)
Tool | Description |
| Get KAIA balance for an address |
| Get account summary: balance, tx count, nonce |
| List ERC-20 token holdings for an address |
| List NFT holdings for an address |
| Get transaction by hash |
| Get transaction receipt and status |
| List recent transactions for an address |
| Estimate gas for a transaction |
| Current block number |
| Get block by number or tag |
| Block rewards for a block |
| Token metadata (name, symbol, supply) |
| Top token holders |
| Token transfer history |
| ERC-20/KIP-7 allowance (owner/spender) for DeFi |
| NFT collection info |
| Single NFT item (owner, metadata) |
| NFT transfer history |
| Read contract view/pure function |
| Verified contract ABI from KaiaScan |
| Verified contract source from KaiaScan |
| Current gas price |
| KAIA price (USD, BTC, stats) from KaiaScan |
| Chain id and name (mainnet/kairos) |
| Generate a new wallet keypair (address + private key hex) |
| Encode contract call data from ABI and args |
Resources (5)
URI | Description |
| Mainnet status: block height, gas price, KAIA price |
| Kairos testnet status |
| Popular mainnet token addresses with name/symbol |
| Top 100 KAIA holders |
| Static reference of Kaia RPC methods |
Prompts (6)
Name | Args | Description |
| address, network? | Analyze wallet: balance, txs, tokens |
| txHash | Investigate tx: status, gas, transfers |
| contractAddress, network? | Research token: supply, holders, activity |
| contractAddress, tokenId, network? | Look up NFT: owner, metadata, history |
| network? | Gas report: price, history, recommendations |
| contractAddress, network? | Review contract: ABI, source, type |
Configuration
Environment variables (see .env.example):
Variable | Description | Default |
| Kaia mainnet RPC endpoint |
|
| Kairos testnet RPC |
|
| KaiaScan API key (optional) | — |
| mainnet or kairos | mainnet |
| debug, info, warn, error | info |
| Max RPC requests per second | 10 |
| Max KaiaScan requests per second | 5 |
| RPC request timeout (ms) | 30000 |
| KaiaScan request timeout (ms) | 15000 |
MCP client setup
Cursor — add to Cursor MCP settings (e.g. ~/.cursor/mcp.json or project MCP config):
{
"mcpServers": {
"kaia": {
"command": "npx",
"args": ["kaia-mcp"],
"env": {}
}
}
}Claude Desktop — in Claude Desktop config (e.g. ~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"kaia": {
"command": "npx",
"args": ["kaia-mcp"],
"env": {}
}
}
}Override env as needed, e.g. "env": { "KAIA_RPC_URL": "https://your-rpc.io", "KAIASCAN_API_KEY": "your-key" }.
Links
Programmatic use
import { createKaiaMcpServer, runKaiaMcpServer } from "kaia-mcp";
// Get the MCP Server instance (e.g. for custom transport)
const server = createKaiaMcpServer();
// Run over stdio (CLI default)
await runKaiaMcpServer();For HTTP:
import { runKaiaMcpServerHttp } from "kaia-mcp";
await runKaiaMcpServerHttp(3100);Docker
docker build -t kaia-mcp .
docker run -p 3100:3100 -e KAIA_RPC_URL=https://public-en.node.kaia.io kaia-mcpServer listens on port 3100 (Streamable HTTP transport). Override env as needed.
Connecting to the Docker server
The container runs the HTTP transport (not stdio), so clients must connect by URL.
Cursor — in MCP settings (e.g. ~/.cursor/mcp.json or project MCP config), add a server entry with url:
{
"mcpServers": {
"kaia": {
"url": "http://localhost:3100"
}
}
}If your client expects a path, use http://localhost:3100/mcp. Restart Cursor after changing MCP config.
Claude Desktop — if your Claude Desktop build supports remote MCP URLs, use the same url in its MCP config.
Test from the host (with the container running):
curl -s -X POST http://localhost:3100 \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' | jqYou should see a list of tools. Replace localhost with your machine’s IP or hostname when connecting from another device.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/naveed949/kaia-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server