tianruci commited on
Commit
d114b78
·
verified ·
1 Parent(s): 5628e2c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -60,7 +60,7 @@ async def fetch_github_trending():
60
  return cached_trending if cached_trending else []
61
 
62
  # 定义MCP服务器和工具
63
- mcp_server = FastMCP(name="GithubTrending", stateless_http=True)
64
  app.mount("/mcp", mcp_server.http_app())
65
 
66
  @mcp_server.tool()
 
60
  return cached_trending if cached_trending else []
61
 
62
  # 定义MCP服务器和工具
63
+ mcp_server = FastMCP(name="GithubTrending")
64
  app.mount("/mcp", mcp_server.http_app())
65
 
66
  @mcp_server.tool()