プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のための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の3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: 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

「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。

必要なもの

  • npmNode.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月6日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント rnaga で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

その他のほかのサーバーとの比較i

  • このカテゴリのほかの32531件のうち0%よりスターが多い
  • このカテゴリのほかの32531件のうち19%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの32531件のうち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 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:Spec Driven Development, Remote Desktop Commander, Reelsaw

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Remote Desktop Commander

作者:desktop-commander

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

クラウドで動く★ 211昨日更新
インストール

Reelsaw

作者:osbytes

Drive a self-hosted Reelsaw: turn long videos into vertical clips, edit, re-render and export them.

パソコンで動く今日更新
インストール

作者の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に聞く