Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup #10

Open
jmagar opened this issue Dec 20, 2024 · 5 comments
Open

Setup #10

jmagar opened this issue Dec 20, 2024 · 5 comments

Comments

@jmagar
Copy link

jmagar commented Dec 20, 2024

How exactly do you set it up? Do you point mcp-bridge at my llm provider (openrouter) and then point open webui to the bridge or what?

@SecretiveShell
Copy link
Owner

Please refer to the how it works section for a diagram of how it works

https://github.com/SecretiveShell/MCP-Bridge/blob/5c34292eb9a51f9c90f77783ef79cd7e5d56ec19/README.md#how-does-it-work

Configure MCP-Bridge to point to your inference provider and then point your client at MCP Bridge.

OWUI --> MCP-Bridge --> Open Router

note that open router must have OAI style tool calling for this to work, and I have not tested it.

@gl2007
Copy link

gl2007 commented Dec 28, 2024

So our application should call the MCP Bridge as a "drop in" for the OpenAI API? I am guessing scaling wouldn't be an issue since deployment via docker can take care of that.

@SecretiveShell
Copy link
Owner

So our application should call the MCP Bridge as a "drop in" for the OpenAI API? I am guessing scaling wouldn't be an issue since deployment via docker can take care of that.

Yes, you can use MCP-Bridge as a drop in replacement for openai API

@baryhuang
Copy link

Does this work with docker type of mcp server. How does docker command works inside a container?

@SecretiveShell
Copy link
Owner

@buryhuang there are a few ways to go about this. You can:

  • use docker in docker
  • use docker out of docker (mount docker socket to container)

both methods will require you to install the docker CLI in the container build file, and you would specify an STDIO server with the docker run command

I have considered adding special support to run docker containers directly but I have not gotten around to it yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants