SecretiveShell/MCP-Bridge
A middleware to provide an openAI compatible endpoint that can call MCP tools
Platform-specific configuration:
{
"mcpServers": {
"MCP-Bridge": {
"command": "npx",
"args": [
"-y",
"MCP-Bridge"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
<p> <a href="https://discord.gg/4NVQHqNxSZ"></a> <a href="/docs/README.md"></a> <a href="LICENSE"></a> </p>
MCP-Bridge acts as a bridge between the OpenAI API and MCP (MCP) tools, allowing developers to leverage MCP tools through the OpenAI API interface.
> [!NOTE] > > Looking for new maintainers to assist with the project. Reach out in the Discord or open an issue if you are interested. > > Additionally, Open WebUI natively supports MCP (Model Context Protocol) starting in v0.6.31, so MCP-Bridge should be considered as soft deprecated now.
MCP-Bridge is designed to facilitate the integration of MCP tools with the OpenAI API. It provides a set of endpoints that can be used to interact with MCP tools in a way that is compatible with the OpenAI API. This allows you to use any client with any MCP tool without explicit support for MCP. For example, see this example of using Open Web UI with the official MCP fetch tool.
working features:
planned features:
The recommended way to install MCP-Bridge is to use Docker. See the example compose.yml file for an example of how to set up docker.
Note that this requires an inference engine with tool call support. I have tested this with vLLM with success, though ollama should also be compatible.
Loading reviews...