Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is an MCP client that communicates with weave-mcp via stdio
type MCPError ¶
type MCPError struct {
Code int `json:"code"`
Message string `json:"message"`
Data interface{} `json:"data,omitempty"`
}
MCPError represents an error from the MCP server
type MCPRequest ¶
type MCPRequest struct {
JSONRPC string `json:"jsonrpc"`
ID *int `json:"id,omitempty"` // Optional for notifications
Method string `json:"method"`
Params map[string]interface{} `json:"params,omitempty"`
}
MCPRequest represents a request to the MCP server
Click to show internal directories.
Click to hide internal directories.