Box
Search, access, and get insights on Box content.
| Family | Category | Sub-type | Auth type | Trending score |
|---|---|---|---|---|
| Productivity | productivity | content-mgmt | bearer_token | 71 |
Overview
| Product URL | API docs | Supported features |
|---|---|---|
| https://www.box.com/ | https://developer.box.com/reference | tool_discovery, health_check, approval_gated_writes |
Setup
- Install the connector instance.
- Store the provider token or connection secret.
- Sync the tools and test the connection.
- Review approval-gated write tools before running them.
Auth & Configuration
This connector does not require additional instance config.
Available Tools
| Tool | Requires approval | Description |
|---|---|---|
list_folder_items | No | List the items inside a Box folder. |
get_file | No | Retrieve a Box file by ID. |
search_content | No | Search Box content across files and folders. |
create_folder | Yes | Create a Box folder. |
Use list_folder_items for the main execution example below because it is safe to run without approval.
Examples
Install
bash
chainabit connectors install box --name "Box"bash
curl -X POST "$BASE_URL/connectors/instances" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"connectorKey": "box",
"displayName": "Box"
}'javascript
const response = await fetch(`${BASE_URL}/connectors/instances`, {
method: 'POST',
headers: {
Authorization: `Bearer ${TOKEN}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"connectorKey": "box",
"displayName": "Box"
}),
});Credentials
bash
chainabit connectors auth <instance-id>bash
curl -X POST "$BASE_URL/connectors/instances/<instance-id>/credentials" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"credType": "bearer_token",
"credentials": {
"token": "YOUR_BEARER_TOKEN"
}
}'javascript
await fetch(`${BASE_URL}/connectors/instances/<instance-id>/credentials`, {
method: 'POST',
headers: {
Authorization: `Bearer ${TOKEN}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"credType": "bearer_token",
"credentials": {
"token": "YOUR_BEARER_TOKEN"
}
}),
});Execute
bash
chainabit connectors exec <instance-id> list_folder_items --input '{}'bash
curl -X POST "$BASE_URL/connectors/instances/<instance-id>/tools/tool_list_folder_items/execute" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"input": {}
}'javascript
const response = await fetch(
`${BASE_URL}/connectors/instances/<instance-id>/tools/tool_list_folder_items/execute`,
{
method: 'POST',
headers: {
Authorization: `Bearer ${TOKEN}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"input": {}
}),
},
);Security Notes
- Keep tokens, API keys, and connection strings in the encrypted credentials vault.
- Do not allow arbitrary server URLs for remote MCP connectors.
- Mutating tools are approval-gated. Review the payload before executing them.
Troubleshooting
- If the health check fails, verify the token scope or credential payload and try again.
- If the tool list is empty, re-run sync-tools after storing the latest credentials.