SecretiveShell Bridge

Agent frameworks and SDKsDeveloper tools

A middleware to provide an openAI compatible endpoint that can call MCP tools.

Your AI app calls the SecretiveShell Bridge MCP server, which does the agent frameworks and SDKs and developer tools work and sends the result back to the chat.

About SecretiveShell Bridge

SecretiveShell Bridge is a community MCP server from SecretiveShell, filed in our directory under agent frameworks and sdks and developer tools. A middleware to provide an openAI compatible endpoint that can call MCP tools.

At a glance

Publisher
SecretiveShell (community)
Runs
See the README for setup
Written in
Python
License
MIT
GitHub stars
922

How to set up SecretiveShell Bridge

  1. Follow the install steps in the SecretiveShell Bridge README; it is written in Python, so have that toolchain ready.
  2. Check the SecretiveShell Bridge README for keys or settings; the registry lists none that SecretiveShell Bridge requires.
  3. Add SecretiveShell Bridge to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the SecretiveShell Bridge tools to confirm the connection.
  5. Run one read-only task with SecretiveShell Bridge first, and keep your app asking before each tool call until the results look right.

SecretiveShell Bridge compared with similar servers

  • Nixos by utensils has fewer GitHub stars than SecretiveShell Bridge (894 against 922); both are community servers, and both run locally.
  • Microsoft Gateway by microsoft has more GitHub stars than SecretiveShell Bridge (930 against 922); Microsoft Gateway is official while SecretiveShell Bridge is a community server, and both run locally.
  • Devnors Data by DevnorsAI has fewer GitHub stars than SecretiveShell Bridge (866 against 922); both are community servers, and Devnors Data runs as a remote server and SecretiveShell Bridge runs on your own machine.

Before you connect SecretiveShell Bridge

  • Give SecretiveShell Bridge its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each SecretiveShell Bridge tool call until you trust what it does with them.
  • Treat text that SecretiveShell Bridge fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for SecretiveShell Bridge on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for SecretiveShell Bridge

How marketing and sales teams put SecretiveShell Bridge to work, by company size. Pick the size closest to yours and start SecretiveShell Bridge on one use case.

Small business

  • A small business with a developer can use SecretiveShell Bridge to build one focused agent, such as lead follow-up, without a big platform.
  • Technical founders can prototype marketing agents with SecretiveShell Bridge and keep what works as a small, owned tool.
  • A small business with a developer can use SecretiveShell Bridge to ship site and tracking fixes faster, with the AI reading the code it changes.
  • SecretiveShell Bridge runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Growth engineering teams can use SecretiveShell Bridge to build agents that combine CRM, analytics and content tools behind one workflow.
  • Marketing ops can standardize on SecretiveShell Bridge so every agent they ship has the same logging, approvals and error handling.
  • Growth engineers can use SecretiveShell Bridge to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
  • Start SecretiveShell Bridge on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises can build on SecretiveShell Bridge with their own identity, policy and evaluation layers, so agents meet the same bar as other software.
  • Platform teams can use SecretiveShell Bridge to give business units a governed way to ship agents without each one starting from scratch.
  • Enterprise engineering teams can roll out SecretiveShell Bridge with repo scopes and audit logs, so agents work only where they are allowed.
  • SecretiveShell Bridge is a community server, so have security review the code and pin a version before SecretiveShell Bridge touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

SecretiveShell Bridge README

From SecretiveShell/MCP-Bridge on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

MCP-Bridge

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.

Overview

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.

Current Features

working features:

  • non streaming chat completions with MCP

  • streaming chat completions with MCP

  • non streaming completions without MCP

  • MCP tools

  • MCP sampling

  • SSE Bridge for external clients

planned features:

  • streaming completions are not implemented yet

  • MCP resources are planned to be supported

Installation

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.

Docker installation
  1. Clone the repository

  2. Edit the compose.yml file

You will need to add a reference to the config.json file in the compose.yml file. Pick any of

  • add the config.json file to the same directory as the compose.yml file and use a volume mount (you will need to add the volume manually)
  • add a http url to the environment variables to download the config.json file from a url
  • add the config json directly as an environment variable

see below for an example of each option:

environment:
  - MCP_BRIDGE__CONFIG__FILE=config.json # mount the config file for this to work
  - MCP_BRIDGE__CONFIG__HTTP_URL=http://10.88.100.170:8888/config.json
  - MCP_BRIDGE__CONFIG__JSON={"inference_server":{"base_url":"http://example.com/v1","api_key":"None"},"mcp_servers":{"fetch":{"command":"uvx","args":["mcp-server-fetch"]}}}

The mount point for using the config file would look like:

    volumes:
      - ./config.json:/mcp_bridge/config.json
  1. run the service
docker-compose up --build -d
Manual installation (no docker)

If you want to run the application without docker, you will need to install the requirements and run the application manually.

  1. Clone the repository

  2. Set up a dependencies:

uv sync
  1. Create a config.json file in the root directory

Here is an example config.json file:

{
   "inference_server": {
      "base_url": "http://example.com/v1",
      "api_key": "None"
   },
   "mcp_servers": {
      "fetch": {
        "command": "uvx",
        "args": ["mcp-server-fetch"]
      }
   }
}
  1. Run the application:
uv run mcp_bridge/main.py

Usage

