mirror of
https://github.com/open-webui/mcpo.git
synced 2026-11-05 01:27:39 +00:00
[GH-ISSUE #117] issue: schema_defs is not properly passed through this chain. #54
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#54
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 @dmytroDragan on GitHub (May 2, 2025).
Original GitHub issue: https://github.com/open-webui/mcpo/issues/117
Check Existing Issues
mcpo Version
v0.0.13
Open WebUI Version (if applicable)
Operating System
macOS Sequoia 15.4.1
Browser (if applicable)
Confirmation
README.md.Expected Behavior
When I run
the mcpo will generate a proper endpoints for the mcp-server-datahub (https://github.com/acryldata/mcp-server-datahub) MCP server.
Actual Behavior
Fails with the error
Steps to Reproduce
Logs & Screenshots
Additional Information
This occurs in _process_schema_property when trying to check if a reference exists in schema_defs:
The problem is that schema_defs is None when it's being passed to _process_schema_property. This happens because:
Let's look at the call chain:
@tjbck commented on GitHub (May 3, 2025):
PR Welcome!
@bmen25124 commented on GitHub (May 5, 2025):
I'm getting the same error since the new version. The entire pipeline is broken for me 😶
this pr causing the issue. For example, it tries to get model fields:
But the thing is, there is no
$defsin the object.@JinY0ung-Shin Could you look at this? I tried on 2 different MCP servers, they are not working anymore. Previously, they were working.
@bmen25124 commented on GitHub (May 5, 2025):
Okay I looked into the issue. It happens when the reference is not in the defs, but in properties. Example:
Example inputSchema
@pipars commented on GitHub (Jun 27, 2025):
It seems like there is no fix yet, right? Did anyone come up with resulution, becasue I am still at v0.0.12 and cannot move forward. Is it specific to a narrow subset of mcp servers? I am using neo4j and it does not work as soon as I move to v.0.0.13
@jemilsson commented on GitHub (Jul 2, 2025):
I don't believe this is fixed yet. I've tried running the latest version and the latest commits, but it keeps crashing for us. For us it is using the Shortcut MCP that is resulting in the crashes. We will keep runing 0.0.12 for now.
@pipars commented on GitHub (Aug 2, 2025):
it seems to be fixed with v0.0.17
@mekhami commented on GitHub (Aug 28, 2025):
I'm running into this issue as well on 0.0.17 (or at least, I think it's 0.0.17 - the
mcpo --versioncommand fails for whatever reason.@DaRacci commented on GitHub (Sep 9, 2025):
Still experiencing this on 0.0.17 too, seeing this with the command
mcpo -- npx -y anilist-mcp