Connector guide2-minute read10 MCP toolsEnglish · Deutsch · Italiano

Come collegare Box a Gemini — via MCP

Manage Box (enterprise content: files, folders, collaborations, comments, tasks, metadata) from any AI agent. 10 tools, OAuth2 token.

HCBy HelpCode teamUpdated 2 min read Open source on GitHub

No credit card · 7-day trial · Self-host alternative available

MCP connector

Box

Manage Box (enterprise content: files, folders, collaborations, comments, tasks, metadata) from any AI agent. 10 tools, OAuth2 token.

Tools

10

Region

INTL

Category

storage

Authentication

OAuth 2.0

Required env vars

BOX_CLIENT_IDBOX_CLIENT_SECRETBOX_REFRESH_TOKEN
Install in one click on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Source-available BSL-1.1
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

No install? Use cloud.anythingmcp.com directly.

Sign in, install the Box in one click, paste the credentials, mint an MCP API key — done. No Docker, no git clone, no local server to run.

Open Cloud

TL;DR

Manage Box (enterprise content: files, folders, collaborations, comments, tasks, metadata) from any AI agent. 10 tools, OAuth2 token.

💡 Niente installazione? Vai direttamente su cloud.anythingmcp.com. Accedi, clicca Connectors → Box, inserisci le credenziali, genera una MCP API key — fatto. Niente Docker, niente git clone, niente server locale.

Box + Gemini

Manage Box (enterprise content: files, folders, collaborations, comments, tasks, metadata) from any AI agent. 10 tools, OAuth2 token.

Prerequisiti

Le istruzioni di setup complete sono incluse nel connettore stesso (visibili nello store quando lo selezioni). Le variabili d'ambiente richieste sono:

BOX_CLIENT_ID, BOX_CLIENT_SECRET, BOX_REFRESH_TOKEN

Step 1 — Ottieni le credenziali

This connector wraps the Box Content API v2 (api.box.com/2.0).

Setup — OAuth2:

  1. Register at https://app.box.com/developers/consoleCreate New App → 'OAuth 2.0 with JWT' or 'OAuth 2.0 with User Authentication'.
  2. For user OAuth: complete the auth flow at https://account.box.com/api/oauth2/authorize?response_type=code&client_id=...&redirect_uri=....
  3. Exchange the code at https://api.box.com/oauth2/token. Save the refresh_token.
  4. For JWT (server auth): generate an enterprise-level access token differently — out of scope for this OAuth-based adapter.
  5. Set BOX_CLIENT_ID, BOX_CLIENT_SECRET, BOX_REFRESH_TOKEN.

…(continued in the in-app connector instructions)

Step 2 — Installa l'adapter

git clone https://github.com/HelpCode-ai/anythingmcp.git
cd anythingmcp && docker compose up -d

Step 3 — Aggiungi il connettore in Gemini

Gemini CLI legge i server MCP da ~/.gemini/settings.json (o %APPDATA%\gemini\settings.json su Windows). Aggiungi:

{
  "mcpServers": {
    "anythingmcp": {
      "httpUrl": "https://cloud.anythingmcp.com/mcp",
      "headers": { "Authorization": "Bearer YOUR_MCP_API_KEY" }
    }
  }
}
  1. Ottieni la tua MCP API key da AnythingMCP → Profilo → MCP API Keys → Nuova Key.
  2. Salva il file e riavvia gemini.
  3. Esegui /mcp nella Gemini CLI — Box dovrebbe essere elencato come disponibile.
  4. Vertex AI Studio: passa https://cloud.anythingmcp.com/mcp nell'array tools della richiesta con lo stesso header Bearer.

Tool disponibili

ToolWhat it does
box_get_current_userReturn the authenticated user
box_get_folder_itemsList items in a folder (files + subfolders)
box_get_folderGet folder metadata (name, created_by, modified_by, item_collection summary)
box_create_folderCreate a folder inside a parent
box_get_fileGet file metadata
box_copy_fileCopy a file to a different folder
box_move_or_rename_fileMove file to a different folder and/or rename
box_delete_fileDelete a file (moves to trash; restore via /files/{id}/trash endpoint)
box_searchSearch across content
box_create_shared_linkCreate or update a shared link on a file

FAQ

Gemini 1.5 Pro o 2.x supportano MCP? Sì — Gemini CLI ≥ 0.4 e la Vertex AI tools API accettano connettori MCP httpUrl con header Bearer.

Prossimi passi

Questa guida ti è stata utile?

Ready to ship

Your Box agent is one click away.

Install the connector, paste the key, prompt Gemini. Free for 7 days, no credit card.

Guide correlate