12 lines
342 B
Python
12 lines
342 B
Python
# coding: utf-8
|
|
# A shortcut to launch OpenManus MCP server, where its introduction also solves other import issues.
|
|
from app.mcp.server import MCPServer, parse_args
|
|
|
|
|
|
if __name__ == "__main__":
|
|
args = parse_args()
|
|
|
|
# Create and run server (maintaining original flow)
|
|
server = MCPServer()
|
|
server.run(transport=args.transport)
|