Versions in this module Expand all Collapse all v0 v0.1.0 Jun 13, 2026 Changes in this version + const DefaultVersion + const PlatformDarwinUniversal + const PlatformLinuxARM64 + const PlatformLinuxX64 + const PlatformWindowsX64 + var BundlePins = map[string]string + func BuildArgs(mode Mode, appRoot string, auth map[string]any) ([]string, error) + func CommandLine(opts Options) (path string, args []string, err error) + func CurrentPlatformKey() (string, error) + func DefaultAppRoot() (string, error) + func DefaultCacheDir() (string, error) + func EnsureExtracted(cacheDir string, b Binary) (string, error) + func PlatformKey(goos, goarch string) (string, error) + type Binary struct + Data []byte + PlatformKey string + SHA256 string + Version string + type Client struct + BinaryPath string + Mode Mode + Session *mcp.ClientSession + func StartServer(ctx context.Context, opts Options) (*Client, error) + func (c *Client) Close() error + type Mode string + const ModeDeleteSafe + const ModeFullAccess + const ModeReadOnly + const ModeSafe + type Options struct + AppRoot string + Auth map[string]any + Binary Binary + CacheDir string + ClientInfo *mcp.Implementation + ExtraArgs []string + Mode Mode + Stderr io.Writer