
MCP-Bridge
by SecretiveShell·★ 925·Score 51
MCP-Bridge acts as middleware to provide OpenAI-compatible endpoints that call MCP tools.
Overview
MCP-Bridge is a middleware that bridges OpenAI API requests to MCP (Model Context Protocol) tools. It provides an OpenAI-compatible interface that allows any client to use MCP tools without native MCP support. The application sits between the OpenAI API and an inference engine, modifying requests to include tool definitions and managing tool calls. It supports both streaming and non-streaming chat completions, with future plans for additional features.
Try asking AI
After installing, here are 6 things you can ask your AI assistant:
When to choose this
Choose MCP-Bridge when you have clients that only support OpenAI API but need to access MCP tools, especially if you're already using Open WebUI v0.6.31+.
When NOT to choose this
Don't choose MCP-Bridge if you're using Open WebUI v0.6.31+ as it now has native MCP support, making MCP-Bridge soft deprecated.
Comparable tools
Installation
Docker Installation
- Clone the repository
- Edit the compose.yml file to reference your config.json file
- Run with
docker-compose up --build -d
Manual Installation
- Clone the repository
- Install dependencies:
uv sync - Create a config.json file in the root directory
- Run the application:
uv run mcp_bridge/main.py
Claude Desktop Configuration
Add to Claude Desktop's config.json:
{
"mcpServers": {
"mcp-bridge": {
"command": "uvx",
"args": ["mcp-bridge"]
}
}
}FAQ
- What is MCP-Bridge?
- MCP-Bridge is a middleware that provides OpenAI-compatible endpoints to call MCP tools, allowing any client to use MCP tools without native MCP support.
- Is MCP-B still maintained?
- The project is looking for new maintainers and notes that Open WebUI natively supports MCP since v0.6.31, making MCP-Bridge somewhat deprecated.
- What MCP features are currently supported?
- Currently supports non-streaming chat completions, streaming chat completions, MCP tools, and MCP sampling. MCP resources are planned for future support.
Compare MCP-Bridge with
Last updated · Auto-generated from public README + GitHub signals.