Documentation
¶
Overview ¶
Package mcp is a stdlib-only MCP server; each tool call is one /api/v1 request under the operator's token.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
Client *api.Client
// FallbackWorkspace may be empty; calls then need a workspace unless the token sees exactly one.
FallbackWorkspace string
// Without AllowWrite the mutating tools are not even advertised.
AllowWrite bool
Version string
// Logf must never write to stdout: on stdio the protocol owns it.
Logf func(format string, args ...any)
}
Click to show internal directories.
Click to hide internal directories.