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

Function _delete_mcp_server

astrbot/dashboard/api/tools.py:144–148  ·  view source on GitHub ↗
(server_name: str, service: ToolsService)

Source from the content-addressed store, hash-verified

142
143
144async def _delete_mcp_server(server_name: str, service: ToolsService):
145 return await _run(
146 lambda: service.delete_mcp_server({"name": server_name}),
147 result_as_message=True,
148 )
149
150
151async def _test_mcp_server(

Callers 3

delete_mcp_serverFunction · 0.85

Calls 2

delete_mcp_serverMethod · 0.80
_runFunction · 0.70

Tested by

no test coverage detected