{"type":"mcp_server","name":"mcp-llm-bridge","description":"This repository provides a bridge connecting Model Context Protocol (MCP) servers to OpenAI-compatible LLMs, enabling the use of MCP-compliant tools with models like GPT-4o through a standardized interface.","category":"AI","language":"Python","stars":333,"forks":33,"owner":"bartolli","github_url":"https://github.com/bartolli/mcp-llm-bridge","homepage":null,"setup":"## Setup\n\n1.  Install `uv`: `curl -LsSf https://astral.sh/uv/install.sh | sh`\n2.  Clone the repository: `git clone https://github.com/bartolli/mcp-llm-bridge.git`\n3.  Change directory: `cd mcp-llm-bridge`\n4.  Create a virtual environment: `uv venv`\n5.  Activate the virtual environment: `source .venv/bin/activate`\n6.  Install the package: `uv pip install -e .`\n7.  Create test database: `python -m mcp_llm_bridge.create_test_db`\n8.  Create `.env` file and set `OPENAI_API_KEY` and `OPENAI_MODEL`.\n9.  Configure the bridge in `src/mcp_llm_bridge/main.py` with `BridgeConfig` and `LLMConfig`.\n10. Install test dependencies: `uv pip install -e \".[test]\"`\n","tools":"## Available Tools\n\n1.  **MCP LLM Bridge** (A bridge connecting Model Context Protocol (MCP) servers to OpenAI-compatible LLMs).\n2.  **Bidirectional protocol translation layer** (Converts MCP tool specifications into OpenAI function schemas and handles the mapping of function invocations back to MCP tool executions).\n3.  **OpenAI API support** (Primary support for OpenAI API, with additional compatibility for local endpoints that implement the OpenAI API specification).\n4.  **OpenAI function-calling interface** (Enables any OpenAI-compatible language model to leverage MCP-compliant tools through a standardized interface).\n5.  **Ollama compatibility** (Works with Ollama by configuring the `base_url` and `model` in `LLMConfig`).\n6.  **LM Studio compatibility** (Potentially works with LM Studio by configuring the `base_url` and `model` in `LLMConfig`).","faq":null,"created_at":"2024-12-03T02:10:10+00:00","updated_at":"2025-03-28T23:58:06+00:00","source_url":"https://model-context-protocol.com/servers/mcp-llm-bridge-openai-compatible-models","related_articles":[]}