fere-ai/mcp-server
If you are the rightful owner of 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.
A Model Context Protocol (MCP) server for interacting with the 0xMONK Trading Agent API.
0xMONK MCP Server
A Model Conntext Protocol (MCP) server for interacting with the 0xMONK Trading Agent API.
Overview
This project provides a suite of tools for AI assistants to interact with the 0xMONK API, allowing them to manage trading agents, execute trades, and monitor portfolios.
Features
-
Agent Management
- Create, update, and delete trading agents
- View agent details and get all available agents
- Add or remove parent agents (for inheritance)
- Get agents by user ID or Telegram user ID
-
Trading Operations
- Execute buy and sell orders for tokens
- Get buy recommendations for agents
- Synchronize agent state with blockchain
- Monitor task status
-
Portfolio Management
- Monitor agent portfolios, holdings, and trade history
- Access trading decisions and calls made by agents
- Get wallet details for agents and Telegram users
-
ProAgent Interaction
- Query the ProAgent for market information and trading insights
- Get real-time cryptocurrency prices and market data
Installation
-
Clone the repository:
git clone https://github.com/your-username/FereAI-MCP.git cd FereAI-MCP -
Install uv:
curl -LsSf https://astral.sh/uv/install.sh | sh -
Create a virtual environment and install dependencies:
uv venv source .venv/bin/activate # On Windows: .venv\Scripts\activate uv pip install -r requirements.txt -
Configure environment variables:
Get your FereAI Key from https://docs.fereai.xyz/docs/api/api_access and set it in the .env file.
cp .env.example .env
# Edit .env with your configuration
Usage
Run the MCP server:
uv run main.py
Project Structure
FereAI-MCP/
āāā .env # Environment variables
āāā .env.example # Example environment variables
āāā .gitignore # Git ignore file
āāā main.py # Server entry point
āāā monk.json # API specification
āāā pyproject.toml # Python project configuration
āāā README.md # This file
āāā requirements.txt # Python dependencies
āāā src/ # Source code
āāā agent.py # Agent-related API functions
āāā config.py # Configuration module
āāā main.py # MCP server implementation
āāā pro_agent.py # Pro Agent implementation
āāā utils.py # Utility functions
API Documentation
For more information about the 0xMONK API, refer to the file or visit the official documentation.
License
MIT