公式の WordPress MCP サーバーはありますか?
あります。WordPress の GitHub 組織にある MCP Adapter は、README で WordPress 公式の MCP 統合パッケージと説明されており、WordPress.org にも掲載されています。
@WordPress
基本情報
バージョン
0.7.0
ライセンス
GPL-2.0-or-later
トランスポート
streamable-http, stdio
認証方式
api_key
作者
WordPress
Abilities API のアビリティを MCP のツール・リソース・プロンプトとして AI エージェントに公開する WordPress 公式プラグイン。
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"wordpress": {
"command": "npx",
"args": [
"-y",
"@automattic/mcp-wordpress-remote@latest"
],
"env": {
"WP_API_URL": "${WP_API_URL}",
"WP_API_USERNAME": "${WP_API_USERNAME}",
"WP_API_PASSWORD": "${WP_API_PASSWORD}"
}
}
}
}Lists all WordPress abilities that are publicly available via MCP (name, label, description).
Retrieves the full input/output schema and metadata for a specific ability (ability_name).
Executes a public ability with the provided parameters after checking the ability's own permission callback.
WordPress MCP Adapter (Official) は WordPress プロジェクト公式の wordpress mcp プラグインです。WordPress Abilities API で登録されたアビリティ(abilities)を MCP のツール・リソース・プロンプトに変換し、Claude、Cursor、VS Code などの AI クライアントから呼び出せるようにします。
このアダプターは AI Building Blocks for WordPress イニシアチブの一部で、WordPress/mcp-adapter で GPL-2.0-or-later として公開され、WordPress.org のプラグインディレクトリにも「MCP Adapter」として掲載されています。Abilities API がコアに含まれる WordPress 6.9 以降が必要です。Automattic の旧プラグイン wordpress-mcp の後継で、旧プラグインはアーカイブされ、このリポジトリへの移行を案内しています。
前提条件:WordPress 6.9 以上、PHP 7.4 以上。Application Password で接続する場合はサイトが HTTPS であること(ローカルサイトを除き、WordPress は HTTPS でのみ Application Password を提供します)。プロキシを使うデスクトップクライアントでは Node.js も必要です。
wp plugin install https://github.com/WordPress/mcp-adapter/releases/latest/download/mcp-adapter.zip --activate
プラグインはサイトアドレスの後ろに /wp-json/mcp/mcp-adapter-default-server を付けた場所にデフォルトの WordPress MCP サーバーを作成します(例:https://example.com/wp-json/mcp/mcp-adapter-default-server)。
多くのデスクトップクライアントは @automattic/mcp-wordpress-remote プロキシを起動し、STDIO のメッセージを HTTP でサイトに転送します。Claude Desktop では Settings > Developer > Edit Config を開き、Cursor では ~/.cursor/mcp.json を編集します:
{
"mcpServers": {
"my-wordpress-site": {
"command": "npx",
"args": ["-y", "@automattic/mcp-wordpress-remote@latest"],
"env": {
"WP_API_URL": "https://example.com/wp-json/mcp/mcp-adapter-default-server",
"WP_API_USERNAME": "your-username",
"WP_API_PASSWORD": "xxxx xxxx xxxx xxxx xxxx xxxx"
}
}
}
}
保存してアプリを再起動します。サイト側が対応していれば、プロキシは OAuth(OAUTH_ENABLED=true)や JWT トークン(JWT_TOKEN)にも対応しています。
Claude Code は Basic 認証ヘッダーを付けて HTTP で直接接続できます。username:application-password を 1 行の base64 にエンコードしてからサーバーを追加します:
printf 'your-username:xxxx xxxx xxxx xxxx xxxx xxxx' | base64 | tr -d '\n'
claude mcp add --transport http my-wordpress-site \
https://example.com/wp-json/mcp/mcp-adapter-default-server \
--header "Authorization: Basic PASTE_THE_BASE64_HERE"
WordPress が自分のマシンで動いている場合、クライアントが WP-CLI 経由でアダプターを直接起動でき、パスワードは不要です:
{
"mcpServers": {
"wordpress": {
"command": "wp",
"args": [
"--path=/path/to/your/wordpress/site",
"mcp-adapter",
"serve",
"--server=mcp-adapter-default-server",
"--user=admin"
]
}
}
}
wp mcp-adapter list で登録済みのサーバーを確認できます。
接続テストには「List the WordPress abilities you can use on my site.」(このサイトで使える WordPress のアビリティを一覧にして)のようなプロンプトを使います。
Mcp-Session-Id セッションを使う MCP Streamable HTTP)と、wp mcp-adapter serve による STDIOmeta.public(または meta.mcp.public)が付いたアビリティのみ利用可能Requires Plugins: mcp-adapter で依存関係を宣言可能。composer require wordpress/mcp-adapter もあるが同梱は非推奨デフォルトサーバーは、サイト上のアビリティ数に関係なく 3 つのメタツールだけを公開し、tools/list を小さく保ちます:
mcp-adapter-discover-abilities は公開アビリティの名前・ラベル・説明を一覧表示します。mcp-adapter-get-ability-info は 1 つのアビリティの入力・出力スキーマを返します。mcp-adapter-execute-ability は、アビリティが公開されていることを確認し、そのアビリティ自身の権限コールバックを実行したうえで、パラメーター付きで実行します。アシスタントが実際に何をできるか(下書き作成、サイト情報の取得など)は、WordPress コアとプラグインが登録するアビリティ次第です。アビリティごとに個別の MCP ツールを公開したい開発者は、mcp_adapter_init フックでカスタムサーバーを作成できます。
Authorization ヘッダーを PHP に渡すようホスティング会社に依頼してください。rest_no_route: プラグインが有効か確認します。パーマリンクが「基本」の場合は https://example.com/?rest_route=/mcp/mcp-adapter-default-server を使います。npx: command not found: Node.js をインストールしてクライアントを再起動します。Missing Mcp-Session-Id header: HTTP クライアントは最初に initialize を送り、返されたセッション ID を以降のリクエストに付ける必要があります。あります。WordPress の GitHub 組織にある MCP Adapter は、README で WordPress 公式の MCP 統合パッケージと説明されており、WordPress.org にも掲載されています。
無料です。GPL-2.0-or-later のオープンソースで、GitHub または WordPress.org から無料でインストールできます。
リモート接続には WordPress のユーザー名と Application Password が必要です。ローカルの WP-CLI 接続ではパスワードは不要で、`--user` フラグでサーバーを実行するユーザーを指定します。
使えます。ドキュメントには Claude Code 向けの HTTP 直接接続コマンドと、Claude Desktop、Cursor、VS Code、Windsurf などのデスクトップクライアント向けのプロキシ設定が用意されています。
現時点ではアダプター単体ではできません。これらの Web アプリは OAuth でコネクターを追加しますが、WordPress にもアダプターにも OAuth サーバーが含まれていないため、デスクトップクライアントを使うか、OAuth ログインを追加するプラグインを利用してください。
WordPress サイトの内部で動作し、`/wp-json/mcp/mcp-adapter-default-server` で HTTP を提供します。ローカルサイトでは WP-CLI 経由の STDIO も使えます。
アビリティはデフォルトで非公開で、各操作は接続ユーザーの権限グループで実行されます。低権限のユーザーを使い、クライアントごとに Application Password を分け、まずステージング環境で試してください。
`Automattic/wordpress-mcp` は以前の WordPress MCP プラグインでアーカイブ済みです。MCP Adapter は Abilities API を基盤とする、保守が続けられている後継です。
Local MCP server and CLI that keeps a Git-versioned, model-written index of a codebase and its database schema, so coding agents start each task with the whole system in view.

Agent-Native Terminal
DOM-first AI browser automation for Chrome and MCP clients.

AI agents start every session with amnesia — you re-explain the project, repeat your preferences, and correct the same mistakes over and over. PLUR gives them a memory that persists. Your agent's corrections, preference

コメント