LLM Bridge MCP
LLM ブリッジ MCP
LLM Bridge MCPは、AIエージェントが標準化されたインターフェースを介して複数の大規模言語モデルと対話することを可能にします。メッセージ制御プロトコル(MCP)を活用して、異なるLLMプロバイダーへのシームレスなアクセスを提供し、モデル間の切り替えや、同一アプリケーション内での複数のモデルの使用を容易にします。
特徴
複数の LLM プロバイダーへの統合インターフェース:
OpenAI(GPTモデル)
人類学的(クロードモデル)
Google(ジェミニモデル)
ディープシーク
...
型安全性と検証のためにPydantic AIを搭載
温度や最大トークンなどのカスタマイズ可能なパラメータをサポート
使用状況の追跡と指標を提供します
Related MCP server: MindBridge MCP Server
ツール
サーバーは次のツールを実装します。
run_llm(
prompt: str,
model_name: KnownModelName = "openai:gpt-4o-mini",
temperature: float = 0.7,
max_tokens: int = 8192,
system_prompt: str = "",
) -> LLMResponseprompt: LLMに送信するテキストプロンプトmodel_name: 使用する特定のモデル(デフォルト: "openai:gpt-4o-mini")temperature: ランダム性を制御します(0.0~1.0)max_tokens: 生成するトークンの最大数system_prompt: モデルの動作をガイドするオプションのシステムプロンプト
インストール
Smithery経由でインストール
Smithery経由で Claude Desktop 用の llm-bridge-mcp を自動的にインストールするには:
npx -y @smithery/cli install @sjquant/llm-bridge-mcp --client claude手動インストール
リポジトリをクローンします。
git clone https://github.com/yourusername/llm-bridge-mcp.git
cd llm-bridge-mcpuvをインストールします (まだインストールされていない場合)。
# On macOS
brew install uv
# On Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# On Windows
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"構成
API キーを使用してルート ディレクトリに.envファイルを作成します。
OPENAI_API_KEY=your_openai_api_key
ANTHROPIC_API_KEY=your_anthropic_api_key
GOOGLE_API_KEY=your_google_api_key
DEEPSEEK_API_KEY=your_deepseek_api_key使用法
Claude DesktopまたはCursorと併用
Claude Desktop 構成ファイルまたは.cursor/mcp.jsonにサーバー エントリを追加します。
"mcpServers": {
"llm-bridge": {
"command": "uvx",
"args": [
"llm-bridge-mcp"
],
"env": {
"OPENAI_API_KEY": "your_openai_api_key",
"ANTHROPIC_API_KEY": "your_anthropic_api_key",
"GOOGLE_API_KEY": "your_google_api_key",
"DEEPSEEK_API_KEY": "your_deepseek_api_key"
}
}
}トラブルシューティング
よくある問題
1. 「spawn uvx ENOENT」エラー
このエラーは、システムがPATH内でuvx実行ファイルを見つけられない場合に発生します。解決するには、以下の手順に従ってください。
解決策: uvxへのフルパスを使用する
uvx 実行可能ファイルへの完全なパスを見つけます。
# On macOS/Linux
which uvx
# On Windows
where.exe uvx次に、完全なパスを使用するように MCP サーバー構成を更新します。
"mcpServers": {
"llm-bridge": {
"command": "/full/path/to/uvx", // Replace with your actual path
"args": [
"llm-bridge-mcp"
],
"env": {
// ... your environment variables
}
}
}ライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細については LICENSE ファイルを参照してください。
Available Tools
1 toolrun_llmB
Run a prompt through an LLM and return the response.
Inputs: prompt (required), model_name, temperature, max_tokens, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of ambiguity. The tool's purpose is clear and distinct.
A single tool means naming is trivially consistent. 'run_llm' is descriptive and follows a clear verb_noun pattern.
One tool for an LLM bridge is far too few. Typical servers in this domain include multiple tools for model selection, streaming, or context management.
The server offers only a basic 'run' operation with no supporting tools for model listing, configuration, or advanced features, leaving significant gaps.
Maintenance
Related MCP Connectors
One API key, dozens of capabilities for your AI agent. Zero provider auth.
One MCP endpoint for Claude, GPT & Gemini: 100+ tools + no-code connectors + agent workers.
Build, validate, and deploy multi-agent AI solutions from any AI environment.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceFacilitates enhanced interaction with large language models (LLMs) by providing intelligent context management, tool integration, and multi-provider AI model coordination for efficient AI-driven workflows.MIT
- AlicenseCqualityDmaintenanceAn AI router that connects applications to multiple LLM providers (OpenAI, Anthropic, Google, DeepSeek, Ollama, etc.) with smart model orchestration capabilities, enabling dynamic switching between models for different reasoning tasks.341MIT
- AlicenseAqualityDmaintenanceEnables AI agents to connect to and chat with multiple LLM models (OpenAI, OpenRouter, custom endpoints) with conversation history management and model switching capabilities.318 npm2MIT
- AlicenseNot gradedqualityCmaintenanceEnables IDE agents to delegate coding tasks to any LLM provider — cloud APIs like NVIDIA NIM, OpenRouter, Groq, DeepSeek or local Ollama models — through a unified MCP interface.3MIT