MCP CLI Client
@fbeunder
About MCP CLI Client
Een lokale MCP host en client die met meerdere LLM's en meerdere MCP servers kan werken.
Overview
What is MCP CLI Client?
MCP CLI Client is a command-line tool and Python library for connecting to MCP (Machine Communication Protocol) servers via local STDIO connections and remote SSE (Server‑Sent Events) connections. It is built for developers who need to interact with MCP servers from the terminal or integrate MCP functionality into their own Python projects.
How to use MCP CLI Client?
Clone the repository, create and activate a Python virtual environment, install dependencies with pip install -r requirements.txt, and copy .env.example to .env to configure settings. Use python main.py with --local or --remote flags to send JSON‑RPC requests, or launch the interactive mode with python main.py --local. For module usage, install with pip install -e . and import MCPClient for programmatic control.
Key features of MCP CLI Client
- Connect to MCP servers via STDIO (local) or SSE (remote)
- Send JSON‑RPC requests with parameters
- Operate in command‑line or interactive mode
- Use as a Python module in your own projects
- Configuration via
.envfile (server URL, API key, log level) - Includes unit and integration tests with coverage reporting
Use cases of MCP CLI Client
- Test and debug local MCP servers from the terminal
- Interact with remote MCP servers (e.g., cloud‑hosted) using SSE
- Automate MCP server interactions in scripts or CI/CD pipelines
- Embed MCP client functionality into larger Python applications
- Quickly verify server responses with interactive mode
FAQ from MCP CLI Client
What platforms does MCP CLI Client support?
It is a Python application that runs on any platform with Python 3 and the required dependencies (Windows, macOS, Linux).
Can MCP CLI Client connect to both local and remote MCP servers?
Yes. Use --local for STDIO‑based local servers and --remote for SSE‑based remote servers.
Is MCP CLI Client free to use?
Yes, it is licensed under the MIT License.
Can I use MCP CLI Client as a Python library?
Yes, install it as a package with pip install -e . or directly from GitHub, then import MCPClient in your code.
What configuration options are available?
The .env file supports MCP_SERVER_URL, MCP_LOCAL_COMMAND, API_KEY, and LOG_LEVEL.
Basic information
Category
Other
Author
More Other MCP clients
Mcp-ChatBI
dynamiclu基于 Mcp 架构的 ChatBI,是一种数据分析智能体解决方案
EasyMCP
mshojaei77A 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.
Llama MCP Streamlit
nikunj2003AI assistant built with Streamlit, NVIDIA NIM (LLaMa 3.3:70B) / Ollama, and Model Control Protocol (MCP).
Osmosis-MCP-4B
gulp-aiAn Open Source SLM Trained for MCP
MCP Connect
EvalsOneEnables cloud-based AI services to access local Stdio based MCP servers via HTTP requests
Comments