Ghost MCP Server
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Integrations
Ghost MCP Server
A Model Context Protocol (MCP) server that integrates with the Ghost Admin API. This server enables programmatic access to Ghost CMS features including post management, page management, member management, and more.
Features
- Post Management (create, read, update, delete, search)
- Page Management (create, read, update, delete)
- Tag Management
- Author Management
- Member Management (create, read, update, delete, search)
- Image Upload Support
Prerequisites
- Node.js (v18 or higher recommended)
- Ghost CMS instance
- Ghost Admin API key
Installation
Install the package using npm:
Configuration
- Create a new custom integration in your Ghost Admin dashboard under Settings > Integrations.
- Set the following environment variables:
Alternatively, you can create a .env
file:
Usage
After installation, start the server with:
Available Tools
get_posts
Retrieves a list of blog posts.
Input:
get_post
Retrieves a specific post by ID.
Input:
search_posts
Searches for posts.
Input:
create_post
Creates a new post.
Input:
update_post
Updates an existing post.
Input:
delete_post
Deletes a post.
Input:
get_pages
Retrieves a list of pages.
Input:
get_members
Retrieves a list of members.
Input:
search_members
Searches for members.
Input:
upload_image
Uploads an image.
Input:
Debugging
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:
The Inspector will provide a URL to access debugging tools in your browser.
License
MIT License
This server cannot be installed
Integrates 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.