READMEmain
We couldn't render this README. Read it on GitHub
OmniMCP
A Python-based Model Context Protocol (MCP) client that automatically discovers and connects to MCP servers, both local and remote.
Features
- Dynamic Server Discovery: Automatically finds local and remote MCP servers
- Multi-Server Support: Connect to multiple MCP servers simultaneously
- Tool Integration: Aggregates tools from all connected servers
- Claude Integration: Seamless integration with Anthropic's Claude API
- Convenient CLI: Easy-to-use command-line interface
Requirements
- Python 3.9+
- Anthropic API Key
Installation
-
Clone this repository:
git clone https://github.com/yourusername/omni-mcp.git cd omni-mcp -
Create a virtual environment using uv:
uv venv source .venv/bin/activate # On Windows: .venv\Scripts\activate -
Install dependencies:
uv pip install -r requirements.txt -
Create a
.envfile with your Anthropic API key:ANTHROPIC_API_KEY=your_api_key_here
Usage
Run the client to discover and connect to available MCP servers:
python main.py
The client will:
- Scan for local MCP servers in standard locations
- Query remote MCP server registries
- Connect to all available servers
- Present a CLI interface for interacting with Claude using all available tools
Architecture
- Scanner: Discovers MCP servers locally and remotely
- Server Manager: Handles connections to servers
- MCP Client Core: Manages tool registry and server communication
- Claude API Handler: Interfaces with the Anthropic API
Roadmap
- Graphical user interface
- Server health monitoring and reconnection
- Custom server registry support
- Tool categories and filtering
- Security enhancements for remote servers
License
MIT