MCPcopy Create free account
hub / github.com/anus-dev/ANUS / getServerStatus

Function getServerStatus

packages/cli/src/commands/mcp/list.ts:79–85  ·  view source on GitHub ↗
(
  serverName: string,
  server: MCPServerConfig,
)

Source from the content-addressed store, hash-verified

77}
78
79async function getServerStatus(
80 serverName: string,
81 server: MCPServerConfig,
82): Promise<MCPServerStatus> {
83 // Test all server types by attempting actual connection
84 return await testMCPConnection(serverName, server);
85}
86
87export async function listMcpServers(): Promise<void> {
88 const mcpServers = await getMcpServersFromConfig();

Callers 1

listMcpServersFunction · 0.85

Calls 1

testMCPConnectionFunction · 0.85

Tested by

no test coverage detected