How to integrate Box MCP with Atomic Agent

Connect Atomic Agent to Box MCP. Search recent confidential contracts in box, download latest design files from box, and more using natural language, with authentication handled for you.

Box MCP logoBox MCP
Oauth2

Box MCP is Box's hosted MCP server that exposes enterprise files, folders, and metadata. It provides secure, centralized access to corporate content for search and management.

44 Tools

Introduction

Atomic Agent is an open-source AI agent that runs on your machine and supports local models through llama.cpp. Connect it to 1,500+ apps through Composio, including Box.

This guide uses Atomic Agent's built-in Composio integration. You need Atomic Agent v0.5.6 or later, your own Composio API key, and a Box account. See the Atomic Agent documentation for installation instructions.

Also integrate Box MCP with

How Atomic Agent connects to Box

Atomic Agent connects to Composio's Tool Router over Streamable HTTP MCP. It discovers the tools needed for your request, and Composio handles account authentication.

Execution and account-connection tools follow Atomic Agent's configured approval policy. Review any approval prompt before allowing an action on your connected account.

Connect Box to Atomic Agent

  1. Sign up or sign in to the Composio dashboard. Copy your API key.
  2. In Atomic Agent, open the Integrations tab and select Composio. Select API key, press e, paste the key, and press Enter. The tools become available immediately, without a restart.
  3. Ask Atomic Agent to do something in Box. It searches Composio for the right tool.
  4. On first use, open the sign-in link returned in the chat. Connect your Box account, then return to Atomic Agent to continue.

Headless setup

Add the following line to ~/.atomic-agent/.env, replacing YOUR_COMPOSIO_API_KEY with your key. Start Atomic Agent after saving the file.

bash
COMPOSIO_API_KEY=YOUR_COMPOSIO_API_KEY

What is the Box MCP server, and what's possible with it?

The Box MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Box account. It provides structured and secure access so your agent can perform Box operations on your behalf.

Use Box from Atomic Agent

With your account connected, ask Atomic Agent to work with Box in natural language. You can connect more apps through the same Composio integration as you need them.

Visit the Atomic Agent website or inspect the Atomic Agent source code.

Troubleshooting

Why is my API key rejected?

Copy the key directly from the Composio dashboard. Atomic Agent requires ASCII characters because it sends the key in an HTTP header. Remove any extra characters introduced when copying.

Why are Composio tools unavailable after saving a key?

Check that you use Atomic Agent v0.5.6 or later and that Composio is enabled in your configuration. A "composio": { "enabled": false } setting disables the integration while keeping the saved key on disk.

Does Composio have a free plan?

The Hobby plan includes 100,000 tool calls per month. Composio-managed OAuth apps have a lower included allowance. See Composio pricing for the current limits that apply to your connection.

TOOLS

Supported Tools

Every Box MCP action and event your agent gets out of the box.

Add items to hub

Adds files, folders, or web links to a specific hub, enabling content organization within collaborative workspaces.

Ai extract freeform

Extracts metadata from files using Box AI in freeform format without requiring predefined template structures.

Ai extract structured from fields

Extracts structured metadata from files using Box AI based on custom field definitions.

Ai extract structured from fields enhanced

Extracts structured metadata from files using Box AI's Enhanced Extract Agent based on custom field definitions.

Ai extract structured from metadata template

Extracts structured metadata from files using Box AI based on an existing metadata template.

Ai extract structured from metadata template enhanced

Extracts structured metadata from files using Box AI's Enhanced Extract Agent based on an existing metadata template.

Ai qa hub

Ask a question to a Box Hub using Box AI.

Ai qa multi file

Ask a question to multiple files using Box AI.

Ai qa single file

Ask a question to a single file using Box AI.

Copy file

Copies an existing file to a destination folder in Box (see Box API Copy file).

Copy folder

Copies an existing folder to a destination parent folder in Box (see Box API Copy folder).

Copy hub

Creates a copy of an existing Box Hub via the Hubs v3 API (`POST /v3/hubs/{id}:copy`).

Create file comment

Creates a new comment on a specific file.

Create folder

Creates new folders in Box.

Create hub

Creates new collaborative hubs for organizing content around specific topics, projects, or teams.

Create metadata template

Creates a new enterprise metadata template.

Get file content

Get the text content of a file from Box.

Get file details

Gets comprehensive file information from Box.

Get file preview

Displays an interactive preview widget for a Box file directly in chat.

Get folder details

Retrieves comprehensive information about a folder in Box.

Get hub details

Retrieves comprehensive information about a specific hub including metadata, creation details, and administrative information.

Get hub items

Retrieves all items within a specific hub including files, folders, and web links.

Get metadata template schema

Returns the schema for a metadata template.

Get preview page

Use when user asks follow-up question to a file previewed with get_file_preview ("Explain this.

List file comments

Lists all comments on a specific file.

List folder content by folder

Lists files, folders, and web links contained in a folder.

List hubs

Lists all hubs accessible to the current user with pagination support.

List item collaborations

Lists all collaborations for multiple files and folders in a single request.

List metadata templates

Lists available Box metadata templates so you can discover scope and templateKey for search_files_metadata.

List tasks

Lists all tasks associated with a specific file.

Move file

Moves an existing file to another folder in Box using PUT /files/{id} (see Box API Update file).

Move folder

Moves an existing folder to a new parent in Box using PUT /folders/{id} (Update folder).

Search files keyword

Searches for files using keywords and supports metadata filters, file extension filtering (without dots), and field selection.

Search files metadata

Searches for files using SQL-like metadata queries.

Search folders by name

Searches for folders by name within Box using keyword matching.

Set file metadata

Creates or updates a metadata template instance on a file (POST when the template is not yet applied, PUT JSON Patch when it is).

Set folder metadata

Creates or updates a metadata template instance on a folder (POST when the template is not yet applied, PUT JSON Patch when it is).

Update file properties

Updates file metadata: name, description, tags, and collections.

Update folder properties

Updates folder metadata: name, description, tags, and collections.

Update hub

Updates the title or description of a specific hub.

Update metadata template

Updates a metadata template schema (PUT /2.

Upload file

Uploads a new file to Box.

Upload file version

Upload new file version by providing the entire file contents to Box.

Who am i

Returns detailed information about the currently authenticated Box user.

FAQ

Frequently asked questions

With a standalone Box MCP server, the agents and LLMs can only access a fixed set of Box tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Box and many other apps based on the task at hand, all through a single MCP endpoint.

Yes, you can. Atomic Agent fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Box tools.

Yes, absolutely. You can configure which Box scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Box data and credentials are handled as safely as possible.

Start with Box MCP.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Box MCP tool your agent needs.Free to start.

Start building