Check Existing Issues
mcpo Version
0.0.20
Open WebUI Version (if applicable)
Operating System
Debian 13
Browser (if applicable)
No response
Confirmation
Expected Behavior
Mcpo starts, installs dependencies and starts a listener.
Actual Behavior
mcpo doesnt start in the first place.
Steps to Reproduce
- start mcpo via:
uvx mcpo --port 18000 --api-key "<redacted>" --config ./config.json --hot-reload
Logs & Screenshots
╭───────────────────────────────────────────────────────────── Traceback (most recent call last) ───────────────────────────╮
│ /home/loginuser/.cache/uv/archive-v0/ev7leLIhOjDiG_9T/lib/python3.13/site-packages/mcpo/__init__.py:93 in main │
│ │
│ 90 │ │ │ typer.echo("Error: You must specify the MCP server command after '--'") │
│ 91 │ │ │ return │
│ 92 │ │
│ ❱ 93 │ from mcpo.main import run │
│ 94 │ │
│ 95 │ if config_path: │
│ 96 │ │ print("Starting MCP OpenAPI Proxy with config file:", config_path) │
│ │
│ /home/loginuser/.cache/uv/archive-v0/ev7leLIhOjDiG_9T/lib/python3.13/site-packages/mcpo/main.py:20 in <module> │
│ │
│ 17 from mcp import ClientSession, StdioServerParameters │
│ 18 from mcp.client.sse import sse_client │
│ 19 from mcp.client.stdio import stdio_client │
│ ❱ 20 from mcp.client.streamable_http import streamablehttp_client │
│ 21 │
│ 22 from mcpo.utils.auth import APIKeyMiddleware, get_verify_api_key │
│ 23 from mcpo.utils.main import ( │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
ImportError: cannot import name 'streamablehttp_client' from 'mcp.client.streamable_http' (/home/loginuser/.cache/uv/archive-v0/ev7leLIhOjDiG_9T/lib/python3.13/site-packages/mcp/client/streamable_http.py)
Additional Information
EDIT: The docker image of mcpo starts perfectly, but refuses to load and start several mcp-servers, which more or less correlates to the fact that mcp v2 changed many things
Workaround for failing mcp-servers within mcpo on Docker:
Add --with mcp<2 to your uvx arguments for any affected mcp-server:
For example to fix (affected) @modelcontextprotocol/fetch, open config.json and add two lines as follows:
"fetch": {
"command": "uvx",
"args": [
"--with", #<- 1.
"mcp<2", # <- 2.
"mcp-server-fetch"
]
},
Source: modelcontextprotocol/servers#4560
Check Existing Issues
mcpo Version
0.0.20
Open WebUI Version (if applicable)
Operating System
Debian 13
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Mcpo starts, installs dependencies and starts a listener.
Actual Behavior
mcpo doesnt start in the first place.
Steps to Reproduce
Logs & Screenshots
Additional Information
EDIT: The docker image of mcpo starts perfectly, but refuses to load and start several mcp-servers, which more or less correlates to the fact that
mcp v2changed many thingsWorkaround for failing mcp-servers within
mcpoon Docker:Add
--with mcp<2to youruvxarguments for any affected mcp-server:For example to fix (affected)
@modelcontextprotocol/fetch, openconfig.jsonand add two lines as follows:Source: modelcontextprotocol/servers#4560