KosmoKrator

other

Box MCP, CLI, and Lua Integration for AI Agents

Box integration docs for AI agents: MCP gateway setup, Box CLI commands, Lua API reference, credentials, and function schemas.

10 functions 6 read 4 write Manual OAuth token auth

Box for agents

Credentials can be configured manually in web or CLI hosts.

Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.

Machine-Readable Metadata
integration_slug
box
route_slug
box
package
box
auth_strategy
oauth2_manual_token Manual OAuth token
cli_setup_supported
true
cli_runtime_supported
true
mcp_gateway_supported
true
lua_supported
true
supports_multi_account
true

Quick Links

Box MCP Client Matrix

Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Box.

Box CLI Matrix

Use these pages for direct Box CLI workflows in scripts, CI, cron, and agent wrappers.

Function Catalog

FunctionTypeParametersDescription
box.box_list_files Read read 3 List files and folders in a Box folder. Returns item names, IDs, types (file or folder), sizes, and modification dates. Use folder ID "0" for the root folder.
box.box_get_file Read read 1 Get metadata for a Box file by ID. Returns the file name, size, type, created/modified dates, parent folder, and shared link info.
box.box_upload_file Write write 3 Upload a file to Box. Provide the file name, content, and optionally a parent folder ID (defaults to root). Returns the uploaded file metadata.
box.box_download_file Read read 1 Download a file from Box by its ID. Returns the raw file contents. Use this to retrieve file data for processing.
box.box_delete_file Write write 1 Delete a file from Box by its ID. This action moves the file to the trash. Use with caution — deleted files can be restored from the trash within the retention period.
box.box_create_folder Write write 2 Create a new folder in Box. Provide a folder name and optionally a parent folder ID (defaults to root). Returns the new folder metadata.
box.box_get_folder Read read 1 Get metadata for a Box folder by ID. Returns the folder name, size, created/modified dates, parent folder, and item counts. Use "0" for root.
box.box_share_file Write write 4 Create a shared link for a Box file. By default creates an open link. Optionally configure access level, password protection, and expiration.
box.box_search Read read 3 Search for files and folders in Box. Returns matching items with names, IDs, types, and paths. Useful for finding files by name or content.
box.box_get_current_user Read read 0 Get information about the currently authenticated Box user. Returns user name, email, login, and account details.