Ghost MCP server
82 operations29 webhooks
Publish with Ghost: posts, pages, tags, members, newsletters, tiers, offers, staff, uploads, themes and webhooks, plus the read-only Content API (82 operations).
Try Ghost with your agent
Connect Ghost, then paste this into Claude, ChatGPT or Cursor. For ideas from other apps, see the use cases.
Using Corsair, show me what you can do in Ghost on my account, then run one read-only example and show me the result.
Ghost tools and triggers
Tools are what your agent can do in Ghost through Corsair's MCP server. Triggers are the Ghost events a routine can start from.
Content
- Authors.GetRead-only
Read a published author by id. Content API. Uses the Content API key.
content.authors.get
- Authors.Get By SlugRead-only
Read a published author by slug. Content API. Uses the Content API key.
content.authors.getBySlug
- Authors.ListRead-only
Browse published authors. Content API: public content only. Uses the Content API key.
content.authors.list
- Pages.GetRead-only
Read a published page by id. Content API. Uses the Content API key.
content.pages.get
- Pages.Get By SlugRead-only
Read a published page by slug. Content API. Uses the Content API key.
content.pages.getBySlug
- Pages.ListRead-only
Browse published pages. Content API: public content only. Uses the Content API key.
content.pages.list
- Posts.GetRead-only
Read a published post by id. Content API. Uses the Content API key.
content.posts.get
- Posts.Get By SlugRead-only
Read a published post by slug. Content API. Uses the Content API key.
content.posts.getBySlug
- Posts.ListRead-only
Browse published posts. Content API: public content only. Uses the Content API key.
content.posts.list
- Settings.GetRead-only
Read public settings. Content API: title, description, logo, navigation and the other public settings. Uses the Content API key.
content.settings.get
- Tags.GetRead-only
Read a published tag by id. Content API. Uses the Content API key.
content.tags.get
- Tags.Get By SlugRead-only
Read a published tag by slug. Content API. Uses the Content API key.
content.tags.getBySlug
- Tags.ListRead-only
Browse published tags. Content API: public content only. Uses the Content API key.
content.tags.list
- Tiers.ListRead-only
Browse tiers. Content API: the public tiers and their prices. Uses the Content API key.
content.tiers.list
Members
- CreateDestructive
Add a member. With send_email true, Ghost emails the member a sign-in link.
members.create
- Custom Fields.CreateWrite
Add a member custom field. The key is made from the name and never changes.
members.customFields.create
- Custom Fields.DeleteDestructive
Delete a member custom field. Deletes the field and every member's value for it. Archive the field first (status archived): an active field answers 422. Cannot be undone.
members.customFields.delete
- Custom Fields.GetRead-only
Read a member custom field. (GET /admin/members/metafields/custom/{key}/)
members.customFields.get
- Custom Fields.ListRead-only
Browse member custom fields. Active fields by default; filter status:archived or status:[active,archived].
members.customFields.list
- Custom Fields.ReorderWrite
Reorder member custom fields. Send every active field in the new order.
members.customFields.reorder
- Custom Fields.UpdateWrite
Edit a member custom field. Rename it, change its options or access, or archive it (status archived).
members.customFields.update
- DeleteDestructive
Delete a member. Cannot be undone. (DELETE /admin/members/{id}/)
members.delete
- GetRead-only
Read a member by id. (GET /admin/members/{id}/)
members.get
- ListRead-only
Browse members. Lists members, the 15 newest by default. Use filter (status:paid, label:vip, email:...) and search.
members.list
- UpdateWrite
Edit a member. Send updated_at as read: a stale value answers 409, so two edits never overwrite each other silently.
members.update
Pages
- CopyWrite
Copy a page. Makes a draft copy of the page.
pages.copy
- CreateWrite
Add a page. (POST /admin/pages/)
pages.create
- DeleteDestructive
Delete a page. Cannot be undone. (DELETE /admin/pages/{id}/)
pages.delete
- GetRead-only
Read a page by id. (GET /admin/pages/{id}/)
pages.get
- Get By SlugRead-only
Read a page by slug. (GET /admin/pages/slug/{slug}/)
pages.getBySlug
- ListRead-only
Browse pages. Lists pages, 15 per page by default.
pages.list
- UpdateWrite
Edit a page. Send updated_at as read: a stale value answers 409, so two edits never overwrite each other silently.
pages.update
Posts
- CopyWrite
Copy a post. Makes a draft copy of the post.
posts.copy
- CreateDestructive
Add a post. Creating with status published puts the post on the live site; pass source=html to send html instead of lexical.
posts.create
- DeleteDestructive
Delete a post. Cannot be undone. (DELETE /admin/posts/{id}/)
posts.delete
- GetRead-only
Read a post by id. (GET /admin/posts/{id}/)
posts.get
- Get By SlugRead-only
Read a post by slug. (GET /admin/posts/slug/{slug}/)
posts.getBySlug
- ListRead-only
Browse posts. Lists posts, 15 per page by default.
posts.list
- UpdateDestructive
Edit a post. Send updated_at as read: a stale value answers 409. Publishing with newsletter set emails the post to members. Send updated_at as last read (a stale value answers 409). Setting status published with the newsletter query value emails the post to members, which cannot be undone.
posts.update
Labels
- CreateWrite
Add a label. (POST /admin/labels/)
labels.create
- DeleteDestructive
Delete a label. Cannot be undone. (DELETE /admin/labels/{id}/)
labels.delete
- GetRead-only
Read a label by id. (GET /admin/labels/{id}/)
labels.get
- Get By SlugRead-only
Read a label by slug. (GET /admin/labels/slug/{slug}/)
labels.getBySlug
- ListRead-only
Browse labels. Lists labels, 15 per page by default.
labels.list
- UpdateWrite
Edit a label. Send updated_at as read: a stale value answers 409, so two edits never overwrite each other silently.
labels.update
Tags
- CreateWrite
Add a tag. (POST /admin/tags/)
tags.create
- DeleteDestructive
Delete a tag. Cannot be undone. (DELETE /admin/tags/{id}/)
tags.delete
- GetRead-only
Read a tag by id. (GET /admin/tags/{id}/)
tags.get
- Get By SlugRead-only
Read a tag by slug. (GET /admin/tags/slug/{slug}/)
tags.getBySlug
- ListRead-only
Browse tags. Lists tags, 15 per page by default.
tags.list
- UpdateWrite
Edit a tag. Send updated_at as read: a stale value answers 409, so two edits never overwrite each other silently.
tags.update
Users
- DeleteDestructive
Delete a staff user. Their posts move to the owner. Needs a staff access token of an Administrator (an integration key answers 403). Needs a staff access token of an Administrator: an integration key answers 403. Cannot be undone.
users.delete
- GetRead-only
Read a staff user by id. (GET /admin/users/{id}/)
users.get
- Get By EmailRead-only
Read a staff user by email. (GET /admin/users/email/{email}/)
users.getByEmail
- Get By SlugRead-only
Read a staff user by slug. (GET /admin/users/slug/{slug}/)
users.getBySlug
- ListRead-only
Browse staff users. (GET /admin/users/)
users.list
- UpdateWrite
Edit a staff user. Needs a staff access token or a user session (an integration key answers 403). Needs a staff access token (an Administrator's): an integration key answers 403.
users.update
Newsletters
- CreateWrite
Add a newsletter. (POST /admin/newsletters/)
newsletters.create
- GetRead-only
Read a newsletter by id. (GET /admin/newsletters/{id}/)
newsletters.get
- ListRead-only
Browse newsletters. Lists newsletters, 15 per page by default.
newsletters.list
- UpdateWrite
Edit a newsletter. Send updated_at as read: a stale value answers 409, so two edits never overwrite each other silently.
newsletters.update
Offers
- CreateWrite
Add a offer. (POST /admin/offers/)
offers.create
- GetRead-only
Read a offer by id. (GET /admin/offers/{id}/)
offers.get
- ListRead-only
Browse offers. Lists offers, 15 per page by default.
offers.list
- UpdateWrite
Edit a offer. Send updated_at as read: a stale value answers 409, so two edits never overwrite each other silently.
offers.update
Tiers
- CreateWrite
Add a tier. (POST /admin/tiers/)
tiers.create
- GetRead-only
Read a tier by id. (GET /admin/tiers/{id}/)
tiers.get
- ListRead-only
Browse tiers. Lists tiers, 15 per page by default.
tiers.list
- UpdateWrite
Edit a tier. Send updated_at as read: a stale value answers 409, so two edits never overwrite each other silently.
tiers.update
Invites
- CreateDestructive
Invite a staff user. Emails an invitation to join the site with the given role. Ghost emails the invitation; a site without mail set up answers 500 "Error sending email!".
invites.create
- DeleteDestructive
Revoke a staff invitation. Cannot be undone.
invites.delete
- ListRead-only
Browse pending staff invitations. Needs a staff access token: an integration key answers 403 (live 11-28).
invites.list
Webhooks
- CreateWrite
Add a webhook. Ghost POSTs the event to target_url, signed with the secret.
webhooks.create
- DeleteDestructive
Delete a webhook. Cannot be undone. (DELETE /admin/webhooks/{id}/)
webhooks.delete
- UpdateWrite
Edit a webhook. (PUT /admin/webhooks/{id}/)
webhooks.update
Themes
- ActivateDestructive
Activate a theme. Switches the live site to this theme. Switches the live site to this theme.
themes.activate
- UploadDestructive
Upload a theme. A theme ZIP. A theme with the same name is replaced.
themes.upload
Files
- UploadWrite
Upload a file. Any file for a file card. Returns its URL.
files.upload
Images
- UploadWrite
Upload an image. Returns the image URL to use in posts. JPEG, PNG, GIF, SVG, WebP (icon: also ICO).
images.upload
Media
- UploadWrite
Upload a video or audio file. MP4, WebM, OGG, MP3, WAV, M4A. Returns the file URL.
media.upload
Roles
- ListRead-only
Browse staff roles. Use permissions=assign to list only the roles this key may give.
roles.list
Site
- GetRead-only
Read site details. The site title, description, logo, icon, accent colour, URL and Ghost version. No authentication needed. Works without authentication.
site.get
Connect Ghost to Claude, ChatGPT or Cursor
- 1
Connect Ghost in Corsair
Add your Ghost API key once in Corsair. Corsair stores the credential encrypted and makes the Ghost API calls for your agent, so it never goes into a prompt or a config file. Connect Ghost
If your link lets the agent add apps, you can skip this: it gives you a sign-in link the first time it needs Ghost. On a ChatGPT personal plan, connect Ghost here first.
- 2
Add Corsair's MCP server to your agent
Every client uses the same address:
https://mcp.corsair.dev/mcpOpen Plugins → Add → Add custom connector, name it Corsair, paste the address, select Continue, then Add.Add a custom MCP server with the address and choose OAuth. Personal plans get read tools only.Add to CursorOr add this to~/.cursor/mcp.json. Cursor opens Corsair to sign in the first time it connects.{ "mcpServers": { "corsair": { "url": "https://mcp.corsair.dev/mcp" } } }Run this, then run/mcpin Claude Code to sign in.claude mcp add --transport http corsair https://mcp.corsair.dev/mcpCodex, Gemini CLI, VS Code, Zed and other clients with OAuth sign-in work the same way. Clients without it, such as GitHub Copilot's coding agent, use a link's own address and an API key. Setup for every client
- 3
Sign in and choose what needs your approval
Your client opens Corsair to sign in. Pick a link: the apps your agent can use and a mode that decides what it may do without asking. In the default Cautious mode, Ghost's read and write operations run right away and its 15 destructive operations wait for your approval. Strict mode asks before every write and refuses destructive operations, and Read mode allows reads only.
FAQ
Install corsair and @corsair-dev/ghost, add the Ghost plugin, and connect with an API key. Then call methods like corsair.ghost.api.content.authors.get() from your app. Corsair verifies webhooks, and keeps each tenant isolated.
Yes. Ghost requires an API key from your Ghost account or developer dashboard. Create credentials with access that matches what you automate, then paste them into Corsair or connect through managed auth in Hub.
Yes. One Corsair client can hit Ghost, GitHub, Notion, Stripe, and the rest. Trigger Ghost from a webhook, push updates to Slack, or chain actions across plugins. Same tenant context across integrations, plain TypeScript.
Teams use Corsair for publish with Ghost: posts, pages, tags, members, newsletters, tiers, offers, staff, uploads, themes and webhooks, plus the read-only Content API (82 operations). Common builds include sync jobs, admin tooling, and agents that call Ghost APIs from your backend. Webhook handlers react to Ghost events and fan out to Slack, email, or other plugins in the same tenant.
The SDK is open source. Self-host and you pay Corsair nothing for the integration layer. Hub bills for hosted auth and execution, not per Ghost API call. Hub has a generous free tier. For hobby projects you can probably run the whole thing on free. Paid plans start to matter with more tenants or heavier traffic.
We maintain @corsair-dev/ghost in the open repo. When Ghost ships API changes, upgrade the package. Your call sites stay typed. You should not need to rewrite the integration layer each time.
No. Corsair does not read your Ghost data or hold individual access credentials. Credentials stay in your database. API calls run on your instance. We do not store Ghost data on your behalf.
Yes. Add https://mcp.corsair.dev/mcp as a custom connector or MCP server in Claude, ChatGPT, Cursor, VS Code, Claude Code, Codex or any client that supports remote MCP servers with OAuth sign-in, then sign in to Corsair. On ChatGPT personal plans, custom servers currently get read tools only.
Yes. Put Ghost on a link in Strict mode and every write waits for your approval, while destructive actions are refused. The default Cautious mode asks only before the 15 destructive Ghost operations. You can change a link's mode at hub.corsair.dev/me.