Documentation
¶
Overview ¶
Command stackql-mcp-fetch downloads the signed stackql MCP release bundle for one or more platforms, verifies each against its published sha256 pin, extracts the server binary, and writes the go:embed glue that exposes it as an embed.Binary.
Intended use is a go:generate directive in the package that embeds the binary:
//go:generate go run github.com/stackql/stackql-mcp-go/cmd/stackql-mcp-fetch -platform all -package main
then, on the consuming side:
client, err := stackqlmcp.StartServer(ctx, stackqlmcp.Options{Binary: StackqlMCPBinary()})
The binary files (stackql-mcp-<platform-key>) belong in .gitignore; regenerate them in CI before building.
Click to show internal directories.
Click to hide internal directories.