WordPress.com リモートMCPを Windsurf にMCP接続する方法(設定手順)

Automattic のリモートMCPサーバーを Windsurf に約1分でMCP接続。OAuth / 401 の問題は先に OAuth 2.1 デバッガーで確認できます。

🛡️ Official✓ VerifiedStreamable HTTPOAuth 2.1🛡️ A+~365 tok5 tools
Streamable HTTPhttps://public-api.wordpress.com/wpcom/v2/mcp/v1

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "wordpress": {
      "serverUrl": "https://public-api.wordpress.com/wpcom/v2/mcp/v1"
    }
  }
}

接続手順

  1. 設定ファイルを開く — ~/.codeium/windsurf/mcp_config.json を編集します。
  2. サーバーを追加 — mcpServers に "wordpress": { "serverUrl": https://public-api.wordpress.com/wpcom/v2/mcp/v1 } を追加します。
  3. 認証を完了 — 初回呼び出し時に Automattic の OAuth 認可画面が開きます。許可するとツールが有効になります。
  4. 検証 — オンライン Inspector に https://public-api.wordpress.com/wpcom/v2/mcp/v1 を貼り付け、initialize と tools/list を実行して接続を確認します。

🧰 ツール一覧(5)

ToolSafetyDescriptionParameters
list_sites
~38 tok
🟢 ReadList WordPress.com sites accessible to your account.—
list_posts
~83 tok
🟢 ReadList posts on a site with status and search filters.siteId*: stringstatus: stringsearch: string
get_post
~70 tok
🟢 ReadGet the full content and metadata of a post or page.siteId*: stringpostId*: string
create_post_draft
~87 tok
🟠 WriteCreate a draft post or page on a site.siteId*: stringtitle*: stringcontent*: string
list_media
~67 tok
🟢 ReadList media library items on a site.siteId*: stringmediaType: string

その他の接続ガイド