Ghost from your shell.
List and write Ghost posts and pages, manage tags and members, and read newsletter config — from Bash over the Ghost Admin API MCP. Publish to your publication from a script, no editor tab required.
cogny --who
TWO PATHSDrafting and scheduling in the Ghost editor is one post at a time in the browser. The CLI lets an agent draft, tag, and publish posts programmatically and pull your member list as JSON. Connect Ghost 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 Ghost tool over JSON-RPC. First 15 calls are free.
$ npx @cogny/cli init --agent claude-codecogny tools call
3 EXAMPLESReal tool names from the Ghost MCP. Send --input JSON, get JSON back.
mcp__Ghost__list_postsList posts with status and metadata.mcp__Ghost__create_postCreate a draft post with HTML and tags.mcp__Ghost__list_membersList subscribers/members of the publication.cogny tools list
MOREA sample of the rest of the Ghost surface. Run cogny tools list --json for every tool and its input schema.
mcp__Ghost__get_postmcp__Ghost__update_postmcp__Ghost__delete_postmcp__Ghost__list_pagesmcp__Ghost__create_pagemcp__Ghost__list_tagsmcp__Ghost__create_tagmcp__Ghost__get_membermcp__Ghost__list_newsletterscogny --faq
No — the official `ghost` CLI manages self-hosted installs. This is the Cogny CLI calling the Ghost Admin API MCP over the cogny-mcp-proxy: content (posts, pages, tags) and membership tools driven from Bash. Ghost Foundation is not affiliated.
Yes. `create_post` / `update_post` accept a status (draft/published) and tags/authors, so an agent can draft, review, and publish to your Ghost site without opening the editor.
Yes — `list_members`, `get_member`, and `list_newsletters` expose your subscriber list and newsletter config as JSON, which you can pipe into an ESP or a segmentation step.
related CLIs
Building an agent? The full tool map for all servers is one fetch: /cli/llms.txt