Box Integration
Manage Box files, folders, sharing, comments, search, and collaborations
The Box integration provides access to manage Box files, folders, sharing, comments, search, and collaborations through the Integrate MCP server.
Installation
The Box integration is included with the SDK:
import { boxIntegration } from "integrate-sdk/server";Setup
1. Create a Box OAuth App
- Create an OAuth application for Box
- Configure your redirect URI
- Note your Client ID and Client Secret
2. Configure the Integration on Your Server
Add the Box integration to your server configuration. The integration automatically reads BOX_CLIENT_ID and BOX_CLIENT_SECRET from your environment variables:
import { createMCPServer, boxIntegration } from "integrate-sdk/server";
export const { client: serverClient } = createMCPServer({
apiKey: process.env.INTEGRATE_API_KEY,
integrations: [
boxIntegration({
}),
],
});You can override the environment variables by passing explicit values:
boxIntegration({
clientId: process.env.CUSTOM_BOX_ID,
clientSecret: process.env.CUSTOM_BOX_SECRET,
});3. Client-Side Usage
The default client automatically includes all integrations. You can use it directly:
import { client } from "integrate-sdk";
await client.authorize("box");
const result = await client.box.getCurrentUser({});
console.log(result);If you're using a custom client, add the integration to the integrations array:
import { createMCPClient, boxIntegration } from "integrate-sdk";
const customClient = createMCPClient({
integrations: [boxIntegration()],
});Configuration Options
Prop
Type
Tools
box_get_current_user
Get current user
No parameters.
box_list_folder_items
List folder items
Prop
Type
box_get_file
Get file
Prop
Type
box_get_folder
Get folder
Prop
Type
box_create_folder
Create folder
Prop
Type
box_update_file
Update file
Prop
Type
box_update_folder
Update folder
Prop
Type
box_delete_file
Delete file
Prop
Type
box_delete_folder
Delete folder
Prop
Type
box_upload_text_file
Upload text file
Prop
Type
box_download_file
Download file
Prop
Type
box_search
Search
Prop
Type
box_create_shared_link
Create shared link
Prop
Type
box_create_collaboration
Create collaboration
Prop
Type
box_list_comments
List comments
Prop
Type
box_create_comment
Create comment
Prop
Type
box_delete_comment
Delete comment
Prop
Type
Notes
- Category: Storage
- Authentication mode: OAuth