LLM Bridge MCP
@sjquant
LLM Bridge MCP について
A model-agnostic Message Control Protocol (MCP) server that enables seamless integration with various Large Language Models (LLMs) like GPT, DeepSeek, Claude, and more.
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"llm-bridge-mcp": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@sjquant/llm-bridge-mcp",
"--client",
"claude"
]
}
}
}ツール
5The text prompt to send to the LLM
Specific model to use (default: "openai:gpt-4o-mini")
Controls randomness (0.0 to 1.0)
Maximum number of tokens to generate
Optional system prompt to guide the model's behavior
概要
What is LLM Bridge MCP?
LLM Bridge MCP allows AI agents to interact with multiple large language models through a standardized interface. It leverages the Message Control Protocol (MCP) to provide seamless access to different LLM providers, making it easy to switch between models or use multiple models in the same application.
How to use LLM Bridge MCP?
Configure API keys in a .env file (or pass them as environment variables) and then add a server entry to your Claude Desktop or Cursor configuration. The server exposes a single tool, run_llm, which accepts a prompt, optional model name (default openai:gpt-4o-mini), temperature, max tokens, and system prompt.
Key features of LLM Bridge MCP
- Unified interface to OpenAI, Anthropic, Google, and DeepSeek models.
- Built with Pydantic AI for type safety and validation.
- Supports customizable temperature and max tokens parameters.
- Provides usage tracking and metrics.
- Simple single-tool API:
run_llm.
Use cases of LLM Bridge MCP
- Let an AI agent query multiple LLM providers from one integration.
- Switch models in a running application without reconfiguration.
- Compare outputs from GPT, Claude, Gemini, and DeepSeek in the same workflow.
- Build a multi-model assistant that can choose the best model per task.
FAQ from LLM Bridge MCP
Which LLM providers are supported?
OpenAI (GPT models), Anthropic (Claude models), Google (Gemini models), and DeepSeek.
How do I install LLM Bridge MCP?
You can install it automatically via Smithery (npx -y @smithery/cli install @sjquant/llm-bridge-mcp --client claude) or manually by cloning the repository and following the manual installation steps.
How do I configure API keys?
Create a .env file in the root directory with keys like OPENAI_API_KEY, ANTHROPIC_API_KEY, GOOGLE_API_KEY, and DEEPSEEK_API_KEY. Alternatively, pass them as environment variables in the MCP server configuration.
How do I use LLM Bridge MCP with Claude Desktop or Cursor?
Add a server entry to your Claude Desktop configuration or .cursor/mcp.json file, specifying the command uvx and the package name llm-bridge-mcp, along with the required API keys.
What does the "spawn uvx ENOENT" error mean?
It means the system cannot find the uvx executable in your PATH. Find the full path to uvx using which uvx (macOS/Linux) or where.exe uvx (Windows), then update your MCP server configuration to use that full path.
「AI とエージェント」の他のコンテンツ
mcp-hfspace MCP Server 🤗
evalstateMCP Server to Use HuggingFace spaces, easy configuration and Claude Desktop mode.
Gemini MCP Server
aliargunMCP server implementation for Google's Gemini API
MCP Client for Ollama (ollmcp)
joniglHarness the power of local LLMs with this TUI MCP Client for Ollama. Featuring all core MCP primitives (tools, prompts, resources), agent mode, multi-server, model switching, streaming responses, human-in-the-loop, thinking mode, model params config, system prompts, and saved pre
MCP Server - Remote MacOs Use
baryhuangThe only general AI agent that does NOT requires extra API key, giving you full control on your local and remote MacOs from Claude Desktop App
1Panel
1Panel-dev🔥 1Panel is a modern, open-source VPS control panel — and the only one with native AI agent support. Run Ollama models, deploy OpenClaw agents, and manage your entire server stack from one clean web interface.
コメント