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.
Prerequisites
- Node.js (v16 or later)
npm
oryarn
- Claude 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
Further Resources
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Un servidor MCP que permite consultar saldos de tokens MON y recuentos de NFT en la red de prueba de Monad, lo que permite que Claude Desktop interactúe con la cadena de bloques de Monad.
Related MCP Servers
- -securityAlicense-qualityAn MCP server that allows accessing and managing ledger files through Claude by providing account listing, balance checking, and transaction register viewing capabilities.Last updated -3PythonGPL 3.0
- -securityFlicense-qualityAn MCP server that connects Claude for Desktop with blockchain functionality, allowing users to check balances and send tokens on EVM and Solana chains through natural language interactions.Last updated -TypeScript
- AsecurityFlicenseAqualityA 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.Last updated -11TypeScript
- -securityFlicense-qualityAn MCP server that helps users create NFT collections, deploy smart contracts to the Monad blockchain, and generate mint websites with Claude AI integration.Last updated -JavaScript