-
-
Notifications
You must be signed in to change notification settings - Fork 108
Open
Description
After facing CORS errors in Open WebUI, I tried to enable CORS. By looking at the code in the master branch, I came up with the following config.json
:
{
"inference_server": {
"base_url": "http://litellm:4000",
"api_key": "**************"
},
"mcp_servers": {
"time": {
"command": "uvx",
"args": ["mcp-server-time"]
}
},
"network": {
"host": "0.0.0.0",
"port": 9090
},
"security": {
"CORS": {
"enabled": true,
"allow_origins": ["*"]
}
}
}
Then, the docker container started failing with:
2025-06-02 21:23:04.102 | INFO | mcp_bridge.config:<module>:22 - Loading config from config.json
2025-06-02 21:23:04.107 | ERROR | mcp_bridge.config:<module>:48 - unable to load a valid configuration
2025-06-02 21:23:04.107 | ERROR | mcp_bridge.config:<module>:50 - security: Extra inputs are not permitted
After digging further in the code, It seams that the image I'm using i.e. ghcr.io/secretiveshell/mcp-bridge/mcp-bridge:0.5.1
(latest?) doesn't have the latest changes related to CORS (see diff).
If thats correct, would it be possible to publish the latest version?
Thanks for your work!
Metadata
Metadata
Assignees
Labels
No labels