Sanity リモートMCPを VS Code にMCP接続する方法(設定手順)

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

🛡️ Official✓ VerifiedStreamable HTTPOAuth 2.1🛡️ A+0 tools
Streamable HTTPhttps://mcp.sanity.io
Install in VS Code →

Or add to .vscode/mcp.json:

{
  "servers": {
    "sanity": {
      "type": "http",
      "url": "https://mcp.sanity.io"
    }
  }
}

接続手順

  1. MCP 設定を開く — vscode: deeplink でワンクリックインストールするか、プロジェクトルートに .vscode/mcp.json を作成します。
  2. サーバーを追加 — { "servers": { "sanity": { "type": "http", "url": https://mcp.sanity.io } } } と記述します。
  3. 認証を完了 — 初回呼び出し時に Sanity の OAuth 認可画面が開きます。許可するとツールが有効になります。
  4. 検証 — Copilot Chat を再起動して Agent モードでツールを確認します。オンライン Inspector に https://mcp.sanity.io を貼り付け、initialize と tools/list を実行して接続を確認します。

その他の接続ガイド