Shardeum MCP Server
An MCP server for interacting with the Shardeum blockchain.
Shardeum MCP Server
π Overview
The Shardeum MCP (Model Context Protocol) Server is a powerful blockchain interaction tool that provides comprehensive access to the Shardeum network through standardized RPC methods. It enables AI agents, developers, and applications to seamlessly query and interact with the Shardeum blockchain.
β¨ Key Features
- Comprehensive RPC Method Support
- Ethereum standard methods
- Shardeum-specific network methods
 
- Flexible Blockchain Querying
- Easy Integration with AI Assistants
- Blockchain Connectivity
- Detailed Error Handling
π οΈ Supported Methods
Ethereum Standard RPC Methods
- 
Block Information - eth_blockNumber
- eth_getBlockByHash
- eth_getBlockByNumber
- eth_getBlockReceipts
 
- 
Transaction Methods - eth_getTransactionCount
- eth_getTransactionByHash
- eth_getTransactionByBlockHashAndIndex
- eth_getTransactionByBlockNumberAndIndex
- eth_getTransactionReceipt
 
- 
Account Methods - eth_getBalance
- eth_estimateGas
- eth_chainId
 
Shardeum-Specific Methods
- shardeum_getNodeList
- shardeum_getNetworkAccount
- shardeum_getCycleInfo
π¦ Prerequisites
- Node.js 18.x or higher
- Basic understanding of blockchain technologies
Connecting with Cursor
- Clone the repo and do an npm install
- Open Cursor
- Go to Cursor Settings
- Scroll to "MCP"
- Click "Add new MCP server"
- Enter details:
{
  "mcpServers": {
    "shm-mcp": {
      "command": "node",
      "args": [
        "path_to\\shardeum-mcp-server\\index.js"
      ]
    }
  }
}
π Example Queries
Checking Balance
Ask Cursor:
- "What is the balance of 0x1234... on Shardeum?"
- "Check ETH balance for this address"
Exploring Transactions
- "Show details for transaction 0x5678..."
- "Analyze the latest block on Shardeum"
π€ Contributing
- Fork the repository
- Create a feature branch
- Commit changes
- Push to the branch
- Create a pull request
π Configuration
To use a different RPC endpoint, set the constant rpcUrl to a different value
π Troubleshooting
- Ensure Node.js 18.x is installed
- Check network connectivity
- Verify RPC endpoint accessibility
- Update to the latest version
πΊοΈ Roadmap
- Add more networks for accessibility
- Make it write friendly to execute transactions
- Enhance error handling
- Improve performance
- Expand tool capabilities
π Supported Networks
- Shardeum Local
- More networks coming soon!
Related Servers
- Postgres MCP Pro- An MCP server for PostgreSQL providing index tuning, explain plans, health checks, and safe SQL execution. 
- Gralio SaaS Database- Access a comprehensive database of over 30,000 SaaS products, including reviews, pricing, alternatives, and growth metrics. 
- MySQL MCP- A secure MCP service for accessing and managing MySQL databases, featuring multi-layer security and high-performance connection pooling. 
- Simple MySQL MCP Server- A simple MCP server for MySQL, demonstrating fundamental MCP protocol concepts. Requires a MySQL database connection configured via environment variables. 
- CData Amazon Redshift- Access and manage Amazon Redshift data using the CData MCP Server, which requires an external CData JDBC Driver. 
- Snow Leopard BigQuery MCP- Interact with Google BigQuery databases using natural language queries and schema exploration. 
- Ashare-MCP- A stock market data service for querying A-share market data from Sina and Tencent Finance. 
- DexPaprika- Access real-time DEX analytics across 20+ blockchains with DexPaprika API, tracking 5M+ tokens, pools, volumes, and historical market data. Built by CoinPaprika. 
- MySQL Server- A server for accessing and managing MySQL databases. 
- MCP SQLite Server- A Node.js MCP server for interacting with local SQLite databases, runnable via npx. 
