Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
116
func
(s *MCPServer) GetServerID() string {
117
return
s.serverID
118
}
119
120
// GetClient 获取底层 MCP 客户端
121
func
(s *MCPServer) GetClient() *cloud.MCPClient {
Callers
3
TestMCPServer_Creation
Function · 0.95
TestMCPManager_GetServer
Function · 0.80
main
Function · 0.80
Calls
no outgoing calls
Tested by
2
TestMCPServer_Creation
Function · 0.76
TestMCPManager_GetServer
Function · 0.64