Ghost Styling MCP
The Ghost Styling MCP server lets you design, build, and manage a Ghost blog — from generating custom themes to managing content, members, and monetization — using your site's real brand data.
Vision & Brand Analysis
Extract brand tokens (colors, fonts, logo, navigation) from any live site
Inspect a Ghost page's HTML/CSS to target selectors that actually exist
Check WCAG contrast ratios (AA/AAA) between two colors
Theme Management
Generate, preview locally, upload, restyle, list, download, and activate themes
Upload installs themes as inactive; activation only happens on explicit instruction
Site Settings
Read/update site title, description, accent color, SEO metadata (meta tags, Open Graph, Twitter cards), and primary/secondary navigation menus
Posts & Pages
Full CRUD on posts and standalone pages; publish posts with email delivery, scheduling, and audience segmentation
Images
Upload local images or fetch and re-host public images onto the blog
Tags
Full CRUD for content organization
Members
List, read, create, and update members with labels and newsletter subscriptions
Newsletters
List, read, create, and update newsletters; archive to retire (no delete in Ghost API)
Tiers & Offers
List, read, create, and update paid membership tiers and discount offers
Labels
Full CRUD for member segmentation labels
Users
List and read authors/staff (read-only; Ghost API forbids writing users via integrations)
Research Tools (optional — requires a SERPER_API_KEY)
Search SERPs, expand keywords by intent, build content briefs, find content gaps, and manage research profiles for SEO strategy
Provides tools for styling and managing a Ghost blog, including fetching live page markup and CSS, and eventually managing posts, members, tags, and other resources through the Ghost Admin API.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Ghost Styling MCP Show me the current markup and CSS of my homepage"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Ghost Styling MCP
An MCP server that builds your own Ghost blog theme from your existing theme and real website data.
Most Ghost integrations manage content; this one handles how your blog looks. It gives the model your real data to design against: the brand (colours, fonts, logo) pulled from your live site, that page's rendered HTML and CSS, your current theme, and your site settings. You get back a complete, custom theme to preview locally and upload when you're ready.
Styling and vision come first. The authenticated client underneath is generic, so the rest of the Ghost Admin API (posts, members, tags, and the other resources) follows as thin tool wrappers, growing this into a full management server.
Status
Working: auth, vision, theme generation/preview/upload, site settings, and content + audience management (posts, tags, members, newsletters). Roadmap:
Authenticated Admin API client (generic browse/read/add/edit/delete)
Vision:
extract_branddistils a live site's brand + navigation;get_theme_structurefetches its markup + CSS;check_contrastscores colour pairs against WCAGThemes: generate, preview locally, upload, restyle, list, download, and (guarded) activate themes
Site settings: read/update brand + SEO metadata (title, description, accent, meta/OG/Twitter) and navigation menus
Management: posts, tags, members, and newsletters as CRUD tools
Guided flow: a
theme-a-siteprompt and a server instructions block encode the brand-first workflowManagement: tiers, offers, and users as they're needed (next)
Related MCP server: Ghost CMS MCP Server
Tools
The server exposes these tools to the model:
Vision
extract_brand: distil a live site into clean brand tokens (colour palette, heading/body fonts, logo, button style) plus its navigation menus (header/footer content links, with login/sign-up/account links flagged separately) to design against.get_theme_structure: fetch a live page's HTML skeleton and linked CSS, so styling targets selectors that actually exist.check_contrast: WCAG contrast ratio (and AA/AAA pass levels) between two colours, so text-on-accent stays readable.
Research — optional; registered only when SERPER_API_KEY is set
search_serp: see what currently ranks for a query and whether it's worth writing for. Cheap triage (1 API credit, no crawling).expand_keywords: expand a seed topic into the queries people actually search — "people also ask", related searches and autocomplete — grouped by intent (alternatives/local/comparison/cost/how_to/commercial/informational).build_content_brief: crawl the ranking pages and extract the structure they share: consensus sections, unique angles, target length, and whether they carry pricing tables or FAQs.find_content_gaps: match the SERP's consensus topics against posts already on your blog, so you extend an existing post instead of publishing a competitor to it.plan_research_profile: the questions to ask the user before building a profile — run this first, since a guessed profile fails silently.list_research_profiles/set_research_profile: inspect and switch the niche profile the verdicts are judged against.add_incumbents/remove_incumbents: record domains that keep ranking, so later verdicts account for them. Persisted to disk.create_research_profile/delete_research_profile: define a profile for a niche the bundled ones don't cover.
There's also a set-up-research prompt that runs the whole interview-and-configure
flow in one action.
Research profiles
A verdict like "this keyword is unwinnable" only means something relative to a niche. The sites that own "booking software for salons" (Capterra, G2, competing vendors) are not the ones that own "is red light therapy safe" (hospitals, medical publishers) — so the domain list is selectable rather than baked in.
Three profiles ship as starting points: general (the default — social platforms
and marketplaces only, no assumptions), saas (review aggregators and "best X
software" roundups) and wellness (hospitals, medical and lifestyle publishers,
booking directories). They're seeds, not a closed set: create_research_profile
defines your own, and a custom profile may reuse a bundled name to override it.
Each profile marks a dominant subset — domains so authoritative that three of them
ranking makes a keyword hopeless whatever you write. For wellness that's medical
authorities (Google treats health topics as YMYL and leans on institutional trust);
for saas it's the review aggregators.
The useful list is the one that grows. When a search turns up a competitor that isn't
flagged yet, add_incumbents records it, and every later verdict accounts for it.
Custom profiles and additions live in incumbents.json (see GHOST_MCP_DATA_DIR);
your own domain is always excluded, so your pages never count against you.
Keep it a "cannot beat this" list rather than a list of every competitor. Each domain added makes verdicts more pessimistic, so logging weak rivals penalises you for discovering that competition is thin.
Verdicts
Verdict | Meaning |
| Forums rank, real pages don't — people are asking and nobody has answered. The best case. |
| Little competition. Write it. |
| Winnable, but only with a genuinely better first-party answer. |
| Established pages own it, or three of the profile's dominant domains rank. Re-angle rather than abandon. |
| Google showed a map pack: build a service or location page, not a post. |
| You already rank — extend that page instead of competing with yourself. |
Forum and social results (Reddit, Quora, Facebook, …) are scored separately from competitor pages. A thread ranking usually means no good answer exists yet, so counting it as competition inverts the strongest buying signal there is.
Themes
create_theme: generate a complete, valid, previewable theme from a CSS design (and optionalindex/post/page/defaulttemplate overrides).preview_theme: render a theme locally and serve it on localhost to review before publishing.upload_theme: package and upload a theme; it installs inactive, so the live site is untouched.restyle_theme: edit an installed theme's stylesheet (append or replace) and re-upload it, to iterate a theme without regenerating it.list_themes: list installed themes and which one is active.download_theme: download an installed theme's source as a zip.activate_theme: make an installed theme the live one — outward-facing; only on explicit user instruction, never an automatic follow-on to upload/restyle.
Images
upload_image: upload a local image file; returns a hosted URL to use for a post'sfeature_image, the site logo/icon, or a newsletter header.upload_image_from_url: fetch a public image (under the same SSRF guard as vision) and re-host it on the blog.
Site settings
get_site_settings: read brand and SEO settings.update_site_metadata: site title/description plus SEO and social metadata (meta_*, Open Graph, Twitter cards).update_branding: the brand accent colour.update_navigation: set the primary (header) and secondary (footer) navigation menus.
Posts
list_posts/get_post: browse posts, or read one (with rendered HTML and a draftpreview_url).create_post/update_post/delete_post: write posts from HTML; drafts by default.publish_post: publish a post and email it to a newsletter's members (outward-facing; a deliberate, explicit send, not a side effect of an edit).
Pages
list_pages/get_page: browse standalone pages (about, contact, …), or read one (with rendered HTML and apreview_url).create_page/update_page/delete_page: write pages from HTML; drafts by default. Pages share post fields but have no tags or feed placement.
Tags
list_tags/get_tag: browse tags (with post counts), or read one.create_tag/update_tag/delete_tag: manage tags.
Members
list_members/get_member: browse members (filter bystatus:paid,label:vip, …) or read one, with labels and subscribed newsletters.create_member/update_member: add a member from an email; set name, note, labels, and newsletter subscriptions.
Newsletters
list_newsletters/get_newsletter: browse newsletters or read one.create_newsletter/update_newsletter: create and configure newsletters; retire one withstatus: archived(the API has no delete).
Tiers
list_tiers/get_tier: browse paid plans (with prices and benefits) or read one.create_tier/update_tier: create and configure tiers; no delete (retire withactive: false).
Offers
list_offers/get_offer: browse discount offers (each with its linked tier) or read one.create_offer/update_offer: create offers against a tier; no delete (Ghost only allows editing name/code/display fields after creation).
Labels
list_labels/get_label: browse member labels or read one.create_label/update_label/delete_label: manage labels for member segmentation.
Users
list_users/get_user: browse authors/staff or read one. Read-only — the Admin API forbids integrations from writing users.
Activating a theme is intentionally not a tool: it changes the live site, so it stays a manual step. The Admin API has no delete for members, newsletters, tiers, or offers, so neither does this server; users are read-only.
Guided workflow
The server ships an instructions block (always in the model's context) encoding the
recommended order (extract the brand, confirm direction, build, preview, then upload
inactive), plus a theme-a-site prompt the user can invoke to start that guided
flow. Because those instructions are sent to the model on every connection, anyone who
installs the server can simply ask their assistant "how do I use this?" and get the
best-practice walkthrough.
docs/theming-guide.md — the user-facing best-practices guide: how to use it, the end-to-end theming path, and design/colour/SEO best practices. Start here.
docs/theme-conventions.md — the full template and CSS contract, for hand-writing templates.
Requirements
An MCP client to run it in, e.g. Claude Desktop, Cline, or Claude Code. This is an MCP server; it runs inside a client, not on its own.
Python 3.13+
A Ghost site and a staff access token (from your user profile page in Ghost Admin). Site-wide styling and management need a token with the Owner or Admin role.
Setup
git clone https://github.com/stemcreations/ghost-mcp.git && cd ghost-mcp
uv sync # creates .venv and installs everythingThe server reads its configuration from environment variables:
Variable | Required | Example |
| yes |
|
| yes |
|
| no |
|
| no | a serper.dev key; enables the research tools |
| no | starting research profile: |
| no | extra competitor domains, comma-separated |
| no | where |
SERPER_API_KEY is genuinely optional. Without it the research tools are simply not
registered and everything else works unchanged — the key is read once at startup, so
adding it later needs a server restart.
The other three only matter if you use those tools. SERP_PROFILE picks the starting
profile, though set_research_profile persists its own choice
and takes precedence. SERP_INCUMBENTS is for deployments where the data directory
isn't writable; otherwise prefer add_incumbents, which persists. Set
GHOST_MCP_DATA_DIR=. to keep incumbents.json inside the project — it's gitignored
there, since the list is specific to your site rather than to the software.
Provide them either way:
In your MCP client: put them in the server's
envblock (see Running). No.envfile is needed; this is the usual setup for Claude Desktop.In a local
.env: handy for development and the connection check:cp .env.example .envand fill it in. (If both are set, the client'senvvalues win.)
Confirm the credentials reach your site:
uv run python scripts/check_connection.pyRunning
Interactively, with the MCP Inspector:
uv run fastmcp dev src/ghost_mcp/server.pyConnecting to Claude Desktop
Add the server to the config file below, then fully restart Claude Desktop (it reads the config only at startup).
OS | Config file |
Windows |
|
macOS |
|
Use the full path to uv for command; clients often don't have it on their
PATH. Find it with (Get-Command uv).Source (Windows PowerShell) or which uv
(macOS/Linux). --directory points uv at the project, so the project's .env is
loaded automatically (or pass credentials with an env block instead, see below).
Windows:
{
"mcpServers": {
"ghost": {
"command": "C:\\Users\\you\\.local\\bin\\uv.exe",
"args": ["run", "--directory", "C:\\path\\to\\ghost-mcp", "ghost-mcp"]
}
}
}macOS / Linux:
{
"mcpServers": {
"ghost": {
"command": "/home/you/.local/bin/uv",
"args": ["run", "--directory", "/home/you/ghost-mcp", "ghost-mcp"]
}
}
}The same command/args work with any MCP client (Cline, Claude Code, …); only the
config-file location differs. To pass credentials through the client instead of a
.env, add an env block to the server entry:
"env": {
"GHOST_ADMIN_URL": "https://yourblog.example.com",
"GHOST_STAFF_ACCESS_TOKEN": "<id>:<secret>",
"GHOST_API_VERSION": "v6.0"
}Run without cloning
To skip git clone, have uvx install and run the server straight from the repo.
Add this to the same config file (use the full path to uvx if your client doesn't
have it on PATH):
{
"mcpServers": {
"ghost": {
"command": "uvx",
"args": ["--from", "git+https://github.com/stemcreations/ghost-mcp.git", "ghost-mcp"],
"env": {
"GHOST_ADMIN_URL": "https://yourblog.example.com",
"GHOST_STAFF_ACCESS_TOKEN": "<id>:<secret>",
"GHOST_API_VERSION": "v6.0"
}
}
}
}uvx fetches and builds the package on first launch (git must be installed). With no
local .env, the credentials come from the env block above.
Authentication, briefly
Ghost's Admin API never takes the token directly. Each request carries a JWT signed
from the staff token (id:secret): split on the colon, hex-decode the secret, sign
HS256 with a five-minute expiry. ghost_mcp.admin.auth handles this for you.
Site-wide styling (code injection via /settings/) requires the Owner or Admin
role; a standard integration key cannot reach those endpoints.
Architecture
The package is layered so each piece has one job:
Layer | Module | Responsibility |
Config |
| Load and validate environment configuration. |
Errors |
| The shared |
Admin |
| Authenticated Admin API: token signing, generic client, theme + settings helpers. |
Vision |
| Fetch the public rendered page + CSS (no auth). |
Research |
| Search the SERP and analyse ranking pages (optional; needs a key). |
Themes |
| Generate, locally preview, and package themes. |
Tools |
| Thin MCP wrappers over the layers above. |
Server |
| Assemble the layers into a runnable server. |
The Admin API is uniform: every resource shares the same browse/read/add/edit/
delete shape, so GhostAdminClient implements those operations generically. A new
resource is a thin tool module, not a new subsystem.
This server is intentionally pure Python. Ghost's own tooling is JavaScript, but
nothing here needs it: styling deals in CSS strings and theme zips, and post content
can be sent as HTML via the Admin API's ?source=html conversion rather than
converting to Lexical client-side.
Contributing
The most important convention: put logic in a service module (admin/,
vision/, theme/) as a plain, typed, testable function, then expose it through a
thin wrapper in tools/. Tools adapt and shape data; they don't hold business logic.
To add a group of tools:
Write the logic as a plain function in the relevant service module, and test it.
Add
tools/<name>.pywith aregister(mcp)function that wraps it.Call your
registerfromregister_allintools/__init__.py.
Conventions:
Type-hint everything.
Docstrings go inside functions (FastMCP reads them to describe tools to the model). Keep them concise; put longer context in the module docstring.
Write docstrings for people reading the source: clear, no implementation noise.
Before opening a PR:
uv run ruff format # format
uv run ruff check # lint
uv run pytest # testOr install the git hook to run all three automatically before each commit:
uv run pre-commit installSecurity
Ghost MCP runs locally and never exposes your staff token through any tool. See SECURITY.md for the security model, the prompt-injection trust boundary, and how to report a vulnerability.
License
MIT. See LICENSE.
Available Tools
55 toolsactivate_themeA
Activate an installed theme, making it the LIVE theme. Changes the site.
This is the one theme tool that alters what visitors see: it switches the blog's active theme. Call it ONLY on the user's explicit instruction to activate a specific theme -- never as an automatic follow-on to generating, uploading, or restyling one. Upload installs inactive on purpose so a theme can be reviewed first; activation is the deliberate, separate go-live step.
Inputs: name (required). Returns: object
check_contrastA
Check the WCAG contrast ratio between two colours before shipping a theme.
Guards against unreadable text-on-accent: pass two colours -- as hex
(#d97706) or rgb()/rgba() -- such as a button's text vs. its
accent background, or body text vs. the page background. Use it on the
palette and accent from extract_brand when picking text colours.
Inputs: background (required), foreground (required). Returns: object
create_labelA
Create a member label. Only name is required; slug is derived if omitted.
Inputs: name (required), slug. Returns: object
create_memberA
Create a member from an email address.
Only email is required; the member is created as a free member. labels
are given as names (created if new); newsletter_ids subscribe the member to
those newsletters (get the ids from list_newsletters). Creating a member
sends no email. Returns the created member's summary.
Inputs: email (required), name, note, labels, +1 more. Returns: object
create_newsletterA
Create a newsletter.
Only name is required. sender_reply_to is either "newsletter" (use
the sender address) or "support" (use the Portal support address). Set
opt_in_existing=true to also subscribe existing subscribed members to this
new newsletter. To set a custom sender_email, create the newsletter first,
then update_newsletter (the address needs email verification). Returns the
created newsletter's summary.
Inputs: name (required), description, sender_name, opt_in_existing, +2 more. Returns: object
create_offerB
Create a discount offer against a tier.
Inputs: code (required), name (required), type (required), amount (required), +7 more. Returns: object
create_pageA
Create a page from HTML content.
Defaults to a draft; pass status="published" to publish immediately.
Pages are standalone (about, contact, …) with no tags or feed placement.
meta_title/meta_description set the page's search-snippet metadata.
Returns the created page's summary, including a preview_url for reviewing
the draft in the active theme before publishing.
Inputs: title (required), html, status, excerpt, +3 more. Returns: object
create_postA
Create a blog post from HTML content.
Defaults to a draft; pass status="published" to publish immediately.
tags are given as names and created if they don't already exist.
meta_title/meta_description set the post's search-snippet metadata.
Returns the created post's summary, including a preview_url for reviewing
the draft in the active theme before publishing.
Inputs: title (required), html, tags, status, +4 more. Returns: object
create_tagA
Create a tag.
Only name is required; slug is derived from it if omitted. Returns the
created tag's summary.
Inputs: name (required), slug, meta_title, description, +2 more. Returns: object
create_themeA
Generate a complete, valid, previewable Ghost theme on disk.
Writes a ready-to-use theme (layout, home/post/page templates, page
handling, the Koenig CSS classes Ghost requires, and package.json) to a
local directory. Supply styles (CSS) to design the look; the site's brand
accent colour is available in CSS as var(--ghost-accent-color), so the
theme respects the user's existing branding.
Width convention: the base stylesheet keeps the structural chrome classes
(.site-header/.site-footer/.post-feed/.post/.page) at full
width and centres their contents with an inner .gh-inner wrapper. So in a
custom layout, cap a region by wrapping its content in your own inner element
(or reuse .gh-inner) and set max-width there -- setting it on a child
of an un-capped region works, but a child can't widen past a capped parent.
Optionally override the home/post/page templates, and the default.hbs
layout itself, with your own Handlebars. Stay within the previewable helper
subset: {{#if}}/{{#unless}}, {{#foreach}} (with limit=/to=,
but not from=), {{#post}}, partials, and bare fields like {{title}}
and {{content}}. Avoid block params (as |x|) and the helpers Ghost
evaluates server-side ({{#get}}, {{#match}}, {{#is}},
{{date}}) -- block params and from= are rejected outright, and the
rest render blank in the local preview.
For content templates (index/post/page), layout inheritance is handled for
you: the {{!< default}} directive is injected if an override omits it.
A default_template override replaces the whole layout, so it MUST include
{{{body}}} (where child templates inject) -- a layout without it is
rejected, since every page would render empty. The stylesheet <link> and
{{ghost_head}}/{{ghost_foot}} are auto-injected before </head> /
</body> if you omit them, so styling, SEO, the accent colour, and members
keep working. Note {{asset "built/screen.css"}} only emits the URL -- to
load the CSS it must sit inside a real
<link rel="stylesheet" href="{{asset "built/screen.css"}}">. See
docs/theme-conventions.md for the full contract.
After generating, call preview_theme with the returned path to view it,
then upload_theme to install it (activation stays manual).
Inputs: name (required), styles, description, page_template, +3 more. Returns: object
create_tierB
Create a tier (paid plan).
Only name is required. Prices are in the smallest currency unit (e.g.
1000 = $10.00) and pair with a currency (three-letter ISO code).
benefits is a list of short strings shown on the tier. Returns the created
tier summary.
Inputs: name (required), benefits, currency, trial_days, +5 more. Returns: object
delete_labelA
Delete a label by id. Members keep existing; they just lose the label.
Inputs: label_id (required). Returns: object
delete_pageA
Delete a page by id. This cannot be undone.
Inputs: page_id (required). Returns: object
delete_postB
Delete a post by id. This cannot be undone.
Inputs: post_id (required). Returns: object
delete_tagA
Delete a tag by id. Posts keep existing; they just lose the tag.
Inputs: tag_id (required). Returns: object
download_themeA
Download an installed theme's source as a ZIP to a local temp file.
Useful for grabbing a theme's assets, branding, or package.json as a
reference. Returns the path to the downloaded file and its size.
Inputs: name (required). Returns: object
extract_brandA
Distil a live site's brand into clean tokens to theme against.
Step one of theming a customer's blog: point this at their public product or marketing site and it returns the brand to match, so you design against real colours and fonts instead of guessing or hand-reading a stylesheet. Fetches the page and its CSS (public http(s) only; private/localhost hosts refused).
It also reads the site's menus, so you can offer to reuse them on the blog
(write them with update_navigation). navigation.primary /
navigation.secondary are the header/footer content links;
navigation.membership holds login/sign-up/account links, which are kept
OUT of the suggested menu -- they are usually the parent app's own auth, not
blog nav. Ask the user what to do with any membership links rather than adding
them to the menu automatically.
Inputs: site_url (required), path. Returns: object
get_labelA
Read a single label by id or slug. Provide either label_id or slug.
Inputs: slug, label_id. Returns: object
get_memberC
Read a single member by id, including labels, newsletters, and tiers.
Inputs: member_id (required). Returns: object
get_newsletterB
Read a single newsletter by id.
Inputs: newsletter_id (required). Returns: object
get_offerA
Read a single offer by id, including its linked tier.
Inputs: offer_id (required). Returns: object
get_pageA
Read a single page by id or slug, including its rendered HTML.
Provide either page_id or slug. The result includes a preview_url
for viewing the page in the active theme.
Inputs: slug, page_id. Returns: object
get_postA
Read a single post by id or slug, including its rendered HTML.
Provide either post_id or slug. The result includes a preview_url
for viewing the post in the active theme.
Inputs: slug, post_id. Returns: object
get_site_settingsA
Read the blog's brand and SEO settings.
Returns the site identity (title, description), branding (accent colour, logo, icon, cover), and SEO/social metadata (meta title/description and the Open Graph and Twitter card fields). Use it to review the current state before updating, or to keep the blog aligned with the main site.
Inputs: no named parameters. Returns: object
get_tagA
Read a single tag by id or slug. Provide either tag_id or slug.
Inputs: slug, tag_id. Returns: object
get_theme_structureA
Inspect a live Ghost page and return its markup and CSS.
Fetches the public, rendered page at path along with the stylesheets it
links to, so styling changes can target selectors that actually exist
rather than guesses. The homepage and individual posts use different
templates, so pass the path of the page you intend to restyle.
Inputs: blog_url (required), path. Returns: object
get_tierB
Read a single tier by id, including its prices and benefits.
Inputs: tier_id (required). Returns: object
get_userB
Read a single user by id or slug. Provide either user_id or slug.
Inputs: slug, user_id. Returns: object
list_labelsB
List member labels.
Inputs: page, limit, order. Returns: object
list_membersA
List members (newest first), with their labels and subscribed newsletters.
Inputs: page, limit, order, filter. Returns: object
list_newslettersC
List newsletters (active and archived).
Inputs: page, limit, order, filter. Returns: object
list_offersB
List discount offers, each with its linked tier.
Inputs: page, limit. Returns: object
list_pagesA
List pages (standalone content outside the post feed).
Inputs: page, limit, order, filter. Returns: object
list_postsC
List blog posts.
Inputs: page, limit, order, filter. Returns: object
list_tagsB
List tags, with how many posts use each.
Inputs: page, limit, order, filter. Returns: object
list_themesA
List the themes installed on the blog and which one is active.
Inputs: no named parameters. Returns: object
list_tiersB
List tiers (paid plans), including their prices and benefits.
Inputs: page, limit, order, filter. Returns: object
list_usersA
List users (authors/staff). Read-only: the Admin API forbids integrations from writing users.
Inputs: page, limit, order. Returns: object
preview_themeA
Render a Ghost theme locally and serve it for preview in a browser.
Builds a static render of the theme's home, post, and page templates using sample content, then serves it on localhost. Open the returned URL in a browser to check layout and styling before activating the theme on the live site. The render is a style-focused mockup: structure and CSS are faithful, while content is sampled and some dynamic helpers are stubbed.
Only one preview runs at a time: each call stops the previous server and replaces it, so older preview URLs go dead. Always hand the user the URL from the most recent call.
Inputs: theme_path (required). Returns: object
publish_postA
Publish a post AND email it to a newsletter's subscribers. SENDS REAL EMAIL.
This is outward-facing and irreversible: it emails the post to members the
moment it publishes (or at scheduled_at). Only call it on explicit user
instruction to send. To publish WITHOUT emailing, use
update_post(status="published") instead.
Inputs: post_id (required), newsletter_slug (required), scheduled_at, email_segment. Returns: object
restyle_themeA
Restyle an installed theme by editing its stylesheet, then re-upload it.
Iterate a theme already on the blog without regenerating it: this downloads
the named theme, rewrites its assets/built/screen.css -- appending new
rules by default, or mode="replace" to swap the whole stylesheet -- and
re-uploads it. The upload itself does NOT activate a theme. But if name
is the ACTIVE theme, the new CSS is what visitors see, so this changes the
live look; confirm that's intended. Ghost re-validates on upload, so any
errors/warnings are returned.
Inputs: css (required), name (required), mode. Returns: object
update_brandingA
Update the blog's brand accent colour.
accent_color is a hex value such as #4a7c59. Keeping it aligned with
the main site's brand makes the blog feel like part of the same product.
Returns the fields that were updated.
Inputs: accent_color. Returns: object
update_labelB
Update a label by id; only the fields you pass are changed.
Inputs: label_id (required), name, slug. Returns: object
update_memberA
Update a member by id; only the fields you pass are changed.
labels and newsletter_ids REPLACE the member's current sets, so pass
the full list you want to keep. subscribed=false unsubscribes the member
from all newsletters. Returns the updated member summary.
Inputs: member_id (required), name, note, email, +3 more. Returns: object
update_newsletterA
Update a newsletter by id; only the fields you pass are changed.
Set status="archived" to retire a newsletter (there is no delete) or
"active" to restore it. Changing sender_email starts an email
verification: Ghost emails the new address and it does NOT take effect until
the link is clicked, so sender_email may still read as its old value right
after this call. sender_reply_to is "newsletter" or "support".
Returns the updated newsletter summary.
Inputs: newsletter_id (required), name, status, description, +5 more. Returns: object
update_offerA
Update an offer by id.
Ghost only allows editing name, code, and the display title/description
of an existing offer; the pricing terms are fixed once created. Returns the
updated offer summary.
Inputs: offer_id (required), code, name, display_title, +1 more. Returns: object
update_pageA
Update an existing page by id; only the fields you pass are changed.
Pass status="published" to publish a draft, or status="draft" to
unpublish. An empty html is treated as "leave the body unchanged", so it
never blanks a page. Returns the updated page summary.
Inputs: page_id (required), html, title, status, +4 more. Returns: object
update_postA
Update an existing post by id; only the fields you pass are changed.
Pass status="published" to publish a draft, or status="draft" to
unpublish. An empty html is treated as "leave the body unchanged" (same
as create), so it never blanks a post. Returns the updated post summary.
Inputs: post_id (required), html, tags, title, +5 more. Returns: object
update_site_metadataA
Update the blog's identity and SEO/social metadata.
Sets the site title/description, the search-result metadata
(meta_title/meta_description), and the Open Graph and Twitter card fields
used when posts are shared. Only the arguments you provide are changed; omit
the rest. Good meta_* and social fields help the blog present and rank
well.
Returns the fields that were updated, with their new values.
Inputs: title, og_image, og_title, meta_title, +6 more. Returns: object
update_tagB
Update a tag by id; only the fields you pass are changed.
Inputs: tag_id (required), name, slug, meta_title, +3 more. Returns: object
update_tierA
Update a tier by id; only the fields you pass are changed.
There is no delete for tiers; retire one with active=False instead.
Returns the updated tier summary.
Inputs: tier_id (required), name, active, benefits, +7 more. Returns: object
upload_imageA
Upload a local image file to the blog and return its hosted URL.
Use the returned URL for a post's feature_image, the site logo/icon
(via update_branding), or a newsletter header_image.
Inputs: file_path (required), purpose. Returns: object
upload_image_from_urlA
Fetch a public image by URL and re-upload it to the blog, returning the URL.
The source is fetched under the same SSRF guard as the vision tools (public http(s) only; private/localhost hosts and oversized responses are refused), then uploaded to Ghost so the image is served from the blog itself.
Inputs: source_url (required), purpose. Returns: object
upload_themeA
Package a theme directory and upload it to Ghost WITHOUT activating it.
The live site keeps its current theme; the uploaded theme is installed but inactive, so it can be reviewed and activated manually. Ghost validates the theme on upload; any errors or warnings are returned.
Inputs: theme_path (required). Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 55 tools
Each tool has a clearly distinct purpose, with detailed descriptions that prevent confusion between similar operations (e.g., publish_post vs update_post, create_theme vs upload_theme vs activate_theme). The boundaries between content types (post/page/member/newsletter) are well-defined.
All tools follow a consistent verb_noun snake_case pattern (e.g., create_post, list_members, update_theme). Even longer names like upload_image_from_url adhere to the same scheme. No mixing of casing or irregular verbs.
55 tools is excessive for a single MCP server, especially one focused on 'Styling'. The server includes full CRUD for many Ghost entities (members, offers, newsletters, etc.) well beyond styling, making the surface overwhelming and the scope unfocused.
The tool set covers the full styling workflow (extract brand → create/restyle/preview/upload/activate theme) and basic CRUD for most content types. Minor gaps exist (no delete_theme, delete_newsletter only via archive, no user management) but these are often API limitations.
Maintenance
Related MCP Connectors
Build and publish Ghost themes with your AI agent: pages, styles, patterns and previews.
Ghost MCP server for ChatGPT, Claude and any AI agent: list posts, create draft post, schedule post, send newsletter, list members and label members in your own Ghost account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Ghost yourself; Cotlet does not store your password and you need no Ghost API key. About the official Ghost API: Ghost has a full REST Admin API, but no official MCP server (checked 17 Oct 2026). The Admin API covers posts, pages, members, labels, newsletters, tiers and offers, and Ghost says everything Ghost Admin can do is also possible with the API. Setup and FAQ: https://cotlet.dev/integrations/ghost-api-mcp-server
Read visual design reviews from live web pages: comments, CSS selectors, styles, console errors.
Manage BrightSite websites: pages, blog posts, components, forms, media, and analytics.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceIntegrates with the Ghost Admin API to allow programmatic management of Ghost CMS features, including posts, pages, tags, authors, members, and image uploads, providing efficient content management capabilities.15 npm3MIT
- AlicenseNot gradedqualityDmaintenanceEnables comprehensive management of Ghost CMS instances through the Admin API, supporting content operations (posts, tags), member management, newsletters, tiers, offers, and webhooks through natural language interactions.1MIT
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Ghost CMS sites through both Content (read-only) and Admin (read/write) APIs, allowing natural language management of posts, pages, tags, and settings.1MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to securely manage Ghost CMS blogs, including posts, pages, members, newsletters, tiers, and more via natural language.MIT