Internal
internal/adapters/mcp/finalize
Package finalize exposes the host-facing finalize MCP transport.
import "github.com/nilstate/scafld/v2/internal/adapters/mcp/finalize"
Package finalize exposes the host-facing finalize MCP transport.
Functions
func Run(ctx context.Context, stdin io.Reader, stdout io.Writer, stderr io.Writer, opts Options) error
Source: internal/adapters/mcp/finalize/server.go:27
Run serves finalize over MCP stdio. The adapter is transport-only: it invokes the scafld finalize CLI child process and never imports the finalize app.
Types
type Options
Source: internal/adapters/mcp/finalize/server.go:19
Options configures the host finalize MCP transport shim.
type Options struct {
ScafldBinary string
CWD string
OutPath string
}Fields
ScafldBinary stringCWD stringOutPath string
