KosmoKrator

cms

Ghost CMS MCP, CLI, and Lua Integration for AI Agents

Ghost CMS integration docs for AI agents: MCP gateway setup, Ghost CMS CLI commands, Lua API reference, credentials, and function schemas.

7 functions 5 read 2 write API key auth

Ghost CMS for agents

Credentials can be configured manually in web or CLI hosts.

Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.

Machine-Readable Metadata
integration_slug
ghost
route_slug
ghost
package
ghost
auth_strategy
api_key API key
cli_setup_supported
true
cli_runtime_supported
true
mcp_gateway_supported
true
lua_supported
true
supports_multi_account
true

Quick Links

Ghost CMS MCP Client Matrix

Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Ghost CMS.

Ghost CMS CLI Matrix

Use these pages for direct Ghost CMS CLI workflows in scripts, CI, cron, and agent wrappers.

Function Catalog

FunctionTypeParametersDescription
ghost.ghost_list_posts Read read 9 List blog posts from Ghost CMS. Supports filtering by tag, author, status, and free-text search. Returns paginated results with post titles, slugs, status, and metadata.
ghost.ghost_get_post Read read 4 Get a single Ghost blog post by ID. Returns full post content, metadata, tags, and authors.
ghost.ghost_create_post Write write 8 Create a new blog post in Ghost CMS. Supports setting title, HTML content, status (draft or published), featured flag, tags, and authors.
ghost.ghost_update_post Write write 9 Update an existing blog post in Ghost CMS. Provide the post ID and any fields to change (title, content, status, featured flag, tags).
ghost.ghost_list_pages Read read 7 List static pages from Ghost CMS. Supports filtering, pagination, and ordering. Pages are non-blog content like "About", "Contact", etc.
ghost.ghost_list_members Read read 5 List newsletter members from Ghost CMS. Supports filtering by subscription status, email search, and pagination. Returns member names, emails, labels, and subscription info.
ghost.ghost_get_current_user Read read 1 Get the currently authenticated Ghost admin user. Useful for verifying API credentials and checking user role/permissions.