Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/astercloud/aster
/ getStats
Method
getStats
client-sdks/client-js/src/resources/mcp.ts:239–241 ·
view source on GitHub ↗
* 获取 MCP 统计信息 * @returns 统计数据
()
Source
from the content-addressed store, hash-verified
237
* @returns 统计数据
238
*/
239
async
getStats(): Promise<MCPStats> {
240
return
this.request<MCPStats>(
"/v1/mcp/stats"
);
241
}
242
243
/**
244
* 获取 Server 统计信息
Callers
4
main
Function · 0.95
integration.test.ts
File · 0.45
memory.test.ts
File · 0.45
main
Function · 0.45
Calls
1
request
Method · 0.80
Tested by
no test coverage detected