MCPcopy
hub / github.com/AstrBotDevs/AstrBot / list_mcp_servers

Function list_mcp_servers

astrbot/dashboard/api/tools.py:214–218  ·  view source on GitHub ↗
(
    _auth: AuthContext = Depends(require_mcp_scope),
    service: ToolsService = Depends(get_service),
)

Source from the content-addressed store, hash-verified

212
213@router.get("/mcp/servers")
214async def list_mcp_servers(
215 _auth: AuthContext = Depends(require_mcp_scope),
216 service: ToolsService = Depends(get_service),
217):
218 return await _run(service.get_mcp_servers)
219
220
221@router.post("/mcp/servers")

Callers

nothing calls this directly

Calls 1

_runFunction · 0.70

Tested by

no test coverage detected