MCPcopy Create free account
hub / github.com/astercloud/aster / GetServerID

Method GetServerID

pkg/tools/mcp/server.go:116–118  ·  view source on GitHub ↗

GetServerID 获取 Server ID

()

Source from the content-addressed store, hash-verified

114
115// GetServerID 获取 Server ID
116func (s *MCPServer) GetServerID() string {
117 return s.serverID
118}
119
120// GetClient 获取底层 MCP 客户端
121func (s *MCPServer) GetClient() *cloud.MCPClient {

Callers 3

TestMCPServer_CreationFunction · 0.95
TestMCPManager_GetServerFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by 2

TestMCPServer_CreationFunction · 0.76
TestMCPManager_GetServerFunction · 0.64