Spaces:
Running
Running
Update app.py
Browse files
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"
|
| 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()
|