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

WordPress MCP Server

作者:rnaga版本 1.0.9i★ –i在你的电脑上运行
注册名称io.github.rnaga/wp-mcp

安装

概览

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

MCP server for WordPress. Manage posts, users, comments, terms, metadata, and settings.

PopNx MCP 的三大支柱

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

它能帮你做什么

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

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他
  • 你需要填写:LOCAL_USERNAME, WP_DB_HOST, WP_DB_NAME, WP_DB_USER, WP_DB_PASSWORD

安装

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

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: LOCAL_USERNAME, WP_DB_HOST, WP_DB_PORT, WP_DB_NAME, WP_DB_USER, WP_DB_PASSWORD, LOCAL_MULTISITE, LOCAL_DEFAULT_BLOG_ID, LOCAL_DEFAULT_SITE_ID, LOCAL_SSL_ENABLED, LOCAL_SSL_CA_FILEPATH, LOCAL_SSL_CERT_FILEPATH, LOCAL_SSL_KEY_FILEPATH

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

你需要

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

你用的是哪个应用?

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

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

{
  "mcpServers": {
    "wp": {
      "command": "npx",
      "args": [
        "-y",
        "@rnaga/wp-mcp",
        "local",
        "start"
      ],
      "env": {
        "LOCAL_USERNAME": "your-value",
        "WP_DB_HOST": "your-value",
        "WP_DB_PORT": "your-value",
        "WP_DB_NAME": "your-value",
        "WP_DB_USER": "your-value",
        "WP_DB_PASSWORD": "your-value",
        "LOCAL_MULTISITE": "your-value",
        "LOCAL_DEFAULT_BLOG_ID": "your-value",
        "LOCAL_DEFAULT_SITE_ID": "your-value",
        "LOCAL_SSL_ENABLED": "your-value",
        "LOCAL_SSL_CA_FILEPATH": "your-value",
        "LOCAL_SSL_CERT_FILEPATH": "your-value",
        "LOCAL_SSL_KEY_FILEPATH": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add wp --env LOCAL_USERNAME=your-value --env WP_DB_HOST=your-value --env WP_DB_PORT=your-value --env WP_DB_NAME=your-value --env WP_DB_USER=your-value --env WP_DB_PASSWORD=your-value --env LOCAL_MULTISITE=your-value --env LOCAL_DEFAULT_BLOG_ID=your-value --env LOCAL_DEFAULT_SITE_ID=your-value --env LOCAL_SSL_ENABLED=your-value --env LOCAL_SSL_CA_FILEPATH=your-value --env LOCAL_SSL_CERT_FILEPATH=your-value --env LOCAL_SSL_KEY_FILEPATH=your-value -- npx -y @rnaga/wp-mcp local start

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

在 Cursor 中打开

或者自己复制设置

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

{
  "mcpServers": {
    "wp": {
      "command": "npx",
      "args": [
        "-y",
        "@rnaga/wp-mcp",
        "local",
        "start"
      ],
      "env": {
        "LOCAL_USERNAME": "your-value",
        "WP_DB_HOST": "your-value",
        "WP_DB_PORT": "your-value",
        "WP_DB_NAME": "your-value",
        "WP_DB_USER": "your-value",
        "WP_DB_PASSWORD": "your-value",
        "LOCAL_MULTISITE": "your-value",
        "LOCAL_DEFAULT_BLOG_ID": "your-value",
        "LOCAL_DEFAULT_SITE_ID": "your-value",
        "LOCAL_SSL_ENABLED": "your-value",
        "LOCAL_SSL_CA_FILEPATH": "your-value",
        "LOCAL_SSL_CERT_FILEPATH": "your-value",
        "LOCAL_SSL_KEY_FILEPATH": "your-value"
      }
    }
  }
}

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

在 VS Code 中打开

或者自己复制设置

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

{
  "servers": {
    "wp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@rnaga/wp-mcp",
        "local",
        "start"
      ],
      "env": {
        "LOCAL_USERNAME": "your-value",
        "WP_DB_HOST": "your-value",
        "WP_DB_PORT": "your-value",
        "WP_DB_NAME": "your-value",
        "WP_DB_USER": "your-value",
        "WP_DB_PASSWORD": "your-value",
        "LOCAL_MULTISITE": "your-value",
        "LOCAL_DEFAULT_BLOG_ID": "your-value",
        "LOCAL_DEFAULT_SITE_ID": "your-value",
        "LOCAL_SSL_ENABLED": "your-value",
        "LOCAL_SSL_CA_FILEPATH": "your-value",
        "LOCAL_SSL_CERT_FILEPATH": "your-value",
        "LOCAL_SSL_KEY_FILEPATH": "your-value"
      }
    }
  }
}

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

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

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

需要你填写的值

  • LOCAL_USERNAME 必填 env
    WordPress username to assume for capability checks
  • WP_DB_HOST 必填 env
    WordPress database host
  • WP_DB_PORT env
    WordPress database port
  • WP_DB_NAME 必填 env
    WordPress database name
  • WP_DB_USER 必填 env
    WordPress database user
  • WP_DB_PASSWORD 机密 必填 env
    WordPress database password
  • LOCAL_MULTISITE env
    Enable WordPress multisite mode
  • LOCAL_DEFAULT_BLOG_ID env
    Default blog ID for multisite
  • LOCAL_DEFAULT_SITE_ID env
    Default site ID for multisite
  • LOCAL_SSL_ENABLED env
    Enable SSL for database connection
  • LOCAL_SSL_CA_FILEPATH env
    Path to SSL CA certificate file
  • LOCAL_SSL_CERT_FILEPATH env
    Path to SSL certificate file
  • LOCAL_SSL_KEY_FILEPATH env
    Path to SSL key file

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

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • … 尚未检查

    仍在维护

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

  • … 尚未检查

    有许可证

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

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

与“其他”中的其他服务器比较i

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

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

常见问题

WordPress MCP Server 安全吗?

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

它需要哪些密钥或代码?

你需要填写:LOCAL_USERNAME, WP_DB_HOST, WP_DB_NAME, WP_DB_USER, WP_DB_PASSWORD

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

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

它还在维护吗?

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

哪些应用可以使用它?

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

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, Zendesk

替代选择

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

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

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 211前天更新
安装

Zendesk

作者:pipeworx-io

Zendesk MCP Pack — tickets, users, organizations via OAuth.

电脑或云端今天更新
安装

作者的 README

打开 README

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

wp-mcp

@rnaga/wp-mcp is a Model Context Protocol (MCP) server for WordPress that turns your site into an AI-operable surface. By exposing WordPress CRUD primitives to clients like Claude Desktop, an assistant can draft a post on demand, refine it collaboratively, and publish it straight into your database—no trip through wp-admin required.

Here are a few common scenarios this unlocks:

  • Draft, revise, and publish posts directly from MCP clients such as Claude Desktop.
  • Inspect WordPress users, their roles, and capabilities to audit site permissions or generate access reports.

Built on top of @rnaga/wp-node, the server ships with a curated MCP toolset covering posts, users, comments, terms, revisions, metadata, options, and site settings. The MCP server can manage the following database tables/resources:

ResourceWhat you can do
PostsCreate, update, read, or delete posts and their revisions.
CommentsModerate discussion threads or inject generated replies.
UsersOnboard contributors, adjust roles, or disable accounts with native capability checks.
TermsManage categories, tags, and custom taxonomies.
MetadataInspect, create, update, or delete post, user, comment, term, and site meta fields.
Settings & OptionsToggle site-level configuration safely.

You can spin up a STDIO server for direct database access or host a Streamable HTTP MCP server for remote access. For convenience, layer on the CLI proxy whenever your MCP client needs a local bridge to the HTTP server. The proxy behaves like a local MCP server while relaying requests to the HTTP endpoint—perfect for clients that lack OAuth or WordPress Application Password support—so you can fit MCP workflows into existing editorial pipelines without re-implementing WordPress business logic.

The project includes a CLI (wp-mcp) that helps you:

  • configure and launch a local STDIO MCP server that connects straight to your WordPress database;
  • scaffold and initialize an Express-based Streamable HTTP MCP server (with env/TS boilerplate);
  • authenticate against a remote WordPress environment (OAuth or Application Password) and run a JSON-RPC proxy so MCP clients can reach it securely;
  • inspect available MCP primitives and manage the credentials stored under ~/.wp-mcp.

Run this command to list the available CLI commands:

npx @rnaga/wp-mcp -- --help
Usage: <command> <subcommand> [options]

Commands: local Local MCP (stdio) server commands utils Utility commands for configuration, debugging, and MCP inspection http Scaffold a TypeScript project for the MCP streamable HTTP server and related tooling. remote Remote MCP server commands

Together, the server, CLI utilities, and proxy tooling let you CRUD WordPress content, manage users, and sync settings through the MCP standard without re-implementing WordPress logic.

Getting Started

Local STDIO server

Run the STDIO server when you can reach the database directly. The CLI launches an MCP process that assumes a WordPress user locally and exposes your site's tools over STDIO to the MCP client.

flowchart LR

client(["MCP Client (e.g. Claude Desktop)"]) stdio(["Local STDIO MCP Server (wp-mcp CLI)"]) db(["WordPress Database"])

client <--> stdio stdio <--> db

  1. Run the CLI to set up the database connection:
   npx @rnaga/wp-mcp -- local config-set

The CLI prompts you for host, port, database name, user, and password. If your database requires SSL, you can provide CA, cert, and key file paths to secure remote access. Run npx @rnaga/wp-mcp local config anytime to review the saved values.

  1. Configure your MCP client to launch the server. For Claude Desktop, open Settings → Developer → Edit Config and add this to your claude_desktop_config.json:
   {

"mcpServers": { "wp-mcp": { "command": "npx", "args": ["-y", "@rnaga/wp-mcp", "--", "local", "start"], "env": { "LOCAL_USERNAME": "wp-admin" } } } }

Activate the server: Save the config file, then quit and restart your MCP client (for example, Claude Desktop). The WordPress tools will now appear in the MCP indicator at the bottom right of the chat input.

Important: Replace wp-admin with your WordPress username. The server uses this to determine which MCP primitives are available based on the user's WordPress capabilities. For example, administrator roles get full access to all primitives (create, update, delete posts, manage users, etc.), while subscriber roles see only limited tools. This capability-based filtering prevents accidental execution of privileged operations. To see which primitives are available and the required capabilities and roles for each:

   npx @rnaga/wp-mcp -- utils list-prims

This displays a table showing the primitive name, title, description, required capabilities, and allowed roles.

Optional: Provide a WordPress config manifest if your project defines one (e.g., src/_wp/config/wp.json). Set LOCAL_CONFIG in the env object above to the absolute path of your config file. If you don't have a custom config, omit this environment variable entirely. For the configuration manifest schema, see https://rnaga.github.io/wp-node/docs/getting-started/configuration.

Testing the MCP server:

Use the MCP Inspector for interactive testing and debugging:

   npx -y @modelcontextprotocol/inspector npx @rnaga/wp-mcp local start -u wp-admin

This opens a visual interface at http://localhost:6274 where you can explore available tools, test them with different arguments, and inspect server responses.

Note: Inspector persists its "Environment Variables" panel in browser storage across sessions. If you previously added a PATH entry there while troubleshooting, delete it manually in the UI — a stale value can shadow the environment the server actually needs and won't be overridden by CLI flags or script changes.

Usage reference for CLI flags and environment variables:

Environment variableCLI flagPurposeWhen it is read
LOCAL_USERNAME--username / -u WordPress username to assumeUsed by local start to pick the WP user whose roles and capabilities determine available MCP primitives.
LOCAL_CONFIG--file / -f WordPress config manifest locationUsed by local start to point the init hook at a custom WP config JSON.
DB_ENVIRONMENT, WP_DB_HOST, WP_DB_PORT, WP_DB_NAME, WP_DB_USER, WP_DB_PASSWORD, LOCAL_MULTISITE, LOCAL_DEFAULT_BLOG_ID, LOCAL_DEFAULT_SITE_ID, LOCAL_SSL_ENABLED, LOCAL_SSL_CA_FILEPATH, LOCAL_SSL_CERT_FILEPATH, LOCAL_SSL_KEY_FILEPATH_(wizard via local config-set)_Local database connection detailsLoaded by the secret store before local start; populate them with local config-set or export them ahead of time.
MCP Streamable HTTP server

Use the HTTP server when you need to expose MCP over the Internet or let remote teammates connect. The CLI scaffolds an Express app (see src/http/express/index.ts) that exposes both the MCP streaming HTTP transport and the SSE fallback while reusing the same primitive registry.

  1. Scaffold a project
   npx @rnaga/wp-mcp -- http init

The wizard prompts for database connection details, creates a wp-node project, and seeds Express boilerplate plus TypeScript configuration for the HTTP transport.

Resulting layout:

   ├── _wp

│   ├── config │   │   ├── index.d.ts │   │   └── wp.json │   └── settings.ts ├── .env ├── .gitignore ├── index.ts ├── package-lock.json ├── package.json ├── src │   └── index.ts └── tsconfig.json

Populate .env with the values requested by the scaffolder and any HTTP-specific environment variables listed later in this document.

  1. Run the server in development
   npm run dev

This relies on ts-node so you can iterate without precompiling.

  1. Build and run in production
   npm run build

npm run start

The compiled output boots the same Express server that createHttpServer wires together in the library.

Connect via the Remote Proxy CLI

Use the remote proxy when your MCP client only understands STDIO or lacks full OAuth support but the WordPress environment is available over HTTP. The proxy keeps credentials in ~/.wp-mcp and relays MCP requests to the remote server with the right Authorization header.

flowchart LR

client(["MCP Client (e.g. Claude Desktop)"]) proxy(["CLI Proxy (handles OAuth or WP Application Password)"]) server(["MCP HTTP Server (Express instance in this repo)"]) db(["WordPress Database"])

client <--> proxy proxy <--> server server <--> db

  1. Authenticate once

Begin by enrolling the proxy with either WordPress Application Password credentials or an OAuth device flow so it can sign requests on behalf of your MCP client.

  • WordPress Application Password

sh npx @rnaga/wp-mcp -- remote login password

Provide the authorization URL for your server (for example http://localhost:3000), then enter the WordPress username and application password. The credentials are stored securely so future proxy runs can supply HTTP Basic auth automatically (WordPress Application Passwords are transmitted via the Basic scheme.)

Inspect the stored values with:

sh npx @rnaga/wp-mcp -- remote config

  • OAuth device flow

sh npx @rnaga/wp-mcp -- remote login oauth

The CLI calls /auth/device/start, prints the user code, and opens the verification URL in your browser. After you complete the device flow, the access and refresh tokens are written to ~/.wp-mcp. You can re-run remote config or remote revoke-token as needed.

Use `npx @rnaga/wp-mcp -- remot

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

问 PopNx