Once the application is running, you can interact with it using the OpenAI API.

View the documentation at http://yourserver:8000/docs. There is an endpoint to list all the MCP tools available on the server, which you can use to test the application configuration.

Rest API endpoints

MCP-Bridge exposes many rest api endpoints for interacting with all of the native MCP primatives. This lets you outsource the complexity of dealing with MCP servers to MCP-Bridge without comprimising on functionality. See the openapi docs for examples of how to use this functionality.

SSE Bridge

MCP-Bridge also provides an SSE bridge for external clients. This lets external chat apps with explicit MCP support use MCP-Bridge as a MCP server. Point your client at the SSE endpoint (http://yourserver:8000/mcp-server/sse) and you should be able to see all the MCP tools available on the server.

This also makes it easy to test if your configuration is working correctly. You can use wong2/mcp-cli to test your configuration. npx @wong2/mcp-cli --sse http://localhost:8000/mcp-server/sse

If you want to use the tools inside of claude desktop or other STDIO only MCP clients, you can do this with a tool such as lightconetech/mcp-gateway

Configuration

To add new MCP servers, edit the config.json file.

API Key Authentication

MCP-Bridge supports API key authentication to secure your server. To enable this feature, add something like this to your config.json file:

{
    "security": {
      "auth": {
        "enabled": true,
        "api_keys": [
          {
            "key": "your-secure-api-key-here"
          }
        ]
      }
    }
}

When making requests to the MCP-Bridge server, include the API key in the Authorization header as a Bearer token:

Authorization: Bearer your-secure-api-key-here

If the api_key field is empty or not present in the configuration, authentication will be skipped, allowing backward compatibility.

Full Configuration Example

an example config.json file with most of the options explicitly set:

{
    "inference_server": {
        "base_url": "http://localhost:8000/v1",
        "api_key": "None"
    },
    "sampling": {
        "timeout": 10,
        "models": [
            {
                "model": "gpt-4o",
                "intelligence": 0.8,
                "cost": 0.9,
                "speed": 0.3
            },
            {
                "model": "gpt-4o-mini",
                "intelligence": 0.4,
                "cost": 0.1,
                "speed": 0.7
            }
        ]
    },
    "mcp_servers": {
        "fetch": {
            "command": "uvx",
            "args": [
                "mcp-server-fetch"
            ]
        }
    },
    "security": {
      "auth": {
        "enabled": true,
        "api_keys": [
          {
            "key": "your-secure-api-key-here"
          }
        ]
      }
    },
    "network": {
        "host": "0.0.0.0",
        "port": 9090
    },
    "logging": {
        "log_level": "DEBUG"
    }
}
Section Description
inference_server The inference server configuration
mcp_servers The MCP servers configuration
network uvicorn network configuration
logging The logging configuration
api_key API key for server authentication

Support

If you encounter any issues please open an issue or join the discord.

There is also documentation available github.com/docs/README.md.

How does it work

The application sits between the OpenAI API and the inference engine. An incoming request is modified to include tool definitions for all MCP tools available on the MCP servers. The request is then forwarded to the inference engine, which uses the tool definitions to create tool calls. MCP bridge then manage the calls to the tools. The request is then modified to include the tool call results, and is returned to the inference engine again so the LLM can create a response. Finally, the response is returned to the OpenAI API.

sequenceDiagram
    participant OpenWebUI as Open Web UI
    participant MCPProxy as MCP Proxy
    participant MCPserver as MCP Server
    participant InferenceEngine as Inference Engine

    OpenWebUI ->> MCPProxy: Request
    MCPProxy ->> MCPserver: list tools
    MCPserver ->> MCPProxy: list of tools
    MCPProxy ->> InferenceEngine: Forward Request
    InferenceEngine ->> MCPProxy: Response
    MCPProxy ->> MCPserver: call tool
    MCPserver ->> MCPProxy: tool response
    MCPProxy ->> InferenceEngine: llm uses tool response
    InferenceEngine ->> MCPProxy: Response
    MCPProxy ->> OpenWebUI: Return Response

Contribution Guidelines

Contributions to MCP-Bridge are welcome! To contribute, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them.
  4. Push your changes to your fork.
  5. Create a pull request to the main repository.

License

MCP-Bridge is licensed under the MIT License. See the LICENSE file for more information.

Questions about SecretiveShell Bridge

What is the SecretiveShell Bridge MCP server?

A middleware to provide an openAI compatible endpoint that can call MCP tools. SecretiveShell Bridge is maintained by SecretiveShell on GitHub at SecretiveShell/MCP-Bridge, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the SecretiveShell Bridge MCP server?

SecretiveShell Bridge doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (SecretiveShell/MCP-Bridge). Like most servers, SecretiveShell Bridge ends with a command or URL you paste into your AI app's MCP config.

Does SecretiveShell Bridge need an API key?

The registry lists no required keys for SecretiveShell Bridge. Check the SecretiveShell Bridge README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is SecretiveShell Bridge an official MCP server?

No. SecretiveShell Bridge is a community server maintained by SecretiveShell. Community servers can be excellent; read the code and the open issues before you give SecretiveShell Bridge access to company data.

What license is SecretiveShell Bridge under?

SecretiveShell Bridge is released under the MIT license, according to its GitHub repository. The license covers the code of SecretiveShell Bridge; the service it connects to has its own terms.