Monad Testnet MCP (WIP)
This is a Model Context Protocol (MCP) server that provides tools for interacting with the Monad testnet.
Features
This MCP provides the following tools:
- get-mon-balance - Get MON balance for an Monad address on Monad testnet
- get-transaction - Get information about a transaction on Monad testnet
- get-erc20-balance - Get ERC20 token balance for an address on Monad testnet
Installation
Clone the repository:
git clone https://github.com/monad-developers/monad-mcp.git
cd into the repository:
cd monad-mcp
Install dependencies:
npm install
Running the Server
You can run the server directly with:
npm start
For development with auto-restart on file changes:
npm run dev
To build the TypeScript code:
npm run build
Claude Desktop Configuration
- To open the configuration file, open Claude Desktop and click on Claude on the taskbar.
- Then, click on the
Settings...option. - Then click on the
Developertab and clickEdit Config. - Open the config file with your favorite text editor and add the following configuration:
Do not forget to replace /PATH/TO/FOLDER with the actual path to the folder containing the build directory.
{
"mcpServers": {
"monad-testnet": {
"command": "tsx",
"args": ["/PATH/TO/FOLDER/src/index.ts"]
}
}
}
Usage
You can use this MCP with any MCP client. For example, with Claude:
I need to check the MON balance of address 0x742d35Cc6634C0532925a3b844Bc454e4438f44e on Monad testnet.
Or to get information about a transaction:
Can you tell me about this transaction on Monad: 0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef
Customization
You can modify the RPC URL in src/index.ts if you want to use a different provider:
const MONAD_RPC_URL = "https://rpc.monad.xyz";
For better reliability, consider using an RPC provider like Alchemy or QuickNode by replacing the URL with your own endpoint.
License
MIT
