
What is MCP-Bridge
MCP-Bridge is a versatile server tool developed by SecretiveShell, designed to act as a bridge between the OpenAI API and Model Context Protocol (MCP) tools. MCP-Bridge enables developers to integrate MCP tools seamlessly through the OpenAI API, allowing for enhanced interaction with various MCP-enabled services. This tool is particularly useful for developers looking to leverage the power of MCP within the OpenAI ecosystem, providing an interface that supports both non-streaming and streaming chat completions using MCP services.
How to Use MCP-Bridge
To use MCP-Bridge, you have two main installation options: Docker and manual setup.
Docker Installation:
- Clone the repository: Begin by cloning the MCP-Bridge repository to your local machine.
- Edit the compose.yml file: Update the
compose.yml
file to include yourconfig.json
configuration. You can add it as a volume, an environment variable, or provide a URL for download. - Run the service: Use the command
docker-compose up --build -d
to start MCP-Bridge.
Manual Installation:
- Clone the repository: Similar to Docker, start by cloning the repository.
- Set up dependencies: Run
uv sync
to install necessary dependencies. - Create a config.json: Place your configuration settings in a
config.json
file. - Run the application: Execute
uv run mcp_bridge/main.py
to launch MCP-Bridge.
Once installed, you can interact with MCP-Bridge through the OpenAI API interface. The server provides various REST API endpoints and a Server-Sent Events (SSE) bridge for external clients, allowing you to utilize MCP tools effectively.
Key Features of MCP-Bridge
- Integration with OpenAI API: MCP-Bridge provides a seamless connection between MCP tools and the OpenAI API, allowing developers to harness MCP capabilities without explicit support.
- Chat Completions: Supports both non-streaming and streaming chat completions with MCP, enhancing the flexibility of interaction.
- SSE Bridge: Enables external clients to connect through an SSE endpoint, facilitating the use of MCP tools in various applications.
- Docker and Manual Setup: Offers straightforward installation procedures, whether using Docker or a manual setup, ensuring accessibility for different user preferences.
- Configurable Options: Through the
config.json
file, users can customize server settings, including API key authentication for enhanced security. - Planned Enhancements: Future updates aim to include streaming completions and additional MCP resource support, extending the tool's functionality.
MCP-Bridge is ideal for developers seeking a robust solution to integrate MCP tools with the OpenAI API, providing a comprehensive set of features and configurations to suit a variety of application needs.
How to Use
To use the MCP-Bridge, follow these steps:
- Visit https://github.com/SecretiveShell/MCP-Bridgehttps://github.com/Secret...
- Follow the setup instructions to create an account (if required)
- Connect the MCP server to your Claude Desktop application
- Start using MCP-Bridge capabilities within your Claude conversations
Additional Information
Created
March 12, 2025
Company
Related MCP Servers
Start building your own MCP Server
Interested in creating your own MCP Server? Check out the official documentation and resources.
Learn More