WordPress scriptable from Bash.
List and write WordPress posts, pages, categories, tags, media and users, and read comments — from the shell over the WordPress REST API MCP. Content ops without wp-admin or a wp-cli SSH session.
cogny --who
TWO PATHSManaging a WordPress site means logging into wp-admin and editing posts one at a time. The CLI lets an agent create, update, and categorize posts in bulk and pull your content as JSON. Connect WordPress once in Cogny Solo and let your coding agent — or scheduled reports — do the querying for you.
❯ start SoloSelf-onboard with one command. The CLI issues a key, wires nothing, and exposes every WordPress tool over JSON-RPC. First 15 calls are free.
$ npx @cogny/cli init --agent claude-codecogny tools call
3 EXAMPLESReal tool names from the WordPress MCP. Send --input JSON, get JSON back.
mcp__WordPress__list_postsList posts with status filtering.mcp__WordPress__create_postCreate a draft post with categories.mcp__WordPress__list_categoriesList taxonomy terms with post counts.cogny tools list
MOREA sample of the rest of the WordPress surface. Run cogny tools list --json for every tool and its input schema.
mcp__WordPress__get_postmcp__WordPress__update_postmcp__WordPress__delete_postmcp__WordPress__list_pagesmcp__WordPress__create_pagemcp__WordPress__list_mediamcp__WordPress__create_categorymcp__WordPress__list_commentsmcp__WordPress__list_userscogny --faq
wp-cli runs over SSH on the server. This is the Cogny CLI calling the WordPress REST API MCP over the cogny-mcp-proxy — no shell access to the host needed, just an application password or OAuth connected once in Cogny.
Yes. Beyond posts and pages it exposes `list_media`, `list_categories` / `create_category`, `list_tags` / `create_tag`, and user tools — the common content-ops surface, all returning JSON.
Yes. `npx @cogny/cli init` issues a key, then `cogny tools call mcp__WordPress__create_post --input ...` runs from any shell — no /mcp wiring or restart.
related CLIs
Building an agent? The full tool map for all servers is one fetch: /cli/llms.txt