1. Conduid
  2. AI
  3. Easymcp
MCP server · AI

Easymcp

A beginner-friendly client for the MCP (Model Context Protocol). Connect to SSE, NPX, and UV servers, and integrate with OpenAI for dynamic tool interactions. Perfect for exploring server connections and chat enhancements.

Unclaimed last commit a year ago ai
46Fair

Scored 7 days ago · breakdown

About Easymcp

Easymcp is an MCP server published by mshojaei77 in the AI category: a beginner-friendly client for the MCP (Model Context Protocol). Connect to SSE, NPX, and UV servers, and integrate with OpenAI for dynamic tool interactions. Perfect for exploring server connections and chat enhancements.

The repository has 17 stars and 2 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/mshojaei77/EasyMCP

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Easymcp

Powered by Claude · Grounded in docs

I know everything about Easymcp. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 2 hours ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • !License declaredNo license file. Legally you have no right to use it in a product.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

README

EasyMCP

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—SSE, NPX, and UV—so you can interact with various tools (e.g., file operations) and integrate with the OpenAI API for an enhanced chat experience.

Features

  • Multiple Server Support
    • SSE Servers: Connect via Server-Sent Events using a server URL.
    • NPX Servers: Launch servers using NPX commands (compatible with Windows and non-Windows systems).
    • UV Servers: Run servers configured with UV commands.
  • Dynamic Tool Integration:
    The client automatically retrieves available tools from the connected server and uses them to process user queries.
  • Interactive Chat Loop:
    Type queries and let the client process responses using OpenAI and the available MCP tools.
  • Configuration Management:
    Easily add new server configurations with add_server.py, which updates the appropriate configuration file (e.g., sse_servers.json, npx_servers.json, or uv_servers.json).

Prerequisites

  • Python 3.10+ (for compatibility with asyncio and modern async features)
  • A valid OpenAI API key (set in your .env file)
  • Other API keys as needed for additional integrations

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/EasyMCP.git
    cd EasyMCP
    
  2. Create a virtual environment and activate it:

    On Windows:

    python -m venv .venv
    .venv\Scripts\activate
    

    On macOS/Linux:

    python3 -m venv .venv
    source .venv/bin/activate
    
  3. Install the required packages:

    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.

Server Configuration Files

EasyMCP uses several JSON configuration files to manage servers:

  • sse_servers.json: Contains configurations for SSE-based servers.
    Example:

    {
      "mcpServers": {
        "@modelcontextprotocol/time": {
          "url": "https://router.mcp.so/sse/pnabizm8lkazpr"
        }
      }
    }
    
  • npx_servers.json: Contains configurations for NPX servers.
    Example:

    {
      "mcpServers": {
        "filesystem": {
          "command": "npx",
          "args": [
            "-y",
            "@modelcontextprotocol/server-filesystem",
            "C:\\Users\\lotus\\Documents\\llm_books_papers",
            "C:\\Users\\lotus\\Documents\\llm_books_papers"
          ]
        }
      }
    }
    
  • uv_servers.json: Contains configurations for UV servers.
    Example:

    {
      "mcpServers": {
        "sqlite": {
          "command": "uv",
          "args": [
            "--directory",
            "parent_of_servers_repo/servers/src/sqlite",
            "run",
            "mcp-server-sqlite",
            "--db-path",
            "~/test.db"
          ]
        }
      }
    }
    

Usage

  1. Run the MCP Client:

    python main.py
    
  2. Select a Server:
    The client will load available servers from sse_servers.json, npx_servers.json, and uv_servers.json. When prompted, enter the corresponding number to select a server.

  3. Interact With the Client:
    Once connected, type your queries. For example:

    • To read a PDF file: read Build a Large Language Model.pdf
    • To use a file tool: use read_file tool and read 2308.11432v5.pdf

    The client will guide you through constructing proper file paths based on the allowed directories provided by the MCP server.

Adding a New Server

To add a new MCP server configuration:

  1. Prepare your JSON configuration for the new server.

  2. Run add_server.py:

    python add_server.py
    

    This script will:

    • Detect the server type (NPX, UV, or default to SSE).
    • Append the new configuration to the appropriate file (e.g., npx_servers.json, uv_servers.json, or sse_servers.json).

Example Files

  • main.py:
    The main entry point of the EasyMCP client. It handles server connections, the chat loop, and processing queries with OpenAI integration.

  • add_server.py:
    A script to add new MCP server configurations to the JSON files.

  • .env:
    Contains environment variables such as API keys and model configurations.

  • requirements.txt:
    Lists the project dependencies.

Contributing

Contributions are welcome! Please fork the repository and submit pull requests with detailed descriptions of your changes.

License

This project is open source and available under the MIT License.

Contact

For questions or feature requests, feel free to open an issue in the GitHub repository.

Happy coding!

README fetched from the repository 2 hours ago. The original is authoritative.

Questions

About Easymcp

How do I install Easymcp?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Easymcp safe to use with an AI agent?

Its trust score is 46 out of 100 (fair). It passes 3 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Easymcp still maintained?

The last commit was a year ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.