
shardeum mcp server
Shardeum MCP 是一个区块链交互工具,支持以太坊和 Shardeum 网络的标准化 RPC 方法。
Repository Info
About This Server
Shardeum MCP 是一个区块链交互工具,支持以太坊和 Shardeum 网络的标准化 RPC 方法。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
Shardeum MCP Server
!License: MIT !Shardeum !Node.js
🌐 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!
Quick Start
Clone the repository
git clone https://github.com/abdulazeem-tk4vr/shardeum-mcp-serverInstall dependencies
cd shardeum-mcp-server
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.