mcp

package
v1.28.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2026 License: MIT Imports: 43 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	QueueStartFn func(siteName, sitePath, phpVersion, queue string, tries, timeout int) error
	QueueStopFn  func(siteName string) error
)

QueueStartFn and QueueStopFn are injected by the cli package (which owns the cross-platform worker lifecycle) so the queue tools reuse it without a cli -> mcp -> cli import cycle.

Functions

func Serve

func Serve() error

Serve runs the MCP server, reading JSON-RPC messages from stdin and writing responses to stdout. All diagnostic output goes to stderr so it never corrupts the JSON-RPC stream on stdout.

func ToolNames added in v1.23.0

func ToolNames() []string

ToolNames returns the names of every registered MCP tool. Exported so documentation drift tests in other packages can assert each tool is covered by the injected skill and guidelines files.

Types

This section is empty.

Jump to

Keyboard shortcuts

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