EasyMCP
by mshojaei77
EasyMCP is a flexible and beginner-friendly client for the Model Context Protocol (MCP). It allows you to connect to different types of MCP servers and interact with various tools, integrating with the OpenAI API for an enhanced chat experience.
Last updated: N/A
What is EasyMCP?
EasyMCP is a client application that facilitates interaction with Model Context Protocol (MCP) servers. It supports SSE, NPX, and UV server types, enabling users to access and utilize various tools and services provided by these servers, including integration with the OpenAI API.
How to use EasyMCP?
To use EasyMCP, clone the repository, set up a virtual environment, install dependencies, configure environment variables (API keys), configure servers in server configuration files (sse_servers.json, npx_servers.json, uv_servers.json) launch the client with python main.py
, select a server, and then interact with it by entering queries.
Key features of EasyMCP
Multiple Server Support (SSE, NPX, UV)
Dynamic Tool Integration
Interactive Chat Loop
Configuration Management (add_server.py)
Use cases of EasyMCP
Interacting with file systems through MCP servers
Using various tools exposed by MCP servers in a chat environment
Integrating with OpenAI API to enhance client communications
Automating tasks via external tools through MCP servers
FAQ from EasyMCP
What is MCP?
What is MCP?
MCP stands for Model Context Protocol.
Which server types are supported?
Which server types are supported?
EasyMCP supports SSE, NPX, and UV servers.
How do I configure API keys?
How do I configure API keys?
API keys (e.g., OpenAI API key) should be set in the .env
file.
How do I add a new server?
How do I add a new server?
Use the add_server.py
script to add a new server configuration.
What is the main entry point?
What is the main entry point?
The main entry point of the application is main.py
.