The Ultimate MCP Server is a comprehensive Model Context Protocol (MCP) server that provides AI agents with dozens of powerful capabilities through a standardized interface. It serves as a complete AI agent operating system, enabling advanced functionalities beyond what AI models can natively perform.
To install the Ultimate MCP Server:
# Install uv (fast Python package manager) if you don't have it:
curl -LsSf https://astral.sh/uv/install.sh | sh
# Clone the repository
git clone https://github.com/Dicklesworthstone/ultimate_mcp_server.git
cd ultimate_mcp_server
# Create a virtual environment and install dependencies using uv:
uv venv --python 3.13
source .venv/bin/activate
uv lock --upgrade
uv sync --all-extras
Create a .env
file in the root directory with your API keys and configuration:
# --- API Keys (at least one provider required) ---
OPENAI_API_KEY=your_openai_sk-...
ANTHROPIC_API_KEY=your_anthropic_sk-...
GEMINI_API_KEY=your_google_ai_studio_key...
# Optional: Additional provider keys
DEEPSEEK_API_KEY=your_deepseek_key...
OPENROUTER_API_KEY=your_openrouter_key...
GROK_API_KEY=your_grok_key...
# --- Server Configuration ---
GATEWAY_SERVER_PORT=8013
GATEWAY_SERVER_HOST=127.0.0.1 # Change to 0.0.0.0 for external access
# --- Optional Configuration ---
# LOG_LEVEL=INFO # DEBUG, INFO, WARNING, ERROR, CRITICAL
# GATEWAY_CACHE_ENABLED=true
# FILESYSTEM__ALLOWED_DIRECTORIES=["/path/to/safe/dir1","/path/to/safe/dir2"]
Start the server using the command-line interface:
# Basic server start with default settings
umcp run
# Run with specific host and port
umcp run -h 0.0.0.0 -p 9000
# Use streamable-http transport (recommended for HTTP clients)
umcp run -t shttp
# Run only with specific tools
umcp run --include-tools completion chunk_document read_file write_file
# Run with all tools except certain ones
umcp run --exclude-tools browser_init browser_navigate
The server exposes dozens of powerful capabilities through MCP tools that can be called by AI agents like Claude or custom applications using the MCP client. Here are some key functionalities:
The server provides a powerful CLI for management:
# List available providers
umcp providers
# Test a specific provider
umcp test anthropic --model claude-3-5-sonnet-20241022
# Generate text directly from CLI
umcp complete --prompt "Write a short poem about coding"
# List available tools
umcp tools
# Run example scripts
umcp examples rag_example
When deploying the server:
The server supports various deployment options:
For detailed information on specific tools, advanced configuration, and example code, refer to the project documentation and example files.
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "llm-gateway" '{"command":"umcp","args":["run","-t","shttp"]}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"llm-gateway": {
"command": "umcp",
"args": [
"run",
"-t",
"shttp"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"llm-gateway": {
"command": "umcp",
"args": [
"run",
"-t",
"shttp"
]
}
}
}
3. Restart Claude Desktop for the changes to take effect