Documentation
¶
Index ¶
- func ArgumentOption(col model.EndpointParams, opts ...mcp.PropertyOption) mcp.ToolOption
- type MCPServer
- func (s *MCPServer) EnableRawProtocol()
- func (s *MCPServer) ServeSSE(addr string, prefix string) *server.SSEServer
- func (s *MCPServer) ServeStdio() *server.StdioServer
- func (s *MCPServer) Server() *server.MCPServer
- func (s *MCPServer) SetConnector(connector connectors.Connector) error
- func (s *MCPServer) SetTools(tools []model.Endpoint)
- func (s *MCPServer) Tools() []model.Endpoint
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArgumentOption ¶
func ArgumentOption(col model.EndpointParams, opts ...mcp.PropertyOption) mcp.ToolOption
Types ¶
type MCPServer ¶
type MCPServer struct {
// contains filtered or unexported fields
}
func (*MCPServer) EnableRawProtocol ¶ added in v0.2.1
func (s *MCPServer) EnableRawProtocol()
func (*MCPServer) ServeStdio ¶
func (s *MCPServer) ServeStdio() *server.StdioServer
func (*MCPServer) SetConnector ¶ added in v0.2.2
func (s *MCPServer) SetConnector(connector connectors.Connector) error
Click to show internal directories.
Click to hide internal directories.