MCP Catalogs
HomeMCP-Bridge screenshot

MCP-Bridge

by SecretiveShell·925·Score 51

MCP-Bridge acts as middleware to provide OpenAI-compatible endpoints that call MCP tools.

ai-llmdeveloper-toolsproductivity
115
Forks
35
Open issues
5 mo ago
Last commit
2d ago
Indexed

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:

you:Integrating MCP tools with OpenAI-based applications like Open WebUI
you:Providing an OpenAI-compatible interface for legacy systems that need MCP functionality
you:Simplifying the integration of multiple MCP tools into AI applications without MCP native support
you:What is MCP-Bridge?
you:Is MCP-B still maintained?
you:What MCP features are currently supported?

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

openai-mcpmcp-serverlangchain-mcp

Installation

Docker Installation

  1. Clone the repository
  2. Edit the compose.yml file to reference your config.json file
  3. Run with docker-compose up --build -d

Manual Installation

  1. Clone the repository
  2. Install dependencies: uv sync
  3. Create a config.json file in the root directory
  4. 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

GitHub →

Last updated · Auto-generated from public README + GitHub signals.