Files
agentUniverse/examples/sample_apps/multimodal_app/bootstrap/intelligence/mcp_application.py
2025-05-12 20:15:56 +08:00

25 lines
564 B
Python

# !/usr/bin/env python3
# -*- coding:utf-8 -*-
# @Time : 2024/4/8 20:58
# @Author : jerry.zzw
# @Email : jerry.zzw@antgroup.com
# @FileName: server_application.py
from agentuniverse.agent_serve.web.mcp.mcp_server_manager import MCPServerManager
from agentuniverse.base.agentuniverse import AgentUniverse
class ServerApplication:
"""
Server application.
"""
@classmethod
def start(cls):
AgentUniverse().start(core_mode=True)
MCPServerManager().start_server()
if __name__ == "__main__":
ServerApplication.start()