What is MCP?
The Model Context Protocol (MCP) is a standard that allows AI models to interact with external tools and services.Prerequisites
- Node.js (v16 or later)
npmoryarn- Claude Desktop
Getting started
- Clone the
monad-mcp-tutorialrepository. This repository has some code that can help you get started quickly.
- Install dependencies:
Building the MCP server
Monad Testnet-related configuration is already added toindex.ts in the src folder.
Define the server instance
src/index.ts
Define the MON balance tool
Below is the scaffold of theget-mon-balance tool:
src/index.ts
src/index.ts
Initialize the transport and server from the main function
src/index.ts
Build the project
Add the MCP server to Claude Desktop
- Open “Claude Desktop”
- Open Settings
- Open
claude_desktop_config.json
- Add details about the MCP server and save the file.
claude_desktop_config.json
- Restart “Claude Desktop”
Use the MCP server
You should now be able to see the tools in Claude!
Here’s the final result

