MCP Catalogs
HomeModel-Context-Protocol screenshot

Model-Context-Protocol

by Abdulabin·0·Score 30

A Python MCP client implementing multi-server connectivity with LLM orchestration via Gemini API.

ai-llmdeveloper-toolsproductivity
0
Forks
0
Open issues
11 mo ago
Last commit
2d ago
Indexed

Overview

This project provides a comprehensive Model Context Protocol client implementation in Python. It enables Large Language Models to connect with external tools through either stdio or SSE (Server-Sent Events) transport protocols. The architecture supports multi-turn conversations and uses Gemini for intelligent orchestration of tool calls. The client includes both CLI and web UI interfaces with FastAPI, allowing users to configure servers, manage API keys, and monitor tool execution through a browser interface.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Building AI assistants with real-time access to external tools and data
you:Academic research bots that can search and analyze papers from APIs
you:Developer environments combining LLMs with custom tooling
you:What transport protocols are supported?
you:Can I connect to multiple MCP servers simultaneously?

When to choose this

When you need to build applications that orchestrate multiple MCP servers and prefer a Python implementation with Gemini integration.

When NOT to choose this

When you're looking for MCP servers to connect to, not a client implementation. This project doesn't provide any tools or resources that other clients can connect to.

Comparable tools

npx @modelcontextprotocol/server-pythonnpx @modelcontextprotocol/server-nodemcp-server-examples

Installation

# Clone and install dependencies
git clone https://github.com/Abdulabin/Model-Context-Protocol.git
cd Model-Context-Protocol
pip install -r requirements.txt

# Configure API keys
# Create .env file with GEMINI_API_KEY="YOUR_API_KEY_HERE"

# Run CLI client
python mcp_client.py

# Start web UI
uvicorn app:app

For Claude Desktop integration, add this to config.json:

"mcpServers": {
  "python-client": {
    "command": "python",
    "args": ["/path/to/Model-Context-Protocol/mcp_client.py"]
  }
}

FAQ

What transport protocols are supported?
The client supports both stdio for local process-based servers and SSE (Server-Sent Events) for remote HTTP-based servers.
Can I connect to multiple MCP servers simultaneously?
Yes, the architecture supports multi-server connectivity, allowing you to connect to multiple MCP servers at the same time.

Compare Model-Context-Protocol with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.