The Monad MCP server allows you to interact with the Monad testnet to query account information:
Check MON token balance: Query the MON token balance for a specific address using the
get-mon-balancetool (requiresaddressparameter)Query NFT holdings: Retrieve the number of NFTs held by an address for a given NFT contract using the
get-nft-counttool (requiresaddressandnftContractparameters)
Enables querying Monad testnet for token balances and NFT holdings, allowing users to check MON balances for specific addresses and count NFTs held by an address in a specified contract.
Monad MCP Tutorial
This project demonstrates how to create a MCP server that interacts with the Monad testnet. The MCP server provides a tool for checking MON token balances on the Monad testnet.
What is MCP?
The Model Context Protocol (MCP) is a standard that allows AI models to interact with external tools and services.
In this tutorial, we're creating an MCP server that allows MCP Client (Claude Desktop) to query Monad testnet to check MON balance of an account.
Related MCP server: GOAT MCP Server
Prerequisites
Node.js (v16 or later)
npmoryarnClaude Desktop
Getting Started
Clone this repository
Install dependencies:
Building the MCP server
Monad Testnet related configuration is already added to index.ts in the src folder.
Define the server instance
Defining the MON balance tool
Add functionality to query NFT count
Initialize the transport and server from the main function
Build the project
The server is now ready to use!
Adding the MCP server to Claude Desktop
Open "Claude Desktop"

Open Settings
Claude > Settings > Developer

Open
claude_desktop_config.json

Add details about the MCP server and save the file.
Restart "Claude Desktop"
Using the MCP server
Here's the final result
