Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONRPCError ¶
type JSONRPCResponse ¶
type JSONRPCResponse struct {
JSONRPC string `json:"jsonrpc"`
ID interface{} `json:"id,omitempty"`
Result interface{} `json:"result,omitempty"`
Error *JSONRPCError `json:"error,omitempty"`
}
type MCPServer ¶
type MCPServer struct {
// contains filtered or unexported fields
}
MCP Server
func NewMCPServer ¶
func NewMCPServer(config MCPServerConfig, client client.Client) *MCPServer
Create new MCP server
type MCPServerConfig ¶
type MCPServerConfig struct {
Transport string `yaml:"transport" mapstructure:"transport"`
Port int `yaml:"port" mapstructure:"port"`
AuditLogging bool `yaml:"audit_logging" mapstructure:"audit_logging"`
}
MCP Server configuration
Click to show internal directories.
Click to hide internal directories.