Install
A compatible MCPB host can import guildcontrol-2.3.9.mcpb from the immutable GitHub Release or the MCP Registry. The cross-platform manifest requires Node.js 22.15 through 26, asks for one existing strict configuration file as non-secret input, and asks for the bot token through one sensitive input. The launcher maps that token only to the exact environment variable named by the selected policy, removes the bundle-only input before server startup, and never persists it. It deliberately refuses a file-backed credential policy; use the generated host adapter or OCI secret-volume path when protected-file custody is required.
The bundle embeds its privacy policy, deterministic SPDX inventory, exact dependency notices, credential-free catalog evidence, and a single self-contained ESM server. Its verifier builds twice, checks exact ZIP structure and metadata, compares bytes, scans every entry for secrets and non-neutral branding, validates the embedded evidence, unpacks to a fresh directory, and completes a real MCP initialization and catalog handshake. Verify the downloaded file against its SHA256SUMS entry and GitHub Release attestation before import.
After a release is published, run an exact version from npm:
npx --yes guildctl@2.3.9 helpPinning the version keeps the executable stable across restarts. The MCP Registry manifest uses the same exact npm version.
Operational and credential-free catalog connections advertise the same complete public MCP server identity during initialization: machine name, display title, exact release version, description, repository website, and one release-tagged HTTPS PNG icon with its media type and intrinsic size. No credential, local path, policy, profile, or Discord identity enters this metadata. The server does not fetch the icon, and its operation does not depend on client presentation behavior.
The same exact release is available as a multi-architecture OCI image for linux/amd64 and linux/arm64. Its default command is the credential-free catalog, so merely starting the image does not contact Discord:
docker run --rm -i \ --network=none \ --read-only \ --cap-drop=ALL \ --security-opt=no-new-privileges:true \ --pids-limit=64 \ ghcr.io/j-256/guildcontrol:2.3.9 catalog --checkFor an operational read-only connection, create one verified non-secret policy file on the host, then mount it read-only and supply only the caller-owned token. The container needs outbound network access to Discord, but it needs no writable root filesystem or Linux capability:
export DISCORD_BOT_TOKENprintf 'Discord bot token: 'read -r -s DISCORD_BOT_TOKENprintf '\n'npx --yes guildctl@2.3.9 setup \ --npx \ --config ./guildcontrol.json \ --preset server-observer \ --guild-id YOUR_GUILD_ID
docker run --rm -i \ --read-only \ --cap-drop=ALL \ --security-opt=no-new-privileges:true \ --pids-limit=64 \ --env DISCORD_BOT_TOKEN \ --mount "type=bind,source=$PWD/guildcontrol.json,target=/configuration/guildcontrol.json,readonly" \ ghcr.io/j-256/guildcontrol:2.3.9 serve --config /configuration/guildcontrol.jsonFor a Docker or Kubernetes secret volume, create the policy with credential.provider set to file and credential.path set to the exact in-container path such as /run/secrets/discord_bot_token, then mount both the policy and secret read-only. The projected target must be owned by root or the image's node user, must not be group or world writable, and must have one hard link; the common root-owned read-only secret-volume shape passes this boundary. A projected-secret symlink is accepted so atomic orchestrator rotation works without broadening ordinary config-file link policy.
The image contains only the compiled server, production dependencies, package metadata, and license. It runs as the unprivileged node user, embeds no connector configuration, and never stores the supplied token. The Registry manifest encodes the same read-only root, dropped capabilities, process limit, config mount, fixed in-container path, and explicit serve command so OCI installation does not fall back to catalog mode.
For development from source:
npm run deps:lockednpm run typechecknpm testnpm run buildThe source build's public CLI launcher is dist/bin.js; dist/cli.js is its internal executable module. The package's dist/index.js is its import-only library entrypoint; executing it directly fails with a fixed credential-free correction to use guildctl serve --config FILE or node dist/bin.js serve --config FILE instead of closing silently during MCP initialization. The npm and source CLI launchers select serve when no command is supplied, then fail closed unless a configuration file or schema-v2 profile is selected. The OCI image deliberately defaults to the safe catalog and requires an explicit serve command plus its mounted configuration for Discord access.
The public launcher uses V8's --optimize-for-size on supported Node 22 through 26 lines before connector code loads. This profile favors generated code size while preserving WebAssembly, which Node's native HTTP client requires for its HTTP parser. Unknown future lines use the standard profile until verified. MCPB declares the exact >=22.15 <27 range and uses the same flag as the Node-22-pinned OCI image, operator smoke, and generated direct-Node descriptors. On runtimes that expose POSIX process replacement, a bare or npx package launch replaces its bootstrap in the same PID while preserving standard streams, Node arguments, CLI arguments, and the inherited environment; runtimes without that facility use the standard profile. Use guildctl --standard-runtime COMMAND to omit the size optimization, including from child launches. Custom --command launchers receive no injected Node flags. For all supported versions, bundle verification rejects any other stderr beyond readiness and the content-free shutdown report.
Canonical source: docs/reference.md
Documentation generated for guildctl@2.3.9. Canonical source and edit history remain in the public repository. GuildControl is an independent project and is not affiliated with or endorsed by Discord Inc. Discord is used only to identify the platform that GuildControl connects to.