mirror of
https://github.com/open-webui/mcpo.git
synced 2026-11-05 01:27:39 +00:00
[GH-ISSUE #249] issue: ValueError: Server 'web-search-prime' must have either 'command' for stdio or 'type' and 'url' for remote servers #114
Labels
No labels
bug
can't reproduce
documentation
enhancement
good first issue
help wanted
invalid
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/mcpo#114
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Charles7c on GitHub (Sep 17, 2025).
Original GitHub issue: https://github.com/open-webui/mcpo/issues/249
Check Existing Issues
mcpo Version
latest
Open WebUI Version (if applicable)
v0.6.5
Operating System
Windows 10
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Normal
Actual Behavior
it won't work
Steps to Reproduce
1.edit config.json
2.run
Logs & Screenshots
/app/.cache/uv/archive-v0/DenW0z9s8AaQzrqPxGUj9/lib/python3.13/site-packages │
│ /mcpo/main.py:70 in validate_server_config │
│ │
│ 67 │ │ # Fallback for old SSE config without explicit type │
│ 68 │ │ pass │
│ 69 │ else: │
│ ❱ 70 │ │ raise ValueError(f"Server '{server_name}' must have either 'co │
│ 71 │
│ 72 │
│ 73 def load_config(config_path: str) -> Dict[str, Any]: │
│ │
│ ╭───────────────────────────────── locals ─────────────────────────────────╮ │
│ │ server_cfg = { │ │
│ │ │ 'type': 'http', │ │
│ │ │ 'url': │ │
│ │ 'https://open.bigmodel.cn/api/mcp/web_search_prime/mcp', │ │
│ │ │ 'headers': { │ │
│ │ │ │ 'Authorization': 'Bearer │ │
│ │ xxxxx' │ │
│ │ │ } │ │
│ │ } │ │
│ │ server_name = 'web-search-prime' │ │
│ │ server_type = 'http' │ │
│ ╰──────────────────────────────────────────────────────────────────────────╯ │
╰──────────────────────────────────────────────────────────────────────────────╯
ValueError: Server 'web-search-prime' must have either 'command' for stdio or
'type' and 'url' for remote servers
Additional Information
No response
@skelz0r commented on GitHub (Sep 25, 2025):
I have the same issue, did you find a way to fix it?
@Charles7c commented on GitHub (Sep 26, 2025):
No way, I ended up deleting this MCP Server and replacing it with one.
@skelz0r commented on GitHub (Sep 26, 2025):
Can you reopen the issue? This bug is legit. Btw, what did you use to plug a MCP server?
@skelz0r commented on GitHub (Sep 26, 2025):
Ok I figured it out: I have to use
streamable-httprefgithub.com/open-webui/mcpo@44ce6d05b0/src/mcpo/main.py (L57)