Skip to content

Tools Reference

The Nullstone MCP server exposes tools dynamically — each Nullstone CLI command becomes one MCP tool at startup. Running a newer CLI version adds new tools automatically.

Naming convention

Tools are named by joining the CLI command path with underscores:

CLI commandMCP tool name
nullstone profilenullstone_profile
nullstone stacks listnullstone_stacks_list
nullstone envs newnullstone_envs_new
nullstone modules describenullstone_modules_describe

Clients may add their own namespace prefix (e.g. Claude Code presents tools as mcp__nullstone__stacks_list).

Discovering the tool list

The simplest way to see exactly what's available in your installed version:

bash
nullstone --help

Every subcommand listed there is also an MCP tool. Drill in for a specific command's flags — those become the tool's input schema:

bash
nullstone deploy --help

Common tool groups

Identity and configuration

ToolPurpose
nullstone_profileReturn the active user, org, and API endpoint. Safe diagnostic call.
nullstone_set_orgSwitch the active org for the session.
nullstone_workspaces_selectSelect a specific workspace (stack + env + block) for subsequent commands.

Discovery (read-only)

ToolPurpose
nullstone_stacks_listList stacks in the org.
nullstone_apps_listList applications.
nullstone_blocks_listList all blocks of every type.
nullstone_envs_listList envs in a stack.
nullstone_statusStatus of an app or block.
nullstone_outputsTerraform-style outputs for a block.
nullstone_logsTail or fetch logs for an app.
nullstone_modules_findSearch the registry — give it a term like "postgres" or "fargate".
nullstone_modules_describeFull metadata for a module: category, vars, connections, capabilities.

Environment lifecycle

ToolPurposeDestructive?
nullstone_envs_newCreate a new env (including previews).No
nullstone_envs_upProvision an env's infrastructure.No (additive)
nullstone_envs_downTear down an env's infrastructure.Yes
nullstone_envs_deleteDelete env records entirely.Yes

Infra operations

ToolPurposeDestructive?
nullstone_planShow the proposed infra change.No
nullstone_applyApply an infra change.Potentially
nullstone_upConvenience: plan + apply for a block/env.Potentially
nullstone_launchProvision a brand-new block.No
nullstone_waitWait for an async operation to complete.No

Application operations

ToolPurpose
nullstone_pushPush an artifact to the registry.
nullstone_deployDeploy an app version to an env.

Module authoring

ToolPurpose
nullstone_modules_packagePackage a local module for publishing.
nullstone_modules_publishPublish a packaged module to the registry.
nullstone_modules_registerRegister a module without publishing source.
nullstone_iac_generateGenerate IaC scaffolding for a block.
nullstone_iac_testTest IaC configuration against a module's schema.

Safety flags

For destructive tools, Nullstone recommends:

  • Require your MCP client to prompt before invoking (default in Claude Code).
  • Scope the API key so those tools fail if the agent tries to use them outside approved contexts.
  • Prefer nullstone_plan before nullstone_apply / nullstone_up so the agent can summarize the change before confirming.

Future: generated reference

This page covers the common tool surface. A complete, version-pinned reference will be generated from the MCP server's own tool manifest in a future release — track nullstone-io/mcp-server#TBD.