AM

automattic/mcp-wordpress-remote

Developer tools公式

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

186 stars 37 forks 品質 85 トレンド 37MIT

automattic/mcp-wordpress-remoteは、https://github.com/automattic/mcp-wordpress-remote.からインポートされたMCPサーバー候補です。

概要

automattic/mcp-wordpress-remoteは、https://github.com/automattic/mcp-wordpress-remote.からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

WordPress MCPサーバー向けのスタンディオからHTTPへのパススループロキシ

Claude DesktopのようなAIアシスタントをWordPressサイトに接続し、OAuth 2.0、JWTトークン、アプリケーションパスワードなど複数の認証方法を活用しましょう。

特徴

  • MCP OAuth クライアント - 認証コードPKCE、検証済みのディスカバリー、発行者バウンド認証情報、そして調整された更新
  • PKCE付きのOAuth 2.1 - PKCEを用いた安全な認証コードフロー(RFC 7636)
  • リソース指標 - トークンオーディエンスバインディングのためのRFC 8707準拠
  • 動的クライアント登録 - RFC 7591による自動クライアント登録のサポート
  • 保護リソースメタデータディスカバリー - 自動エンドポイントディスカバリーのためのRFC 9728
  • 複数の認証方法 - OAuth 2.1、JWTトークン、WordPressアプリケーションパスワード
  • 永続トークン保存 - 自動検証によって安全に保存されるOAuthトークン
  • マルチインスタンス協調 - ロックファイルは認証の競合を防ぎます
  • 自動トークン管理 - 検証、更新、クリーンアップを処理
  • 強化されたエラー処理 - 適切な分類による詳細なエラーメッセージ
  • 包括的ログング - カテゴリとレベルを持つ構造化されたログ

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

MCP WordPress Remote

A stdio-to-HTTP pass-through proxy for WordPress MCP servers

Connect AI assistants like Claude Desktop to your WordPress sites with multiple authentication methods including OAuth 2.0, JWT tokens, and application passwords.

Features

  • MCP OAuth Client - Authorization-code PKCE, validated discovery, issuer-bound credentials, and coordinated renewal
  • OAuth 2.1 with PKCE - Secure authorization code flow with PKCE (RFC 7636)
  • Resource Indicators - RFC 8707 compliance for token audience binding
  • Dynamic Client Registration - RFC 7591 support for automatic client registration
  • Protected Resource Metadata Discovery - RFC 9728 for automatic endpoint discovery
  • Multiple Authentication Methods - OAuth 2.1, JWT tokens, and WordPress application passwords
  • Persistent Token Storage - OAuth tokens stored securely with automatic validation
  • Multi-instance Coordination - Lockfiles prevent authentication conflicts
  • Automatic Token Management - Handles validation, refresh, and cleanup
  • Enhanced Error Handling - Detailed error messages with proper categorization
  • Comprehensive Logging - Structured logging with categories and levels
  • Complete MCP Support - Tools, resources, prompts, and more

When to use this proxy

If your MCP client supports the Streamable HTTP transport and can authenticate to your site, connect it to the MCP Adapter endpoint directly. You don’t need this proxy. For example, in Claude Code (.mcp.json), using an application password:

{
  "mcpServers": {
    "wordpress": {
      "type": "http",
      "url": "https://your-wordpress-site.com/wp-json/mcp/mcp-adapter-default-server",
      "headers": {
        "Authorization": "Basic "
      }
    }
  }
}

Other clients use their own config format. Check your client’s documentation for remote or HTTP MCP servers.

Use the proxy when one of these applies:

  1. Your client only supports stdio. It can launch a local command but cannot connect to an HTTP MCP server.
  2. Your client can’t authenticate the way your site requires. The proxy can send application passwords, JWT tokens, WooCommerce keys, or custom headers, and it can run the OAuth flow and store tokens for clients that can’t.
  3. Your traffic must go through a proxy. Set SOCKS_PROXY, HTTPS_PROXY, ALL_PROXY or HTTP_PROXY to route requests through it. On macOS, set USE_SYSTEM_PROXY=true to use the system PAC file or SOCKS proxy instead.
  4. Your site is slow or unreliable. WP_API_TIMEOUT_MS and WP_API_INIT_TIMEOUT_MS set the timeouts, and a failed initialize returns a degraded response instead of a broken connection (see Forwarding behavior).
GitHub で README 全文を見る

インストール

npx -y @automattic/mcp-wordpress-remote
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "wordpress": { "type": "http", "url": "https://your-wordpress-site.com/wp-json/mcp/mcp-adapter-default-server", "headers": { "Authorization": "Basic <base64 of username:application-password>" } } } }