Documentation
¶
Overview ¶
Package mcpserve exposes Pulse's Model Context Protocol server as a public entry point.
The MCP wiring lives in internal/mcp (the library facade has no dependency on it; the CLI invokes it to expose Pulse over stdio). This package lets an embedder serve a Pulse MCP from its own process — including any operators, expression functions, or label tables registered via the constructed *pulse.Pulse's Options.Extensions — without shelling out to the `pulse` binary. That is the only way a domain layer (e.g. a BERA-flavored Pulse) can surface its in-process Go extensions over MCP, since the stock binary cannot load them.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
// BindOnOpen registers session-scoped schema-bound tool variants on a
// successful pulse_inspect. True gives MCP clients typed enum constraints
// on field-name parameters; false leaves only the unbound global tools,
// which is useful for clients that bind tool schemas themselves.
BindOnOpen bool
}
Options configures the served MCP server. It mirrors internal/mcp.Options.