mcpgenerator

package
v0.0.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRawProtocol added in v0.0.9

func AddRawProtocol(schema model.Config, srv *server.MCPServer) error

func ArgumentOption

func ArgumentOption(col model.EndpointParams, opts ...mcp.PropertyOption) mcp.ToolOption

Types

type MCPServer

type MCPServer struct {
	// contains filtered or unexported fields
}

func New

func New(
	schema model.Config,
) (*MCPServer, error)

func (*MCPServer) ServeSSE

func (s *MCPServer) ServeSSE(addr string) *server.SSEServer

func (*MCPServer) ServeStdio

func (s *MCPServer) ServeStdio() *server.StdioServer

func (*MCPServer) Server added in v0.0.9

func (s *MCPServer) Server() *server.MCPServer

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL