Skip to main content
AI agent here means an LLM client (Claude Code, Cursor, etc.) driving the control plane. This is not the install runner in customer clouds.
To scaffold app config from example repos, see AI and App Building. This page covers reading and operating orgs, apps, installs, and workflows via MCP. New to MCP? Follow the walkthrough.

Prerequisites

nuon agents context prints your auth, selected org/app/install, and MCP HTTP URL.

Connect

Recommended: the CLI stdio proxy forwards to the control-plane MCP server and injects your token and org ID from ~/.nuon. Read-only by default.
Pass --allow-writes on that command (or in args) to expose tools whose descriptions start with WRITE OPERATION:. Those tools also need a token with create permission. Direct HTTP: point an MCP HTTP client at the URL from nuon agents context. The server is stateless Streamable HTTP (POST-only, no durable session), so auth and org go on every request as headers:
Create the token with nuon orgs api-tokens create --name <name>. Because both paths set the org, you do not need select_org — only call it on HTTP without the header, and note it is a write tool.

Tools

Writes are hidden from the stdio proxy unless --allow-writes is set. HTTP MCP lists them whenever the token can create.

Common queries

Copy these into your LLM client after MCP is connected. Call tools in the order given. Write sequences need --allow-writes on the stdio proxy.
list_appslist_installs (optional: filter installs with app_id)
get_installlist_install_componentslist_workflows
get_pending_approvalsget_workflow (use approval_id from the response)
get_workflowapprove_step or reject_step (write)
list_deploysget_deployget_deploy_logs / get_workflow_step_logs
list_buildsget_buildget_build_logs
watch_workflow (loop with last_known_status until the status is terminal)
list_install_actionsget_action
get_actionrun_action (write)
list_runbooksget_runbook
list_app_branchesget_app_branchReturns answers.last_run_succeeded, answers.change_summary (config/git), and answers.deployment_summary (per install-group progress). Requires the app-branches org feature.
list_app_branch_preview_sourcespreview_app_branch (write) → watch_workflowget_app_branchSame as nuon apps branches preview. Pass pr_number or git_ref plus install (name or ID). Default mode is plan-only; ask before apply.HTTP MCP cannot read the local workspace. For local toml, nuon apps sync first then pass app_config_id.
get_installdeprovision_install / reprovision_install / deploy_install_components (write) → watch_workflowDeprovision requires confirm=true (ask the user first). plan_only does not require confirm.
get_install_inputsupdate_install_inputs (write)
get_workflowretry_step (write)
get_workflowcancel_workflow (write)
These apply to nuon commands, not MCP tools: See CLI commands for the full reference.