aelf-node-skill
OfficialClick 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., "@aelf-node-skillwhat's the current block height on AELF?"
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.
AElf Node Skill
AElf Node Skill provides MCP, CLI, and SDK interfaces for AElf public nodes with REST for reads, SDK for contract execution, and selective fallback for fee estimate, plus OpenClaw and IronClaw integration.
Features
Read: chain status, block height, block detail, transaction result
Contract metadata: view methods and system contract address (REST adapter)
Contract execution: view call and send transaction (SDK)
Fee estimate: REST first, SDK fallback
Node registry: import and list custom nodes
Related MCP server: Hyperion MCP Server
Default Nodes
AELF:https://aelf-public-node.aelf.iotDVV:https://tdvv-public-node.aelf.io
Install
bun installUsage
MCP
bun run mcpCLI
bun run cli get-chain-status --chain-id AELFOpenClaw
bun run build:openclaw
bun run build:openclaw:checkQuick Start
# MCP server
bun run mcp
# CLI
bun run cli get-chain-status --chain-id AELF
# Unit tests
bun run test:unitSetup CLI
This repository includes a one-command setup CLI for Claude, Cursor, OpenClaw, and IronClaw.
bun run setup claude
bun run setup cursor
bun run setup cursor --global
bun run setup ironclaw
bun run setup openclaw
bun run setup openclaw --config-path /path/to/openclaw-config.json
bun run setup list
bun run setup uninstall claude
bun run setup uninstall cursor --global
bun run setup uninstall ironclaw
bun run setup uninstall openclaw --config-path /path/to/openclaw-config.jsonIronClaw
bun run setup ironclaw
bun run setup uninstall ironclawThe IronClaw setup writes a stdio MCP entry to ~/.ironclaw/mcp-servers.json and installs this repo's SKILL.md to ~/.ironclaw/skills/aelf-node-skill/SKILL.md.
Important trust model note:
Use the trusted skill path above for write-capable flows such as
aelf_send_contract_transaction.Do not rely on
~/.ironclaw/installed_skills/for the primary install path when you need write approval behavior.This MCP server emits both standard MCP camelCase annotations and IronClaw-compatible snake_case annotations so the current IronClaw source can honor read/write hints.
Remote activation contract:
GitHub repo/tree URLs are discovery sources only, not the final IronClaw install payload.
Preferred IronClaw activation from npm:
bunx -p @blockchain-forever/aelf-node-skill aelf-node-setup ironclawPrefer ClawHub / managed install for OpenClaw when available; otherwise use
bunx -p @blockchain-forever/aelf-node-skill aelf-node-setup openclawLocal repo checkout remains a development smoke-test path only.
Minimal smoke test:
bun run setup ironclawAsk IronClaw for
latest block height on AELFAsk it to
send a contract transactionand confirm approval appears before execution
Installed package users can also run:
aelf-node-setup claudeMCP Config Example
Reference file: mcp-config.example.json
{
"mcpServers": {
"aelf-node-skill": {
"command": "bun",
"args": ["run", "/ABSOLUTE/PATH/TO/src/mcp/server.ts"],
"env": {
"AELF_PRIVATE_KEY": "optional_env_fallback_private_key",
"PORTKEY_WALLET_PASSWORD": "optional_wallet_password",
"PORTKEY_CA_KEYSTORE_PASSWORD": "optional_keystore_password"
}
}
}
}Environment
Copy and edit:
cp .env.example .envAELF_PRIVATE_KEY: optional env fallback for write operations (highest env priority)PORTKEY_PRIVATE_KEY: optional secondary env fallback for shared-skill compatibilityWrite tools (
aelf_send_contract_transaction,aelf_estimate_transaction_fee) resolve signer asexplicit -> context -> envPORTKEY_WALLET_PASSWORD: optional password cache for EOA wallet contextPORTKEY_CA_KEYSTORE_PASSWORD: optional password cache for CA keystore contextPORTKEY_SKILL_WALLET_CONTEXT_PATH: optional override for active context path (~/.portkey/skill-wallet/context.v1.json)signerMode=daemonis reserved and currently returnsSIGNER_DAEMON_NOT_IMPLEMENTEDAELF_NODE_AELF_RPC_URL: optional override for AELF nodeAELF_NODE_TDVV_RPC_URL: optional override for tDVV nodeAELF_NODE_REGISTRY_PATH: optional custom registry pathAELF_SDK_INSTANCE_CACHE_MAX: optional max SDK instance cache size (default32)AELF_SDK_CONTRACT_CACHE_MAX: optional max SDK contract cache size (default256)AELF_REST_CLIENT_CACHE_MAX: optional max REST client cache size (default64)
Tool List
MCP tool names:
aelf_get_chain_statusaelf_get_block_heightaelf_get_blockaelf_get_transaction_resultaelf_get_contract_view_methodsaelf_get_system_contract_addressaelf_call_contract_viewaelf_send_contract_transactionaelf_estimate_transaction_feeaelf_import_nodeaelf_list_nodes
Architecture
src/core/: business orchestrationlib/sdk-client.ts:aelf-sdkwrapperlib/rest-client.ts: REST adapter with normalized errorslib/node-router.ts: node resolution and fallbacksrc/mcp/server.ts: MCP adapteraelf_node_skill.ts: CLI adapterindex.ts: SDK exports
Testing
bun run test
bun run test:coverage:ciSecurity
Never put
AELF_PRIVATE_KEYin prompts or channel outputs.Active wallet context must not contain plaintext private keys.
Use environment variables for all secrets.
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
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/AElfProject/aelf-node-skill'
If you have feedback or need assistance with the MCP directory API, please join our Discord server