MCP ExplorerExplorer

Ghost Mcp Server

@mtane0412on 9 months ago
2 MIT
FreeCommunity
AI Systems
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.

Overview

What is Ghost Mcp Server

ghost-mcp-server is a Model Context Protocol (MCP) server that integrates with the Ghost Admin API, allowing programmatic access to various Ghost CMS features such as post management, page management, and member management.

Use cases

Use cases include automating content updates, integrating Ghost CMS with other applications, managing user memberships, and facilitating image uploads for blog posts.

How to use

To use ghost-mcp-server, first install it via npm with the command npm install @mtane0412/ghost-mcp-server. Then, configure your Ghost Admin API key and URL as environment variables or in a .env file. Finally, start the server using npx @mtane0412/ghost-mcp-server.

Key features

Key features include post management (CRUD operations), page management, tag management, author management, member management (CRUD operations), and image upload support.

Where to use

ghost-mcp-server can be used in web development projects that require integration with Ghost CMS, especially for applications that need to manage content programmatically.

Content

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:

npm install @mtane0412/ghost-mcp-server

Configuration

  1. Create a new custom integration in your Ghost Admin dashboard under Settings > Integrations.

  2. Set the following environment variables:

# macOS/Linux
export GHOST_URL="https://your-ghost-blog.com"
export GHOST_ADMIN_API_KEY="your_admin_api_key"

# Windows (PowerShell)
$env:GHOST_URL="https://your-ghost-blog.com"
$env:GHOST_ADMIN_API_KEY="your_admin_api_key"

Alternatively, you can create a .env file:

GHOST_URL=https://your-ghost-blog.com
GHOST_ADMIN_API_KEY=your_admin_api_key

Usage

After installation, start the server with:

npx @mtane0412/ghost-mcp-server

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:

npm run inspect

The Inspector will provide a URL to access debugging tools in your browser.

License

MIT License

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers