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_keyAPI key- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. Ghost CMS CLIHeadless setup and direct function calls. Ghost CMS MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
Ghost CMS MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Ghost CMS.
Claude Code Ghost CMS MCP setup for Claude Code. Cursor Ghost CMS MCP setup for Cursor. Codex Ghost CMS MCP setup for Codex. OpenAI Agents Ghost CMS MCP setup for OpenAI Agents SDK. Claude Agent SDK Ghost CMS MCP setup for Claude Agent SDK. Vercel AI SDK Ghost CMS MCP setup for Vercel AI SDK. LangChain Ghost CMS MCP setup for LangChain. LangGraph Ghost CMS MCP setup for LangGraph. CrewAI Ghost CMS MCP setup for CrewAI. MCP clients Ghost CMS MCP setup for Generic MCP Clients.
Ghost CMS CLI Matrix
Use these pages for direct Ghost CMS CLI workflows in scripts, CI, cron, and agent wrappers.
CI Ghost CMS CLI for CI. Cron Jobs Ghost CMS CLI for cron jobs. Shell Scripts Ghost CMS CLI for shell scripts. Headless Automation Ghost CMS CLI for headless automation. Coding Agents Ghost CMS CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
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. |