0g-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ZG_MAINNET_RPC | No | Custom RPC endpoint for mainnet (optional) | |
| ZG_TESTNET_RPC | No | Custom RPC endpoint for testnet (optional) | |
| DEFAULT_NETWORK | No | Default network (mainnet or testnet, default testnet) | testnet |
| REQUEST_TIMEOUT | No | Request timeout in milliseconds (default 30000) | 30000 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_balanceA | Get the balance of an address on 0G network |
| get_transactionA | Get transaction details by hash on 0G network |
| get_blockB | Get block information by number or hash |
| get_network_infoB | Get 0G network information and statistics |
| estimate_gasB | Estimate gas for a transaction on 0G network |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 5 tools
Each tool targets a distinct aspect of the 0G network: balance, transaction, block, network info, and gas estimation. There is no overlap, making it straightforward for an agent to select the right tool.
All tool names follow a clear verb_noun pattern in snake_case: get_balance, get_transaction, get_block, get_network_info, and estimate_gas. The slight deviation of estimate_ instead of get_ is semantically appropriate and does not break consistency.
With 5 tools, the server is well-scoped for a read-only network query interface. Each tool earns its place, and the count is neither too sparse nor overwhelming.
The set covers essential read operations for a blockchain-like network. However, the presence of estimate_gas implies transaction preparation, yet there is no send_transaction tool, which is a notable gap for a complete workflow.