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_blockNumbereth_getBlockByHasheth_getBlockByNumbereth_getBlockReceipts
-
Transaction Methods
eth_getTransactionCounteth_getTransactionByHasheth_getTransactionByBlockHashAndIndexeth_getTransactionByBlockNumberAndIndexeth_getTransactionReceipt
-
Account Methods
eth_getBalanceeth_estimateGaseth_chainId
Shardeum-Specific Methods
shardeum_getNodeListshardeum_getNetworkAccountshardeum_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
PocketBase MCP Server
Interact with a PocketBase instance to manage records and files in collections.
Weaviate MCP Client
An MCP client for connecting to and interacting with a Weaviate vector database.
Neo4j Server
Interact with and explore graph data in a Neo4j database.
Cryptocurrency Market Data
Provides real-time and historical cryptocurrency market data from major exchanges using the CCXT library.
NSE Ticker MCP Server
Provides access to National Stock Exchange (NSE) data using the Upstox API.
Knowledge Graph Memory Server
A knowledge graph server that provides persistent, multi-context memory for AI models.
Postgres MCP
Query any Postgres database using natural language.
DigitalOcean Database
Integrate AI-powered IDEs with DigitalOcean managed databases using a DigitalOcean API token.
Act-On MCP Server by CData
A read-only MCP server that enables LLMs to query live Act-On data. Requires a separate CData JDBC Driver for Act-On.
Bitable
Interact with Lark Bitable tables and data using the Model Context Protocol.
