Connector guide1-minute read10 MCP toolsEN · DE · IT

如何通过 MCP 连接 Box 到 Claude

从任何 AI 代理管理 Box(企业内容:文件、文件夹、协作、评论、任务、元数据)。10 个工具,OAuth2 令牌。

HCBy HelpCode teamUpdated 1 min read Open source on GitHub

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

Box

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
    Open source AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Skip the install. Get this working in under 2 minutes.

Start a free trial on cloud.anythingmcp.com, add the Box in one click, then point your AI client (Claude, ChatGPT, Copilot or Cursor) at the generated MCP endpoint. No Docker, no git clone, zero engineering experience required.

Start free trial

Summary

从任何 AI 代理管理 Box(企业内容:文件、文件夹、协作、评论、任务、元数据)。10 个工具,OAuth2 令牌。

试试这样问

Box 的示例提示

点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。

Box · 通过 MCP 实时
分享
Opus 4.7

Claude 是 AI,可能会出错。请核对回答。

💡 无需安装?直接使用 cloud.anythingmcp.com 登录,点击 Connectors → Box,粘贴你的凭据,生成 MCP API 密钥 — 完成。无需 Docker,无需 git clone,无需本地服务器。

Box + Claude

从任何 AI 代理管理 Box(企业内容:文件、文件夹、协作、评论、任务、元数据)。10 个工具,OAuth2 令牌。

前提条件

请查看连接器中包含的完整设置说明(在你选择连接器时可在应用内商店中查看)。此连接器所需的环境变量为:

BOX_CLIENT_ID, BOX_CLIENT_SECRET, BOX_REFRESH_TOKEN

第一步 — 获取凭据

此连接器封装了 Box Content API v2 (api.box.com/2.0)。

设置 — OAuth2

  1. https://app.box.com/developers/console 注册 → 创建新应用 → '使用 JWT 的 OAuth 2.0' 或 '使用用户身份验证的 OAuth 2.0'。
  2. 对于用户 OAuth:在 https://account.box.com/api/oauth2/authorize?response_type=code&client_id=...&redirect_uri=... 完成身份验证流程。
  3. https://api.box.com/oauth2/token 交换代码。保存 refresh_token。
  4. 对于 JWT(服务器身份验证):以不同方式生成企业级访问令牌 — 超出此基于 OAuth 的适配器的范围。
  5. 设置 BOX_CLIENT_ID, BOX_CLIENT_SECRET, BOX_REFRESH_TOKEN

…(在应用内连接器说明中继续)

第二步 — 安装适配器

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

第三步 — 在 Claude 中添加连接器

推荐路径 — 在 claude.ai web 上工作,无需编辑任何配置文件。

  1. 打开 claude.ai/customize/connectors
  2. 点击 "添加自定义连接器"
  3. 填写:
    • 名称: Box
    • URL: https://cloud.anythingmcp.com/mcp
    • 身份验证: Bearer 令牌 → 粘贴你的 MCP API 密钥(来自 AnythingMCP → 个人资料 → MCP API 密钥 → 新密钥
  4. 点击 连接 进行授权。

所有工具将出现在你的聊天中 — 开始输入提示。

可用工具

工具功能
box_get_current_user返回经过身份验证的用户
box_get_folder_items列出文件夹中的项目(文件 + 子文件夹)
box_get_folder获取文件夹元数据(名称、创建者、修改者、项目集合摘要)
box_create_folder在父文件夹内创建文件夹
box_get_file获取文件元数据
box_copy_file将文件复制到不同的文件夹
box_move_or_rename_file将文件移动到不同的文件夹和/或重命名
box_delete_file删除文件(移动到回收站;通过 /files/{id}/trash 端点恢复)
box_search在内容中搜索
box_create_shared_link创建或更新文件的共享链接

常见问题

它是否同时适用于 Claude Code 和 Claude Desktop? 是的 — 将两者指向 https://cloud.anythingmcp.com/mcp

下一步

这份指南对你有帮助吗?

Ready to ship

Your Box agent is one click away.

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

相关指南