CLI & MCP

Deploy from the terminal, from CI, or from Claude Code and Cursor.

Install

Node.js 18 or newer. The package has no dependencies. It installs two names for the same command: nocodeloft and the shorter nocode.

$ npm i -g nocodeloft
$ nocodeloft login      # paste a token from Settings in the dashboard
$ nocodeloft deploy     # prints the live address

Commands

CommandWhat it does
nocodeloft deployUploads this folder, shows what was found, deploys it and follows each step. --project <name>, --yes, --logs
nocodeloft statusWhether the app is live and every part is healthy. --json for scripts
nocodeloft logsWhat the app printed. --follow, --service api, --search error, --build for the build log
nocodeloft rollbackPuts the previous version live again in seconds
nocodeloft env list | set KEY=value | unset KEYEnvironment variables. --service <name>; --public for values that are not secret
nocodeloft login | whoami | logoutSign in with a token from the dashboard, show the account, forget the token
nocodeloft mcpStarts the MCP server for AI assistants

Claude Code and Cursor

nocodeloft mcp is an MCP server. Sign in once with nocodeloft login, then add it to your assistant.

Claude Code

$ claude mcp add nocodeloft -- npx -y nocodeloft mcp

Cursor: ~/.cursor/mcp.json, or .cursor/mcp.json in a project

{ "mcpServers": { "nocodeloft": { "command": "npx", "args": ["-y", "nocodeloft", "mcp"] } } }

Then ask: “deploy this to nocodeloft”.

Assistant tools

ToolWhat it does
deployUploads the folder, deploys it, waits, and returns the live address. On failure it returns what went wrong and how to fix it
requirementsThe rules an app must follow, so the assistant can prepare the code before deploying
statusLive or not, the latest deploy, and the health of each part
build_logs, logsThe latest build log, and what the running app printed
list_env, set_envEnvironment variables; secrets go to the API, never into website variables
rollbackThe previous version, live again in seconds

CI and scripts

Set NOCODELOFT_TOKEN instead of signing in, and pass --yes to skip the confirmation. Create the token under Settings → API tokens; it is shown once.

$ NOCODELOFT_TOKEN=$NOCODELOFT_TOKEN npx -y nocodeloft deploy --yes

What is uploaded

  • In a git repository: what git tracks, plus new files it does not ignore.
  • Otherwise: everything except dependencies and build output (node_modules, dist, .next).
  • .env files are never uploaded. Set secrets with nocodeloft env set.
  • The token is stored in ~/.config/nocodeloft/config.json, readable only by you. The project a folder deploys to is in .nocodeloft/project.json; commit it so teammates and CI use the same project.