monad-mcp-minter
v1.0.0
Published
MCP Server to mint NFTs on Monad Testnet
Readme
Monad MCP Minter
MCP Server to mint NFTs on the Monad Testnet.
This server provides a tool via the Model Context Protocol (MCP) to mint NFTs using a specified IPFS URI for the metadata.
Prerequisites
- Node.js (v18 or later recommended)
- npm
Installation
Clone the repository:
git clone <repository_url> # Replace <repository_url> with the actual URL cd monad-mcp-minterInstall dependencies:
npm install
Configuration
Create a
.envfile: Copy the example environment file:cp .env.example .envSet your private key: Open the
.envfile and replaceYOUR_WALLET_PRIVATE_KEY_HEREwith your Ethereum wallet's private key (without the0xprefix).# .env PRIVATE_KEY=your_actual_private_key_goes_hereImportant: Keep your
.envfile secure and do not commit it to version control. The.gitignorefile should already be configured to ignore.env.
Usage
Build the project:
npm run buildStart the server:
npm startThe MCP server will start and be ready to accept connections and tool requests.
Development
To run the server in development mode with automatic reloading on file changes:
npm run devMCP Tool
The server exposes the following tool via MCP:
mint_monad_nft
- Description: Mints an NFT on the Monad Testnet using the provided IPFS metadata URI.
- Input Schema:
{ "type": "object", "properties": { "ipfsUri": { "type": "string", "description": "The IPFS URI (e.g., ipfs://Qm...) for the NFT metadata." } }, "required": [ "ipfsUri" ] } - Example Usage (via
use_mcp_tool):<use_mcp_tool> <server_name>monad-nft-minter</server_name> <tool_name>mint_monad_nft</tool_name> <arguments> { "ipfsUri": "ipfs://YourMetadataCIDHere" } </arguments> </use_mcp_tool>
License
ISC
