MCP WordPressリモート
mcp-wordpress-remote パッケージは、ローカルの Model Context Protocol (MCP) クライアントとリモートの WordPress MCP サーバー間のブリッジとして機能します。npx を利用することで、グローバルインストールなしでこのパッケージを実行でき、セットアッププロセスを簡素化できます。
要件
- Node.js バージョン 22 以上
WordPress MCPプラグイン
WordPress ウェブサイトにwordpress-mcpプラグインをインストールし、「設定」>「MCP 設定」で MCP 機能を有効にする必要があります。
なぜ
- ほとんどのクライアントは SSE または Streamable 通信プロトコルをサポートしていません。
- 効率性が向上しました。このプロキシはウェブサイトへの接続を開いたままにせず、必要な場合にのみウェブサイトにシンプルな REST API リクエストを送信します。
- Oauth2.1 は、WordPress ではまだそのままでは利用できません。
- WordPress APIパスワードとWooCommerce REST APIコンシューマキーとシークレットによるセキュリティ
- 使い方は簡単です。下記のインストール手順をご覧ください。
使用法
環境変数
次の環境変数が必要です。
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
構成例:
https://woocommerce.com/document/woocommerce-rest-api/
カーソル
設定ファイルは~/.cursor/mcp.json
にあります。
構成例:
VSコード
構成ファイルは、ワークスペース/フォルダー内の.vscode/mcp.json
内に作成できます。
VS CodeとMCPの詳細については、VS Codeのドキュメントをご覧ください。
@todo
現在、このパッケージはまだ開発初期段階です。ご提案、バグレポート、PRなど、何でも歓迎いたします。
This server cannot be installed
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 との通信を可能にします。
Related MCP Servers
- -securityAlicense-qualityThis MCP server connects clients with Shopify store data, enabling retrieval of product and customer information via exposed tools.Last updated -2PythonMIT License
- -securityFlicense-qualityThis 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
- -securityAlicense-qualityWooCommerce 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 -5JavaScriptMIT License
- -securityAlicense-qualityA 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 -4092TypeScriptMIT License