ghost-publisher
v0.10.0Local-first MCP server for safe Ghost authoring, diagnostics, scheduling, and publishing.
Values you need
| Variable | What it is | |
|---|---|---|
GHOST_URL | required | URL of the Ghost site. |
GHOST_ADMIN_API_KEY | required secret | Admin API key from a Ghost custom integration. |
GHOST_API_VERSION | optional | Ghost Admin API compatibility version; defaults to v5.0. |
GHOST_PERMISSION_PROFILE | optional | Permission profile: read-only, draft-editor, scheduler, or publisher. Defaults to publisher. |
GHOST_READ_ONLY | optional | Legacy alias for the read-only profile. Do not combine with GHOST_PERMISSION_PROFILE. |
GHOST_UPLOAD_ROOTS | optional | Allowed absolute directories for local image uploads. |
GHOST_DEPLOY_HOOK_URL | optional secret | Optional deployment hook called once after a completely successful publish or unpublish batch. |
GHOST_PUBLIC_POST_URL_TEMPLATE | optional | Optional public post URL containing {slug} for live checks. |
GHOST_PUBLIC_PAGE_URL_TEMPLATE | optional | Optional public page URL containing {slug} for headless live checks. |
npm (npx)
Requires Node.js 18+
Run in a terminal
claude mcp add ghost-publisher -e 'GHOST_ADMIN_API_KEY=<GHOST_ADMIN_API_KEY>' -e 'GHOST_URL=<GHOST_URL>' -- npx -y ghost-publisher-mcp@0.10.0Add to
claude_desktop_config.json{
"mcpServers": {
"ghost-publisher": {
"args": [
"-y",
"ghost-publisher-mcp@0.10.0"
],
"command": "npx",
"env": {
"GHOST_ADMIN_API_KEY": "<GHOST_ADMIN_API_KEY>",
"GHOST_URL": "<GHOST_URL>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"ghost-publisher": {
"args": [
"-y",
"ghost-publisher-mcp@0.10.0"
],
"command": "npx",
"env": {
"GHOST_ADMIN_API_KEY": "<GHOST_ADMIN_API_KEY>",
"GHOST_URL": "<GHOST_URL>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "GHOST_ADMIN_API_KEY",
"id": "ghost-admin-api-key",
"password": true,
"type": "promptString"
},
{
"description": "GHOST_URL",
"id": "ghost-url",
"password": true,
"type": "promptString"
}
],
"servers": {
"ghost-publisher": {
"args": [
"-y",
"ghost-publisher-mcp@0.10.0"
],
"command": "npx",
"env": {
"GHOST_ADMIN_API_KEY": "${input:ghost-admin-api-key}",
"GHOST_URL": "${input:ghost-url}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.ghost-publisher]
command = "npx"
args = ["-y", "ghost-publisher-mcp@0.10.0"]
env = { "GHOST_ADMIN_API_KEY" = "<GHOST_ADMIN_API_KEY>", "GHOST_URL" = "<GHOST_URL>" }For AI agents
- Ask the user for: GHOST_URL, GHOST_ADMIN_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json