This commit is contained in:
mshe 2026-06-15 10:32:41 +08:00
parent c49757a21a
commit 826e54c378
1 changed files with 2 additions and 1 deletions

3
app.py
View File

@ -4,6 +4,7 @@ from spider.mail_qq import start as start_mail_qq_spider
import asyncio
import json
from typing import Optional
import subprocess
import logging
@ -15,7 +16,7 @@ mcp = FastMCP("spider-server")
VNC_SERVER_HOST = "https://10.10.40.19:6080"
# SHELL_DIR = "/home/dgs/vnc-server"
SHELL_DIR = "./bin"
@mcp.tool()
# @mcp.tool()
async def mail_qq_spider(account: str,display: int) -> str:
"""qq邮箱爬虫,第一个参数是用户名
Args: