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

Struct MCPToolAdapter

pkg/tools/mcp/adapter.go:13–19  ·  view source on GitHub ↗

MCPToolAdapter 将 MCP 工具适配为 aster Tool 接口

Source from the content-addressed store, hash-verified

11
12// MCPToolAdapter 将 MCP 工具适配为 aster Tool 接口
13type MCPToolAdapter struct {
14 client *cloud.MCPClient
15 name string
16 description string
17 inputSchema map[string]any
18 prompt string
19}
20
21// MCPToolAdapterConfig MCP 工具适配器配置
22type MCPToolAdapterConfig struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected