Box Content リモートMCPを Gemini CLI にMCP接続する方法(設定手順)

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

🛡️ Official✓ VerifiedStreamable HTTPOAuth 2.1🛡️ A+~347 tok5 tools
Streamable HTTPhttps://mcp.box.com

Add to ~/.gemini/settings.json under mcpServers — httpUrl for Streamable HTTP, url for legacy SSE:

{
  "mcpServers": {
    "box": {
      "httpUrl": "https://mcp.box.com"
    }
  }
}

接続手順

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

🧰 ツール一覧(5)

ToolSafetyDescriptionParameters
search_files
~74 tok
🟢 ReadFull-text search across files and folders.query*: stringfileTypes: array
list_folder_items
~49 tok
🟢 ReadList items in a folder.folderId*: string
get_file_content
~52 tok
🟢 ReadDownload extracted text content of a file.fileId*: string
box_ai_ask
~75 tok
🟢 ReadAsk Box AI a question about one or more files.question*: stringfileIds*: array
box_ai_extract
~77 tok
🟢 ReadExtract structured fields from a file with Box AI.fileId*: stringfields*: array

その他の接続ガイド