mcp

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2025 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddMCPCommand

func AddMCPCommand(rootCmd *cobra.Command) error

AddMCPCommand adds the MCP command to the root command

Types

type WebServerMCP

type WebServerMCP struct {
	JSEngine     *engine.Engine
	JSPort       int
	AdminPort    int
	JSBaseURL    string
	AdminBaseURL string
}

WebServerMCP represents the MCP server instance with dynamic port allocation

var GlobalWebServerMCP *WebServerMCP

GlobalWebServerMCP is the global MCP server instance

func NewWebServerMCP

func NewWebServerMCP() (*WebServerMCP, error)

NewWebServerMCP creates a new WebServerMCP instance with free ports

Jump to

Keyboard shortcuts

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