Connector guide1-minute read10 MCP toolsEN · DE · IT

Box 到 MCP — 从任何 AI 代理驱动 Box

从任何 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

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

设置

此连接器封装了 Box 内容 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_IDBOX_CLIENT_SECRETBOX_REFRESH_TOKEN

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

先决条件BOX_CLIENT_IDBOX_CLIENT_SECRETBOX_REFRESH_TOKEN

本地安装连接器

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

打开 http://localhost:3000/connectors/store,选择 Box 并粘贴在先决条件下列出的环境变量。

可用工具

工具功能
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创建或更新文件的共享链接

下一步

这份指南对你有帮助吗?

Ready to ship

Your Box agent is one click away.

Install the connector, paste the key, prompt any MCP client. Free for 7 days, no credit card.

相关指南