WordPress MCP Server

Official
by Automattic

Integrations

  • Integrates with Automattic services as the package is published under the @automattic namespace and references their wordpress-mcp plugin.

  • Provides access to WooCommerce functionality through its REST API using customer keys and secrets for authentication.

  • Serves as a bridge between local MCP clients and remote WordPress servers, enabling communication with WordPress sites via their REST API.

MCP WordPressリモート

mcp-wordpress-remote パッケージは、ローカルの Model Context Protocol (MCP) クライアントとリモートの WordPress MCP サーバー間のブリッジとして機能します。npx を利用することで、グローバルインストールなしでこのパッケージを実行でき、セットアッププロセスを簡素化できます。

WordPress MCPプラグイン

WordPress ウェブサイトにwordpress-mcpプラグインをインストールし、「設定」>「MCP 設定」で MCP 機能を有効にする必要があります。

なぜ

  1. ほとんどのクライアントは SSE または Streamable 通信プロトコルをサポートしていません。
  2. 効率性が向上しました。このプロキシはウェブサイトへの接続を開いたままにせず、必要な場合にのみウェブサイトにシンプルな REST API リクエストを送信します。
  3. Oauth2.1 は、WordPress ではまだそのままでは利用できません。
  4. WordPress APIパスワードとWooCommerce REST APIコンシューマキーとシークレットによるセキュリティ
  5. 使い方は簡単です。下記のインストール手順をご覧ください。

使用法

環境変数

次の環境変数が必要です。

  • WP_API_URL : WordPress サイトの URL (例: https://example.com )
  • WP_API_USERNAME : WordPressのユーザー名
  • WP_API_PASSWORD : WordPress APIパスワード
  • WOO_CUSTOMER_KEY : Woocommerce 顧客キー(WooCommerce MCP アセットを使用する場合はオプション)
  • WOO_CUSTOMER_SECRET : WooCommerce の顧客シークレット (WooCommerce MCP アセットを使用する場合はオプション)
  • LOG_FILE : ログファイルへのフルパス(オプション)

MCPクライアントでの構成

クロードデスクトップ

Claude Desktop に MCP サーバーを追加するには、次の場所にある構成ファイルを編集する必要があります。

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

構成例:

{ "mcpServers": { "wordpress-mcp": { "command": "npx", "args": ["@automattic/mcp-wordpress-remote"], "env": { "WP_API_URL": "https://your-wordpress-site.com", "WP_API_USERNAME": "your-username", "WP_API_PASSWORD": "your-password", "WOO_CUSTOMER_KEY": "your-woo-customer-key", "WOO_CUSTOMER_SECRET": "your-woo-customer-secret", "LOG_FILE": "optional full path to the log file" } } } }

https://woocommerce.com/document/woocommerce-rest-api/

カーソル

設定ファイルは~/.cursor/mcp.jsonにあります。

構成例:

{ "mcpServers": { "wordpress-mcp": { "command": "npx", "args": ["@automattic/mcp-wordpress-remote"], "env": { "WP_API_URL": "https://your-wordpress-site.com", "WP_API_USERNAME": "your-username", "WP_API_PASSWORD": "your-password", "WOO_CUSTOMER_KEY": "your-woo-customer-key", "WOO_CUSTOMER_SECRET": "your-woo-customer-secret", "LOG_FILE": "optional full path to the log file" } } } }

@todo

現在、このパッケージはまだ開発初期段階です。ご提案、バグレポート、PRなど、何でも歓迎いたします。

-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

ローカル MCP クライアントと WordPress ウェブサイト間のブリッジとして機能し、接続を開いたままにするのではなく、単純な REST API リクエストを通じて WordPress との通信を可能にします。

  1. WordPress MCPプラグイン
    1. なぜ
      1. 使用法
        1. 環境変数
        2. MCPクライアントでの構成
      2. @todo

        Related MCP Servers

        • -
          security
          A
          license
          -
          quality
          An MCP server that enables fetching web content using the Node.js undici library, supporting various HTTP methods, content formats, and request configurations.
          Last updated -
          66
          8
          TypeScript
          MIT License
          • Apple
          • Linux
        • -
          security
          A
          license
          -
          quality
          An MCP server that helps novice developers deploy web applications through conversational interfaces, bridging the gap between LLMs and various hosting environments.
          Last updated -
          1
          Python
          MIT License
          • Apple
        • -
          security
          A
          license
          -
          quality
          A proxy service that connects MCP clients to remote MCP servers, allowing users to use server keys from MCP.so to access remote resources without running their own server.
          Last updated -
          5,062
          2
          TypeScript
          MIT License
          • Apple
        • -
          security
          A
          license
          -
          quality
          A server that enables interaction with WordPress sites through REST API, allowing users to create, retrieve, and update posts using JSON-RPC 2.0 protocol.
          Last updated -
          1
          JavaScript
          MIT License
          • Apple
          • Linux

        View all related MCP servers

        ID: dttbb7yfw9