Your WordPress site, from the terminal
One command connects a site: your browser opens, your site asks what to allow, and you approve. No configuration file to edit, no password stored anywhere — and every ability your site exposes becomes something you can script.
curl -fsSL https://raw.githubusercontent.com/nibwp/nibwp-cli/main/install.sh | sh
AI clients aren't the only thing that can drive your site. The same connection NibWP gives Claude, Cursor and ChatGPT is available to you directly — as a command line. Everything your site exposes over MCP becomes a typed, scriptable command: discover abilities by intent, run them with structured input, and pipe the results anywhere with –json.
It shares one brain with your AI clients: the same typed abilities, the same approvals, the same audit log. Script the repeatable parts here; let Claude Code, Cursor or ChatGPT handle the conversational parts. Both start from the same five-minute connection, and the ability reference shows everything either one can call.
Every ability, scriptable
The same 132 typed tools your AI agents call, available as commands — add –json to anything you want to pipe somewhere else. Comments are kept out of the copy; the orange site address follows whatever you type above.
Connect a site
Browser sign-in, scoped. Reading can never write.
nibwp auth login https://yoursite.com # read-only, for anything you want kept safe nibwp auth login https://yoursite.com --scope read # everything, including files and code nibwp auth login https://yoursite.com --scope read,write,manage,files,code
Find and run
Ask the site what it can do, then do it.
nibwp discover "build a landing page"
nibwp describe nibwp/find-tools
nibwp run nibwp/find-tools --input '{"query":"updates"}'Set up your editor
Writes the connection in for you — no JSON hand-editing.
nibwp agent add cursor nibwp agent add vscode --project nibwp agent add claude-code
Every site at once
One command across everything you look after.
nibwp auth list nibwp --all doctor nibwp --site staging discover
Edit a theme locally
Your own editor, then send back only what changed.
nibwp pull wp-content/themes/acme ./acme nibwp push ./acme --dry-run nibwp push ./acme
Do it once, repeat it
Record what was done, then replay it elsewhere.
nibwp tape pull --since 45m -o build.tape.json nibwp replay build.tape.json --all --dry-run nibwp replay build.tape.json --all
Put things back
Save what you are about to change, restore if needed.
nibwp snapshot create --post-type page -o before.json nibwp snapshot restore before.json
Check a connection
Says what is wrong and how to fix it.
nibwp doctor
nibwp auth status
nibwp init # writes what this site is into your projectSafe by default
The CLI inherits NibWP's whole control model:
- Scopes are enforced by the site, not the client — read-only means read-only.
- Every call goes through the same typed abilities and lands in the same audit log as your AI agents.
- Credentials are per-site, approved in the browser by a named administrator, revocable in one click.
- Dry-run flags on push and replay show the diff before anything is written.
What it needs
- Node.js 20 or newer — the installer checks for you.
- NibWP active on the site, with AI Abilities switched on.
- Administrator access — you approve the connection as yourself.
- Nothing else: free and open source (GPL) — source on GitHub, package on npm; nibwp –help lists everything.
Questions, answered
The terminal side of NibWP, explained.
How is this different from WP-CLI?
Is the CLI free?
How is this different from connecting Claude or Cursor?
Can a read-only connection ever write?
Does it work across multiple sites?
Your site, one command away.
The CLI is free and open source. The abilities it drives come with NibWP — start free, upgrade when you need write access and the full toolset.