steppage command-line tool (CLI) and Page MCP Server.
The CLI is intended for manual operations and CI/CD pipelines. MCP is intended for MCP-compatible clients, allowing models to call the hosting tools directly. Both use the same hosting key beginning with sk-. Run steppage --version to check the installed CLI version.
Prerequisites
Both methods require Node.js 20 or later and a Static Hosting API key beginning withsk-. You can get the key from the StepFun Open Platform console. After authentication, the CLI and MCP can access only the sites owned by that key.
steppage CLI
Install
Install the production release with the one-line curl script:VERSION environment variable before the command. The default is latest:
~/.steppage/bin/ and creates an executable wrapper at ~/.local/bin/steppage. If the installer reports that ~/.local/bin is not in PATH, add the following line to your shell configuration, such as ~/.zshrc, and restart the terminal:
Authenticate
We recommend logging in once to validate and save the key.login checks your identity with the server and saves the key to ~/.steppage/config.json with file permission 600:
login and provide the key through STEPFUN_API_KEY. All commands read this environment variable automatically.
Quick start: deploy a directory
Thedeploy command uploads a build output and publishes a version. Use --name to create a site on the first deployment. Add --go-live to launch it immediately:
--site <id>. deploy accepts a directory, scanned recursively, or a single .zip archive. If the root of the uploaded directory or ZIP archive does not contain index.html, use --root <file> to specify the site root page or --no-root-page to declare that the site has no root page. Interactive terminals prompt for a root file; CI environments without a TTY require an explicit option.
Command reference
The global
--json option writes machine-readable JSON to stdout for CI parsing. Use -H, --header "Name: value" to inject a custom HTTP header; the option can be repeated. Use -v, --version to print the version.
Typical workflows
Preview before launch:promote and rollback change the live version. delete is irreversible. In an interactive terminal, delete requires entering the site name for confirmation; in a non-TTY CI environment, it requires --yes.
Page MCP Server
Page MCP Server exposes deployment, launch, rollback, and inspection capabilities as MCP tools for clients such as Claude. It runs over stdio, uses environment-variable authentication only, and does not read or write the CLI configuration file.Install
VERSION=v1.0.0. The installer places the bundle in ~/.steppage-mcp/bin/ and creates the wrapper ~/.local/bin/steppage-mcp. Use this wrapper path as the MCP client’s command.
Configure an MCP client
In the client’s MCP configuration, setcommand to the installed wrapper and pass the key through env. Example for Claude:
<you> with your username. An absolute path is recommended. STEPFUN_API_KEY is the only required authentication field.
Tool reference
ID parameters are numeric strings, and the tool handles them safely as big integers. If a multi-file output has no
index.html, page_deploy requires root or noRootPage because MCP has no interactive prompt. page_promote, page_rollback, and page_delete_site are destructive operations. Confirm the target before calling them.