Skip to main content
Glama

WordPress MCP Server

Official
by Automattic

MCP WordPressリモート

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

要件

  • Node.js バージョン 22 以上

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 アプリケーションのパスワード
  • 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": ["-y", "@automattic/mcp-wordpress-remote@latest"], "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": ["-y", "@automattic/mcp-wordpress-remote@latest"], "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" } } } }
VSコード

構成ファイルは、ワークスペース/フォルダー内の.vscode/mcp.json内に作成できます。

{ "servers": { "wordpress-mcp": { "type": "stdio", "command": "npx", "args": ["-y", "@automattic/mcp-wordpress-remote@latest"], "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" } } } }

VS CodeとMCPの詳細については、VS Codeのドキュメントをご覧ください。

@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. 要件
    1. WordPress MCPプラグイン
      1. なぜ
        1. 使用法
          1. 環境変数
          2. MCPクライアントでの構成
        2. @todo

          Related MCP Servers

          • -
            security
            A
            license
            -
            quality
            This MCP server connects clients with Shopify store data, enabling retrieval of product and customer information via exposed tools.
            Last updated -
            2
            Python
            MIT License
          • -
            security
            F
            license
            -
            quality
            This is an MCP server that facilitates building tools for interacting with various APIs and workflows, supporting Python-based development with potential for customizable prompts and user configurations.
            Last updated -
            Python
          • -
            security
            A
            license
            -
            quality
            WooCommerce MCP Server enables interaction with WooCommerce stores through the WordPress REST API. It provides comprehensive tools for managing all aspects of products, orders, customers, shipping, taxes, discounts, and store configuration using JSON-RPC 2.0 protocol.
            Last updated -
            5
            JavaScript
            MIT License
            • Apple
            • Linux
          • -
            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 -
            409
            2
            TypeScript
            MIT License
            • Apple

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/Automattic/mcp-wordpress-remote'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server