mirror of
https://github.com/open-webui/mcpo.git
synced 2026-11-05 01:27:39 +00:00
[GH-ISSUE #260] issue: Startup Error: "asyncio.run() cannot be called from a running event loop" #119
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#119
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 @daryltucker on GitHub (Oct 10, 2025).
Original GitHub issue: https://github.com/open-webui/mcpo/issues/260
Originally assigned to: @taylorwilsdon on GitHub.
Check Existing Issues
mcpo Version
v1.0
sha256:af810dc3deb1769425bb0f0001d27097a434322f8e66a4d095369a7c087047e8
Open WebUI Version (if applicable)
No response
Operating System
It's whatever you packaged open-webui/mcpo:main
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Able to run Streamable HTTP MCP Server
Actual Behavior
MCP Server fails to start.
Steps to Reproduce
Runs fine without the
--server-typeand everything after.Documentation states I should be able to use this command to run
mcpoin Streamable HTTP mode.Logs & Screenshots
Additional Information
I don't understand how I could be messing this up.
@daryltucker commented on GitHub (Oct 10, 2025):
This is the second time, reading the documentation, I feel like there is a way to put
mcpoin HTTP Streamable Mode, or SSE.If this isn't the case please clarify. I wont close this ticket this time so you can see what's going on.
@daryltucker commented on GitHub (Oct 10, 2025):
I thought maybe you wanted me to painstakingly do this to all of my entries:
But not even that works because
timeisn't being served whenmcpostarts up....@daryltucker commented on GitHub (Oct 10, 2025):
So I guess I'll just set up a second
mcposerver and init after this first one starts....@daryltucker commented on GitHub (Oct 10, 2025):
https://github.com/modelcontextprotocol/inspector/issues/860
@taylorwilsdon commented on GitHub (Oct 18, 2025):
What MCP are you actually running here? If it's actually mcp-server-time (https://github.com/Taki-Ta/mcp-server-time) that project does not appear to support streamable HTTP, so that's not going to work. mcpo is a proxy to expose an MCP as an OpenAPI spec tool server, it doesn't take something that doesn't support streamable http and make it streamable http - that flag is for a server that's running AS streamable HTTP.
From the logs in the initial listing, it was trying to start with a blank config. I'm guess-suming
/mcp-config.jsonisn't a valid path? Unless you're actually storing mcp-config in your system root.