This commit is contained in:
2025-06-15 14:05:02 +08:00
parent 547b24860f
commit 21dea5b808
48 changed files with 194 additions and 48754 deletions
+1
View File
@@ -15,6 +15,7 @@ def custom_route_mapper(route: HTTPRoute, mcp_type: MCPType) -> MCPType | None:
mcp = FastMCP.from_fastapi(
app=application,
name="Dcalc_MCP",
instructions="DNF相关的MCP服务",
timeout=60,
port=config.MCPPORT,
route_map_fn=custom_route_mapper,