AnasAli30/Monad-mcp-server
3.1
If you are the rightful owner of Monad-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The Monad MCP server facilitates interaction with the Monad blockchain, offering tools for token management, contract deployment, and more.
Tools
8
Resources
0
Prompts
0
Monad MCP
An MCP (Model Context Protocol) server for interacting with the Monad blockchain, providing tools for token management, contract deployment, and more.
Supported Tools
Tool Name | Description | Parameters |
---|---|---|
get-wallet-address | Get the wallet address | None |
get-mon-balance | Get MON token balance | checkOwnBalance : boolean, address : string (optional) |
disperse-tokens | Disperse tokens to multiple addresses | tokenAddress : string, recipients : array of {address, amount}, useEqualAmounts : boolean (optional) |
disperse-mon | Disperse MON tokens to multiple addresses | recipients : array of {address, amount}, useEqualAmounts : boolean (optional) |
compile-contract | Compile Solidity contracts | contractCode : string, contractName : string |
deploy-contract | Deploy contracts to Monad testnet | contractName : string, bytecode : string, abi : string, constructorArgs : array (optional), gasLimit : number (optional) |
generate-sdk | Generate SDK for deployed contracts | contractAddress : string, contractName : string, abi : string, sdkName : string (optional), language : string (optional), includeExamples : boolean (optional) |
transfer-mon | Transfer MON tokens to another address | to : string, amount : string, gasLimit : number (optional) |
Requirements
Getting Started
- Clone this repository
git clone https://github.com/AnasAli30/monad-mcp-server.git
- Install dependencies
npm install
Build the Project
npm run build
Add the MCP server to Claude Desktop
- Open "Claude Desktop"
- Open Settings (Claude > Settings > Developer)
- Click Edit Config and open
claude_desktop_config.json
- Add details about the MCP server and save the file
{
"mcpServers": {
"monad-mcp": {
"command": "node",
"args": [
"<absolute-path-to-project>/build/index.js"
],
"env": {
"PRIVATE_KEY": "",
"RPC_URL": "https://monad-testnet.g.alchemy.com/v2/your-api-key"
}
}
}
}
Add your private key (with the 0x prefix).
You can also add your own RPC, or leave it empty to use the default RPC.
- Restart "Claude Desktop"
Usage Examples
Get MON Balance
{
checkOwnBalance: true
}
Disperse MON Tokens
{
recipients: [
{ address: "0x...", amount: "1.0" },
{ address: "0x...", amount: "2.0" }
],
useEqualAmounts: false
}
Deploy Contract
{
contractName: "MyContract",
bytecode: "0x...",
abi: "[...]",
constructorArgs: ["arg1", "arg2"],
gasLimit: 3000000
}
Generate SDK
{
contractAddress: "0x...",
contractName: "MyContract",
abi: "[...]",
language: "typescript",
includeExamples: true
}
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.