原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Ghost MCP Server

作者:proars版本 2.2.1i★ –i在你的电脑上运行
注册名称io.github.proars/ghost-mcp-server

安装

概览

作者提供的说明(英文原文)

MCP server for Ghost CMS: manage posts, pages, tags, SEO, members and newsletters via the Admin API.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 营销与社交媒体
  • 你需要填写:GHOST_API_URL, GHOST_ADMIN_API_KEY

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: GHOST_API_URL, GHOST_ADMIN_API_KEY

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "ghost": {
      "command": "npx",
      "args": [
        "-y",
        "@proars/ghost-mcp-server"
      ],
      "env": {
        "GHOST_API_URL": "your-value",
        "GHOST_ADMIN_API_KEY": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add ghost --env GHOST_API_URL=your-value --env GHOST_ADMIN_API_KEY=your-value -- npx -y @proars/ghost-mcp-server

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "ghost": {
      "command": "npx",
      "args": [
        "-y",
        "@proars/ghost-mcp-server"
      ],
      "env": {
        "GHOST_API_URL": "your-value",
        "GHOST_ADMIN_API_KEY": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "ghost": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@proars/ghost-mcp-server"
      ],
      "env": {
        "GHOST_API_URL": "your-value",
        "GHOST_ADMIN_API_KEY": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • GHOST_API_URL 必填 env
    Ghost Admin domain, for example https://your-blog.com
  • GHOST_ADMIN_API_KEY 机密 必填 env
    Ghost Admin API key (id:secret)

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 proars 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“营销与社交媒体”中的其他服务器比较i

  • 星标数多于此分类中其他 2952 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 2952 个服务器的 87% 更新
  • 基础检查结果等于或优于此分类中其他 2952 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Ghost MCP Server 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:GHOST_API_URL, GHOST_ADMIN_API_KEY

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(2.2.1)于4天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:MCP YouTube Transcript, Google Analytics MCP, BibiGPT YouTube Video Summarizer

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

MCP YouTube Transcript

作者:jkawamoto

An MCP server retrieving transcripts of YouTube videos

在你的电脑上运行★ 495MIT9天前更新
安装

Google Analytics MCP

作者:surendranb

GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.

在你的电脑上运行★ 244MIT9天前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Ghost MCP Server: manage Ghost CMS from Claude, Cursor and other AI clients

Ghost MCP Server is an open-source Model Context Protocol server for Ghost CMS, written in TypeScript. It connects an MCP client such as Claude Desktop, Claude Code or Cursor to the Ghost Admin API over stdio. With it, an AI assistant can create and edit posts and pages, set SEO metadata, manage tags, members and newsletters, upload images and themes, and export content.

It exposes 60 tools: 55 dedicated API tools, three shortcuts for SEO and tags, a route search and a generic request tool. The built-in catalog covers 253 Admin API routes taken from a pinned Ghost source snapshot. What works on your site depends on your credentials, your Ghost version and its feature flags. Routes and sources are listed in GHOST_API.list.

Quick start

You need Node.js 20 or newer and a Ghost site with Admin API access.

  1. In Ghost Admin, open Settings → Integrations → Add custom integration and copy the Admin API Key (id:secret). Do not use the Content API key.
  2. Add the server to your client configuration. For Claude Desktop or Cursor:
{

"mcpServers": { "ghost": { "command": "npx", "args": ["-y", "@proars/ghost-mcp-server"], "env": { "GHOST_API_URL": "https://your-blog.com", "GHOST_ADMIN_API_KEY": "64f1a2b3c4d5e6f7a8b9c0d1:3e5f7a9b1c2d4e6f8a0b2c4d6e8f0a1b3c5d7e9f1a2b4c6d8e0f2a3b5c7d9e1f" } } } }

The key above is a made-up example in the real format: 24 hex characters, a colon, then 64 hex characters. Replace both values with your own.

When you run the server with npx, pass the settings through env as shown. A .env file is read only from a source checkout (see below), or from the path in GHOST_MCP_ENV_FILE.

  1. Restart the client and ask something like "List my latest posts with their SEO titles."

GHOST_API_URL is the canonical Admin domain, including any site subdirectory, without /ghost/api/admin. For a local site, use an address such as http://localhost:2368.

Config file locations: Claude Desktop on macOS uses ~/Library/Application Support/Claude/claude_desktop_config.json. Cursor uses ~/.cursor/mcp.json or .cursor/mcp.json in your project.

Claude Code:

claude mcp add ghost --scope user \

-e GHOST_API_URL=https://your-blog.com \ -e GHOST_ADMIN_API_KEY=64f1a2b3c4d5e6f7a8b9c0d1:3e5f7a9b1c2d4e6f8a0b2c4d6e8f0a1b3c5d7e9f1a2b4c6d8e0f2a3b5c7d9e1f \ -- npx -y @proars/ghost-mcp-server

--scope user makes the server available in every folder. Without it, the server is registered only for the folder where you ran the command. Claude Code starts and stops the server itself, so you don't need to keep a terminal open.

Check the connection with claude mcp get ghost, which should report Connected, or type /mcp inside a claude session. To remove the server, run claude mcp remove ghost -s user.

Any other stdio MCP client can run the same command, npx -y @proars/ghost-mcp-server, with the two environment variables.

Updating: npx uses a cache, so @latest may not be checked against the registry on every start. To force a registry freshness check whenever the command runs, use npx --prefer-online -y @proars/ghost-mcp-server@latest. In a JSON client configuration, set args to:

["--prefer-online", "-y", "@proars/ghost-mcp-server@latest"]

To stay on one version, pin it, for example @proars/ghost-mcp-server@2.2.0. See the changelog for what changed in each release.

Don't run npx from inside a clone of this repository: npm finds the local package.json with the same name and fails with ghost-mcp-server: command not found. Run it from any other folder.

Install from source

Use this if you want to change the code or run an unpublished version.

git clone https://github.com/proars/ghost-mcp-server.git

cd ghost-mcp-server npm install npm run build cp .env.example .env

Fill in GHOST_API_URL and GHOST_ADMIN_API_KEY in .env, then point the client at the build. Keep --silent: npm's startup banner would otherwise end up in the MCP protocol stream on stdout.

{

"mcpServers": { "ghost": { "command": "npm", "args": ["--silent", "--prefix", "/ABSOLUTE/PATH/ghost-mcp-server", "start"] } } }

The .env file in the project root is read regardless of the directory the client starts the server from. Variables that are already set take priority, and if both required variables are set, the file is not read at all. GHOST_MCP_ENV_FILE selects a different env file, and GHOST_MCP_SKIP_DOTENV=1 turns file loading off.

What can the server do?

ResourceTools
Postsget_posts, get_post, get_post_by_slug, create_post, update_post, delete_post, copy_post
Pagesget_pages, get_page, get_page_by_slug, create_page, update_page, delete_page, copy_page
Tagsget_tags, get_tag, get_tag_by_slug, create_tag, update_tag, delete_tag
Tiersget_tiers, get_tier, create_tier, update_tier
Newslettersget_newsletters, get_newsletter, create_newsletter, update_newsletter
Offersget_offers, get_offer, create_offer, update_offer
Membersget_members, get_member, create_member, update_member, delete_member
Labelsget_labels, create_label, update_label, delete_label
Staffget_users, get_user, update_user, delete_user, get_roles, invite_user
Images and themesupload_image, upload_theme, activate_theme
Webhookscreate_webhook, update_webhook, delete_webhook
Siteget_site, get_settings
Shortcutsupdate_post_seo, update_page_seo, update_post_tags
Discovery and generic callsghost_list_endpoints, ghost_api_request

Ghost has no delete endpoint for tiers, newsletters or offers, so those resources have no delete_* tool.

Warning: this server exposes every supported function, including destructive ones. delete_post, delete_page, delete_tag, delete_member, delete_user, activate_theme, upload_theme and ghost_api_request can permanently remove or overwrite content, subscribers and site settings. Deleted records usually cannot be restored. Create a separate integration key for the server, export a backup of your content from Ghost Admin before bulk work, and turn on manual approval for all update_*, delete_* and generic calls in your client.

How do I call the tools?
  • Create and update: put the record fields in data and pass the record id as a separate argument. Post and page updates need data.updated_at from a fresh read. The SEO shortcuts (update_post_seo, update_page_seo) and the tag shortcut take updated_at directly.
  • Lists: use limit, page, filter, order, include and fields. Posts and pages come back with compact fields and tags by default. Single-record reads return the full record.
  • SEO: update_post_seo and update_page_seo set meta_title, meta_description, og_title and og_description in one call. Pass id, the current updated_at and at least one of those fields. Fields you leave out stay unchanged.
  • Tags: setting tags replaces the whole set. Tags that don't exist yet are created, and an empty array removes all tags.
  • Publishing: call update_post with data.status="published", or with "scheduled" and a future data.published_at. To send the post by email, add newsletter (a slug) and, optionally, email_segment.
  • Images: upload_image takes file_path, an optional purpose (image, profile_image or icon) and ref.
How do I reach routes that have no dedicated tool?

Use ghost_list_endpoints to search by group, method, access or search. Set without_dedicated_tool=true to list the other 198 routes. Each entry shows access requirements, feature flags and upload fields.

Call any route with ghost_api_request. Its path is relative to /ghost/api/admin, contains real IDs or slugs, and has no query string.

ghost_api_request method=GET  path=/labels/slug/vip/

ghost_api_request method=POST path=/members/upload/ files={membersfile: "/Users/me/members.csv"} ghost_api_request method=GET path=/posts/export/ save_to="/Users/me/posts.csv"

Send JSON payloads in body, using the structure Ghost expects. Put query parameters in query. Send multipart files as files={formField: "/absolute/path"}, with optional text fields.

For downloads, save_to must name a new file in an existing, writable folder. Trailing separators are rejected and existing files are never overwritten. When a POST, PUT or DELETE returns a file, set save_to on the first call, because repeating a mutation to get its response can repeat its effect.

Which Ghost permissions does it need?

ClassRoutesRequirement
I / PUBLIC125Integration-key allowlist or public access. Handler permissions still apply.
U116A staff user's access token with the required role, or a user session.
SESSION3User cookie session. Integration keys and staff tokens are blocked.
FLOW9Login, recovery and setup flows with their own authentication.

To use a staff token, put the token from the user's Ghost Admin profile into GHOST_ADMIN_API_KEY. Its permissions follow the user's role. Staff tokens cannot call DELETE /db/, PUT /users/owner/ or POST /authentication/reset/.

The server does not implement cookie sessions, login or 2FA. Those routes are in the catalog for discovery only.

Requests send Accept-Version: v5.0. The catalog is a snapshot of Ghost's main branch, so it includes newer or experimental routes that may return 404 on your installation. The public Content API is not included.

Is it safe to give an AI client access to my site?

Treat it like any account with write access to your blog, and keep a human in the loop.

  • Keep keys in your client's environment or in .env, and never commit them. Turn on manual approval for destructive tools: all update_* and delete_* tools, activate_theme, upload_theme and ghost_api_request.
  • If a mutation fails after it was sent, check Ghost before retrying, because it may have gone through. Use the read tools to inspect the result of a truncated response.
  • Redirects are never followed. Configure the canonical Admin URL, and after a mutation receives a redirect, check the result before sending another request.
  • Local file paths must be absolute. Hidden path components are refused, both as written and after symlink resolution. Uploads require regular files, and downloads are reserved before the request with owner-only permissions.
  • The file checks are not a sandbox. They don't protect sensitive files that have visible names, and they don't stop a local process from rewriting directories during a call. Treat site content as untrusted and review upload requests.
  • Uploads and downloads are buffered in memory. HTTP requests time out after 120 seconds, and tool responses longer than 100,000 characters are truncated.

Developmen

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx