- MCP Server
MCP Server
Content
MCP Server
A Node.js server for interacting with the Monad Testnet blockchain network. This server provides a REST API interface for common blockchain operations.
Features
- Express.js REST API
- Web3.js integration for blockchain interaction
- Environment variable configuration
- Basic blockchain operations (get balance, send transactions, etc.)
- Security middleware (helmet, cors)
- Swagger API documentation
- Docker support
Prerequisites
- Node.js (v16 or higher) OR Docker
- npm (v8 or higher) if not using Docker
- Access to a Monad Testnet node
Installation
Standard Installation
-
Clone the repository:
git clone <repository-url> cd mcp-server -
Install dependencies:
npm install -
Create environment file:
cp .env.example .env -
Configure your environment variables in
.env:- Set
MONAD_RPC_URLto your Monad Testnet node URL - Set
PORTif you want to use a different port - Add
PRIVATE_KEYif needed for signing transactions
- Set
Docker Installation
-
Clone the repository:
git clone <repository-url> cd mcp-server -
Create and configure environment file:
cp .env.example .env # Edit .env with your configuration -
Build the Docker image:
docker build -t mcp-server . -
Run the container:
docker run -d \ --name mcp-server \ -p 3000:3000 \ --env-file .env \ -v $(pwd)/logs:/app/logs \ mcp-server
Usage
Standard Usage
Start the development server:
npm run dev
Start the production server:
npm start
Docker Usage
Start the container:
docker start mcp-server
Stop the container:
docker stop mcp-server
View logs:
docker logs mcp-server
API Documentation
The API documentation is available at /api-docs when the server is running. Visit:
http://localhost:3000/api-docs
API Endpoints
- GET
/health- Check server health - GET
/blockchain/latest-block- Get current block number - GET
/blockchain/analyze-block/:blockNumber- Get block analysis - POST
/blockchain/store-data- Store data in contract - GET
/blockchain/get-data- Get stored data - POST
/actions/execute-chain- Execute chain of operations - GET
/actions/parallel-block-analysis- Analyze multiple blocks
Environment Variables
| Variable | Description | Default |
|---|---|---|
| PORT | Server port | 3000 |
| NODE_ENV | Environment mode | development |
| MONAD_RPC_URL | Monad Testnet RPC URL | http://localhost:8545 |
| CONTRACT_ADDRESS | Smart contract address | - |
| CONTRACT_ABI | Smart contract ABI | - |
| LOG_LEVEL | Logging level | info |
Docker Volumes
The container uses the following volume:
/app/logs: Contains application logs (combined.log and error.log)
License
ISC
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题;
Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Tavily Mcp
Serper MCP ServerA Serper MCP Server
ChatWiseThe second fastest AI chatbot™
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
WindsurfThe new purpose-built IDE to harness magic
CursorThe AI Code Editor
Playwright McpPlaywright MCP server
DeepChatYour AI Partner on Desktop
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Amap Maps高德地图官方 MCP Server