-
-
Notifications
You must be signed in to change notification settings - Fork 79
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
DOC: Installing MCP-Bridge with Ollama in Open-WebUI #54
Comments
This is a great resource! I would love to see it in the official documentation, if you are happy to submit a pr. |
This is caused by the tool call parser inside of ollama failing to recognise the start of a tool call and putting the tokens into the chat completion. I would suggest using a different model because llama3.2 1b/3b are incredibly weak when it comes to tool calling. Look around 32b parameter size and make sure the template has tool calling support. Llama 3.1 8b is around the minimum bar from my experience. |
Awesome, the reason was a mvp to just make it work. Did ran with qwq 32b model to test and worked! thanks :) |
Thanks man!!!
(my penny)
Installing MPC-Bridge with Ollama in Open-WebUI
Clone repo
git clone https://github.com/SecretiveShell/MCP-Bridge.git
Install MPC-bridge,
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)
run server


uv run mcp_bridge/main.py
& check thats is runnig
On openwebui add a openai api compatible connection for mpc-bridge server, and check:
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 ;-)
(if is running fine you can change log_level to "INFO", install it as service,...)
open-webui/open-webui#7363 (comment)
The text was updated successfully, but these errors were encountered: