feat: Add shortcut script for launching OpenManus MCP server

This commit is contained in:
Sheng Fan 2025-03-21 18:24:23 +08:00
parent a61ef9b737
commit 30342247c0

10
run_mcp_server.py Normal file
View File

@ -0,0 +1,10 @@
# coding: utf-8
# A shortcut to launch OpenManus MCP server, where its introduction also solves other import issues.
from app.mcp.server import *
if __name__ == "__main__":
args = parse_args()
# Create and run server (maintaining original flow)
server = MCPServer()
server.run(transport=args.transport)