monad-mcp-server

内容来源:README.md(说明文档) · 原始地址 · 查看安装指南

原始内容

Monad Uniswap Trading MCP Server

This project implements a Model Context Protocol (MCP) server that interacts with Uniswap on the Monad testnet. The server provides tools for token trading, balance checking, and token information lookups, allowing AI assistants to execute cryptocurrency trades through natural language.

All functions of the MCP:

  • Checking MON token balances
  • Looking up token information
  • Approving tokens for trading
  • Buying tokens on Uniswap
  • Selling tokens on Uniswap

Prerequisites

  • Node.js (v16 or later)
  • npm or yarn
  • Claude Desktop or another MCP-compatible client
  • Some MON tokens on Monad testnet for testing

Getting Started

  1. Clone this repository:
git clone https://github.com/your-username/monad-uniswap-mcp.git
  1. Install dependencies:
npm install
  1. Build the MCP server (or use the script I included in 'build' folder:
npm run build

How to interact with the MCP

  • Add your wallet by using the private key
  • Use prompts for buying and selling. Must include token names/addresses and slippage. Example: + Spend 0.1 MON to buy CHOG with 10% slippage. + Sell 5 CHOG to MON with 20% slippage
  • Enjoy and give me feedback at Issues. I really appreciate it <3