MCP cover image
See in Github
2025-04-14

Collection of mcp-tools to interact with the monad blockchain

0

Github Watches

0

Github Forks

0

Github Stars

Monad MCP Server (@unsorted-ai/mcp)

A Model Context Protocol (MCP) server for interacting with the Monad blockchain via Alchemy's API.
It exposes tools (e.g. get_portfolio) that LLM‑powered agents (Cursor, Claude) can call directly.


Table of Contents

  1. Prerequisites
  2. Installation & Configuration
  3. Local Development
  4. Tools Provided
  5. Scripts
  6. Contributing
  7. License

Prerequisites


Installation & Configuration

Global Configuration (Recommended)

  1. Create or edit ~/.cursor/mcp.json in your home directory:

    {
      "mcpServers": {
        "monad-tools": {
          "command": "npx",
          "args": ["-y", "@unsorted-ai/mcp@latest"],
          "env": {
            "ALCHEMY_API_KEY": "YOUR_ALCHEMY_API_KEY",
          },
        },
      },
    }
    
  2. Restart or reload your Cursor workspace.

  3. In chat, ask something like:

    Get the portfolio for wallet addresses 0xABC... and 0xDEF...

    Cursor will automatically invoke the get_portfolio tool.

Project-Level Configuration

  1. Add this package to your project:

    npm install --save @unsorted-ai/mcp
    # or
    bun add @unsorted-ai/mcp
    
  2. In your project root, create (or open) .cursor/mcp.json:

    {
      "mcpServers": {
        "monad-tools": {
          "command": "node",
          "args": ["./node_modules/@unsorted-ai/mcp/dist/main.js"],
          "env": {
            "ALCHEMY_API_KEY": "YOUR_ALCHEMY_API_KEY",
          },
        },
      },
    }
    
  3. Restart or reload your Cursor workspace.

  4. In chat, ask something like:

    Get the portfolio for wallet addresses 0xABC... and 0xDEF...

    Cursor will automatically invoke the get_portfolio tool.

For more on Cursor's MCP setup, see "Configuring MCP Servers" in the Cursor docs.


Claude for Desktop

  1. Open Settings → Developer → Edit Config in Claude for Desktop.

  2. In claude_desktop_config.json, add:

    {
      "mcpServers": {
        "monad-tools": {
          "command": "npx",
          "args": ["-y", "@unsorted-ai/mcp@latest"],
          "env": {
            "ALCHEMY_API_KEY": "YOUR_ALCHEMY_API_KEY",
          },
        },
      },
    }
    
  3. Restart Claude. Click the 🔨 icon to see and run your tools.

For a step‑by‑step Claude guide, see the MCP quickstart for Claude Desktop users.


Local Development

Prerequisites

  • Bun v1+
  • (Optional) npm for some scripts

Environment Variables

Copy and configure your Alchemy key:

cp .env.example .env

Edit .env:

ALCHEMY_API_KEY=your-alchemy-api-key-here

MCP Configuration (.cursor/mcp.json)

For local testing:

{
  "mcpServers": {
    "monad-tools": {
      "command": "bun",
      "args": ["dist/main.js"],
    },
  },
}

Building & Running

Install dependencies:

bun install

Build the project:

bun run build

Start the development server:

bun start

Development Scripts

Command Description
bun run build Compile src/main.tsdist/main.js
bun start Run the development server
bun test Run tests
bun run lint Lint source via Biome
bun run format Format source via Biome
bun run check Run Biome checks
bun run clean Remove build artifacts

Tools Provided

  • get_portfolio

    • Description: Fetch on‑chain token balances for up to 2 wallet addresses. Modifies alchemy portfolio response to suit LLM use.

    • Input schema:

      {
        "walletAddresses": ["0x123...", "0x456..."]
      }
      

Scripts

Command Description
bun run build Compile src/main.tsdist/main.js
bun start Run the built server
bun test Run tests
bun run lint Lint source via Biome
npm run format Format source via Biome

Contributing

  1. Fork this repo
  2. git checkout -b feature/foo
  3. Make changes & git commit -m "Add foo"
  4. git push origin feature/foo
  5. Open a pull request

License

MIT © Unsorted AI

相关推荐

  • WangRongsheng
  • 🧑‍🚀 全世界最好的LLM资料总结(Agent框架、辅助编程、数据处理、模型训练、模型推理、o1 模型、MCP、小语言模型、视觉语言模型) | Summary of the world's best LLM resources.

  • av
  • Effortlessly run LLM backends, APIs, frontends, and services with one command.

  • langgenius
  • Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.

  • alibaba
  • an easy-to-use dynamic service discovery, configuration and service management platform for building AI cloud native applications.

  • 1Panel-dev
  • 🔥 1Panel provides an intuitive web interface and MCP Server to manage websites, files, containers, databases, and LLMs on a Linux server.

  • rulego
  • ⛓️RuleGo is a lightweight, high-performance, embedded, next-generation component orchestration rule engine framework for Go.

  • hkr04
  • Lightweight C++ MCP (Model Context Protocol) SDK

  • nbonamy
  • Witsy: desktop AI assistant / universal MCP client

  • microsoft
  • Python tool for converting files and office documents to Markdown.

  • WangRongsheng
  • 🧑‍🚀 全世界最好的LLM资料总结(视频生成、Agent、辅助编程、数据处理、模型训练、模型推理、o1 模型、MCP、小语言模型、视觉语言模型) | Summary of the world's best LLM resources.

  • mindsdb
  • AI's query engine - Platform for building AI that can answer questions over large scale federated data. - The only MCP Server you'll ever need

  • mem0ai
  • Memory for AI Agents; SOTA in AI Agent Memory; Announcing OpenMemory MCP - local and secure memory management.

    Reviews

    2.6 (5)
    Avatar
    user_VzEoq2Yr
    2025-04-23

    Unsorted-ai-mcp is a game-changer in AI applications! It's user-friendly and highly efficient, making complex tasks a breeze. The intuitive design and seamless integration into my workflow have significantly boosted my productivity. Whether you're a seasoned AI expert or just starting out, unsorted-ai-mcp is a must-have tool. Highly recommend!

    Avatar
    user_Wjgff8OG
    2025-04-23

    As an avid user of unsorted-ai-mcp, I am impressed by its efficiency and intuitive design. The product by unsorted-ai stands out with its seamless integration and user-friendly interface. The responsiveness and support provided are commendable. Highly recommend to anyone looking for a reliable mcp application!

    Avatar
    user_ETXn4AJj
    2025-04-23

    I've been using unsorted-ai-mcp, and it's truly impressive! The application's seamless integration and user-friendly interface make managing connections effortless. The AI capabilities are outstanding, providing accurate analyses and timely suggestions. Products from unsorted-ai never disappoint. Highly recommended for anyone looking to optimize their workflow with advanced AI tools!

    Avatar
    user_6Kud1Son
    2025-04-23

    I've been using unsorted-ai-mcp and it's absolutely game-changing! The intuitive interface and powerful features have significantly streamlined my workflow. The support from unsorted-ai is top-notch, making it easy to integrate into my daily tasks. I highly recommend this tool to anyone looking to boost their productivity and efficiency.

    Avatar
    user_mUt7KALu
    2025-04-23

    As a dedicated user of unsorted-ai-mcp, I am thoroughly impressed with its performance and versatility. This tool has incredibly streamlined my workflow, allowing for more efficient project management and data processing. Its user-friendly interface and robust features make it an indispensable asset in my daily tasks. Highly recommend it to anyone seeking to enhance their productivity with advanced AI solutions!