update start.sh

This commit is contained in:
mshe 2026-06-08 16:49:23 +08:00
parent d7f11c122f
commit 3b4b96fa1f
1 changed files with 3 additions and 2 deletions

5
app.py
View File

@ -12,9 +12,10 @@ logging.info("服务器启动")
VNC_SERVER_HOST = "https://10.10.40.19:6080"
SHELL_DIR = "/home/dgs/vnc-server"
@mcp.tool()
def mail_qq_spider(account: str) -> str:
async def mail_qq_spider(account: str) -> str:
"""qq邮箱爬虫,第一个参数是用户名"""
return a1(account)
result = await asyncio.to_thread(a1, account)
return result
@mcp.tool()
async def start_vnc_server(display: int) -> str:
"""启动VNC服务