EasyMCP

EasyMCP is a user-friendly client for the Model Context Protocol, enabling connection to SSE, NPX, and UV servers for interacting with various tools and integrating with the OpenAI API for

13
1

EasyMCP

EasyMCP is a user-friendly client for the Model Context Protocol (MCP), designed for seamless interaction with various MCP servers: SSE, NPX, and UV. It facilitates integration with tools like file operations and enhances chat experiences using the OpenAI API.

Features

  • Multiple Server Support: Connect via SSE using URLs, launch NPX servers with commands (Windows/non-Windows compatible), or run UV servers with configured commands.
  • Dynamic Tool Integration: Automatically retrieves and utilizes available tools from connected servers to process user queries.
  • Interactive Chat Loop: Enables users to type queries and receive responses processed via OpenAI and MCP tools.
  • Configuration Management: Simplifies adding new server configurations using add_server.py, updating sse_servers.json, npx_servers.json, or uv_servers.json.

Prerequisites

  • Python 3.10+
  • OpenAI API key in .env
  • Other API keys for integrations

Installation

(Instructions for cloning, virtual environment setup, installing dependencies, and environment variable configuration)

Server Configuration Files

(Examples of sse_servers.json, npx_servers.json, and uv_servers.json configurations)

Usage

(Instructions for running main.py, selecting a server, and interacting with the client)

Adding a New Server

(Instructions for preparing JSON configuration and running add_server.py)

Example Files

(Description of main.py, add_server.py, .env, and requirements.txt)

Contributing

(Guidelines for contributing)

License

(MIT License)

Contact

(Contact information)

Repository

MS
mshojaei77

mshojaei77/EasyMCP

Created

March 23, 2025

Updated

March 27, 2025

Language

Python

Category

AI