Consolidate portable MCPs in Unraid MCPHub
This commit is contained in:
1 parent
d38af69380
commit
cca1fb217e
15 files changed
+589
-39
No files matched your search
@@ -504,4 +504,8 @@ def deemix_cancel_all() -> str:
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
mcp.run(transport="streamable-http")
|
||||
# MCPHub manages local servers as stdio subprocesses. The standalone
|
||||
# Athena container can keep using Streamable HTTP by setting
|
||||
# MCP_TRANSPORT=streamable-http, so the same source works in both places
|
||||
# during the migration.
|
||||
mcp.run(transport=os.environ.get("MCP_TRANSPORT", "stdio"))
|
||||
Reference in new issue
Block a user