Monad-mcp-server

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 NameDescriptionParameters
get-wallet-addressGet the wallet addressNone
get-mon-balanceGet MON token balancecheckOwnBalance: boolean, address: string (optional)
disperse-tokensDisperse tokens to multiple addressestokenAddress: string, recipients: array of {address, amount}, useEqualAmounts: boolean (optional)
disperse-monDisperse MON tokens to multiple addressesrecipients: array of {address, amount}, useEqualAmounts: boolean (optional)
compile-contractCompile Solidity contractscontractCode: string, contractName: string
deploy-contractDeploy contracts to Monad testnetcontractName: string, bytecode: string, abi: string, constructorArgs: array (optional), gasLimit: number (optional)
generate-sdkGenerate SDK for deployed contractscontractAddress: string, contractName: string, abi: string, sdkName: string (optional), language: string (optional), includeExamples: boolean (optional)
transfer-monTransfer MON tokens to another addressto: string, amount: string, gasLimit: number (optional)

Requirements

Getting Started

  1. Clone this repository
git clone https://github.com/AnasAli30/monad-mcp-server.git
  1. Install dependencies
npm install

Build the Project

npm run build

Add the MCP server to Claude Desktop

  1. Open "Claude Desktop"
  2. Open Settings (Claude > Settings > Developer)
  3. Click Edit Config and open claude_desktop_config.json
  4. 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.

  1. 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.