Skip to content

feat: PR: Add MCP-Bridge install/use instructions to DOCS #443

Open
@rgaricano

Description

@rgaricano

PR: Add MCP-Bridge install/use instructions to DOCS

and if possible other ways to install it as docker or pip ( pip install MCP-Bridge )
Reference Discussions: open-webui/open-webui#7363


(SecretiveShell/MCP-Bridge is licensed under the MIT License)

Installing MPC-Bridge with Ollama in Open-WebUI

Clone repo
git clone https://github.com/SecretiveShell/MCP-Bridge.git

Install MPC-bridge,

cd MCP-Bridge
uv sync

make your mpc-bridge config file, create config.json
(models are not necessary, it take its as other connections)
e.g. (inference_server is ollama's installed network address, network is config network address of MCP_Bridge server)

{
   "inference_server": {
      "base_url": "http://127.0.0.1:11434/v1",
      "api_key": "None"
   },
    "mcp_servers": {
        "fetch": {
            "command": "uvx",
            "args": [
                "mcp-server-fetch"
            ]
        }
    },
    "sampling": {
        "timeout": 10,
        "models": [
            {
                "model": "llama3.2:latest",
                "intelligence": 0.5,
                "cost": 0,
                "speed": 0.6
            },
            {
                "model": "deepseek-r1:8b",
                "intelligence": 0.7,
                "cost": 0,
                "speed": 0.4
            }
        ]
    },
    "network": {
        "host": "0.0.0.0",
        "port": 9090
    },
    "logging": {
        "log_level": "DEBUG"
    }
}

run server
uv run mcp_bridge/main.py
& check thats is runnig
openwebui-mpc-bridge
openwebui-mpc-bridge1

On openwebui add a openai api compatible connection for mpc-bridge server, and check:

openwebui-mpc-bridge2

Now you have all models as normal, but duplicated (one from ollama and one from mpc-bridge, one with size other without), to no be confused you can switch off ollama connection.

And voila, you have all models on tab & you can chat telling for use tools, or ask for avaible tools ;-)

openwebui-mpc-bridge3

(if is running fine you can change log_level to "INFO", install it as service,...)

Desired Solution you'd like

Add to docs instructions to config/|install MCP-Bridge in Open-WebUI

Alternatives Considered

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions