# EasyMCP

> MCP Server

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

## Overview

- **Category:** AI
- **Language:** Python
- **Stars:** 16
- **Forks:** 1
- **Owner:** mshojaei77
- **GitHub:** https://github.com/mshojaei77/EasyMCP
- **Created:** 2025-03-23T12:15:10+00:00
- **Updated:** 2025-03-27T13:36:54+00:00
- **Source:** https://model-context-protocol.com/servers/easy-mcp-model-context-protocol-client

## Setup

## Setup

1. **Clone the repository:**

   ```bash
   git clone https://github.com/yourusername/EasyMCP.git
   cd EasyMCP
   ```

2. **Create a virtual environment and activate it:**

   On Windows:
   ```bash
   python -m venv .venv
   .venv\Scripts\activate
   ```

   On macOS/Linux:
   ```bash
   python3 -m venv .venv
   source .venv/bin/activate
   ```

3. **Install the required packages:**

   ```bash
   pip install -r requirements.txt
   ```

4. **Set up your environment variables:**
   Rename the provided `.env.sample` to `.env` (or create your own `.env`) and fill in the necessary API keys and configurations.

## Tools

## Available Tools

1. **Multiple Server Support** (Connects to SSE, NPX, and UV servers).
2. **SSE Servers** (Connect via Server-Sent Events using a server URL).
3. **NPX Servers** (Launch servers using NPX commands).
4. **UV Servers** (Run servers configured with UV commands).
5. **Dynamic Tool Integration** (Automatically retrieves available tools from the connected server).
6. **Interactive Chat Loop** (Type queries and let the client process responses using OpenAI and the available MCP tools).
7. **Configuration Management** (Easily add new server configurations with `add_server.py`).
