Monad MCP Server
Provides a connection to the Monad testnet via Alchemy RPC, enabling real-time block monitoring and retrieval of latest block information through an API.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Monad MCP Serverwhat is the latest block number and transaction count?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
# Monad MCP Server
This project is a Node.js application that listens for new blocks on the Monad blockchain testnet.
๐ About
The Monad MCP Server is a lightweight blockchain listener that:
Connects to Monad testnet via Alchemy's RPC endpoint
Monitors new blocks in real-time
Provides a simple REST API to query the latest block data
Logs block numbers and transaction counts
Built with Node.js, it serves as both a blockchain monitor and API service for accessing basic chain information.
Related MCP server: Monad NFT Analytics MCP
๐ Features
Connects to Monad Testnet via Alchemy RPC.
Listens for new blocks in real-time.
Logs block numbers and transaction counts.
Serves a basic HTTP API with block information.
๐ฆ Prerequisites
Make sure you have the following installed on your system:
โ๏ธ Setup Instructions
1. Clone this repository
git clone https://github.com/adekunlebamz/monad-mcp-server.git
cd monad-mcp-server2. Install dependencies
npm install3. Create a .env file
Create a .env file in the root folder with the following content:
MONAD_RPC=https://monad-testnet.g.alchemy.com/v2/your-alchemy-key
PORT=3000๐ Replace your-alchemy-key with your actual API key from Alchemy.
4. Start the server
npm start5. Open in your browser
Go to http://localhost:3000 โ See the welcome message
Go to http://localhost:3000/latestblock โ Get latest block number and transaction count
๐งช Example Response from /latestblock
{
"blockNumber": 123456,
"transactionCount": 42
}๐ Notes
The listener runs in real-time using
provider.on('block').The
/latestblockAPI returns the most recent block number and how many transactions it had.
๐ค Author
GitHub: adekunlebamz
๐ License
MIT โ Do whatever you want with it ๐
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted MCP server for live Bittensor chain reads and self-custodial on-chain writes.
Abstraxn: public Web3 MCP server for read-only chain data and pay-per-call relays.
Tenzro Network MCP server: wallet, identity, payments, inference, staking, bridges, verification.
Read-only MCP server for The Quiet Protocol's engines, benchmarks, proof, and business data.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables interaction with the Monad testnet to check balances, examine transaction details, get gas prices, and retrieve block information.1MIT
- FlicenseBqualityDmaintenanceA server that retrieves NFT-related data on the Monad testnet, allowing users to check NFT holders, calculate portfolio values, view collections, and track top-selling NFTs by volume and sales across different time periods.11-
- -licenseNot gradedqualityNot gradedmaintenanceAn MCP server that allows Claude Desktop to query Monad testnet for MON token balances of accounts.-
- AlicenseNot gradedqualityDmaintenanceEnables interaction with the Monad Testnet blockchain, including reading block data, balances, transactions, and token operations via natural language.28 npm1MIT