Ghost MCP by usefulapi

v1.2.1
io.usefulapi/ghost Checked 3 days ago Published 1 day ago

Read posts, members and tiers; create draft posts and edit post text in Ghost.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

ghost_get_site Get site details

Get the site title, URL, Ghost version and settings. Use it first to confirm which site is connected. Ghost Admin API: GET /site/.

ghost_list_posts List posts

List posts with their status, title, slug, authors and tags. Filter by status with filter, for example "status:draft" or "status:published". Ghost Admin API: GET /posts/.

ParameterTypeDescription
filterstringNQL filter, for example "status:published" or "status:free".
formatsstringPost body format to return: "html" (default), "lexical", or "html,lexical".
limitintegerResults per page (1-100, default 15).
orderstringSort order, for example "published_at desc".
pageintegerPage number (default 1).

ghost_get_post Get a post

Get one post by id, including its body and updated_at. Keep updated_at: ghost_update_post needs it. Ghost Admin API: GET /posts/{id}/.

ParameterTypeDescription
post_id *stringThe Ghost id (24 characters).
formatsstringPost body format to return: "html" (default), "lexical", or "html,lexical".

ghost_list_pages List pages

List static pages with their status, title and slug. Ghost Admin API: GET /pages/.

ParameterTypeDescription
filterstringNQL filter, for example "status:published" or "status:free".
limitintegerResults per page (1-100, default 15).
orderstringSort order, for example "published_at desc".
pageintegerPage number (default 1).

ghost_list_tags List tags

List post tags with their name, slug and post count. Ghost Admin API: GET /tags/.

ParameterTypeDescription
filterstringNQL filter, for example "status:published" or "status:free".
limitintegerResults per page (1-100, default 15).
orderstringSort order, for example "published_at desc".
pageintegerPage number (default 1).

ghost_list_members List members

List members (subscribers). Filter with NQL, for example "status:free" (free), "status:-free" (paid), or "subscribed:true". Search by name or email with search. Ghost Admin API: GET /members/.

ParameterTypeDescription
filterstringNQL filter, for example "status:published" or "status:free".
limitintegerResults per page (1-100, default 15).
orderstringSort order, for example "published_at desc".
pageintegerPage number (default 1).
searchstringSearch text (name or email).

ghost_get_member Get a member

Get one member by id: status, email, labels, subscriptions and the last seen time. Ghost Admin API: GET /members/{id}/.

ParameterTypeDescription
member_id *stringThe Ghost id (24 characters).

ghost_list_tiers List membership tiers

List paid membership tiers with their name, status, and optional prices and benefits. Set include to monthly_price,yearly_price,benefits for prices. Ghost Admin API: GET /tiers/.

ParameterTypeDescription
filterstringNQL filter, for example "status:published" or "status:free".
includestringExtra fields: monthly_price, yearly_price, benefits (comma separated).
limitintegerResults per page (1-100, default 15).
pageintegerPage number (default 1).

ghost_list_newsletters List newsletters

List newsletters with their name, status and sender settings. Ghost Admin API: GET /newsletters/.

ParameterTypeDescription
filterstringNQL filter, for example "status:published" or "status:free".
limitintegerResults per page (1-100, default 15).
orderstringSort order, for example "published_at desc".
pageintegerPage number (default 1).

ghost_list_offers List offers

List member offers (discounts or trials for paid tiers) with their code, status and redemption type. Ghost Admin API: GET /offers/.

ParameterTypeDescription
filterstringNQL filter, for example "status:published" or "status:free".
limitintegerResults per page (1-100, default 15).
orderstringSort order, for example "published_at desc".
pageintegerPage number (default 1).

ghost_list_labels List member labels

List member labels, the segments you use to group members. Ghost Admin API: GET /labels/.

ParameterTypeDescription
filterstringNQL filter, for example "status:published" or "status:free".
limitintegerResults per page (1-100, default 15).
pageintegerPage number (default 1).

ghost_list_users List staff users

List staff users (authors and admins) with their role, slug and status. Ghost Admin API: GET /users/.

ParameterTypeDescription
filterstringNQL filter, for example "status:published" or "status:free".
limitintegerResults per page (1-100, default 15).
pageintegerPage number (default 1).

ghost_create_draft_post Create a draft post

Create a new post as a DRAFT from HTML. It never publishes and never sends email; publish it in Ghost Admin. Ghost Admin API: POST /posts/?source=html.

ParameterTypeDescription
html *stringThe post body as HTML. Ghost converts it into its own format.
title *string
custom_excerptstringShort summary shown in listings.
tagsarrayTag names. Ghost finds or creates each tag by name.

ghost_update_post Update a post

Change a post's title, HTML, excerpt or tags. Pass updated_at from ghost_get_post (Ghost rejects a stale update). It does not change the status and never sends email. An already published post shows the new text at once. Ghost Admin API: PUT /posts/{id}/?source=html.

ParameterTypeDescription
post_id *stringThe Ghost id (24 characters).
updated_at *stringThe post's updated_at from ghost_get_post.
custom_excerptstring
htmlstringThe post body as HTML. Ghost converts it into its own format.
tagsarrayTag names. Ghost finds or creates each tag by name.
titlestring