Box connector
The Box connector integrates with Box through the official remote MCP server at https://mcp.box.com. It searches files and folders, retrieves file content and metadata, and uses Box AI to answer questions about enterprise content. It uses OAuth 2.0 Authorization Code flow to authenticate.
You can create connectors in Stack Management > Connectors.
Box connectors have the following configuration properties:
- MCP Server URL
- The URL of the remote Box MCP server. Defaults to
https://mcp.box.com. - Authentication
- Connects through Box's OAuth 2.0 Authorization Code flow. Requires a Client ID and Client Secret from the Box MCP server integration in the Admin Console. Refer to OAuth credentials for setup instructions.
You can test connectors when you create or edit the connector in Kibana.
The Box connector exposes the following actions:
searchFilesKeyword- Search for files in Box by keyword. Box searches across file names, content, descriptions, and metadata. Returns file IDs, names, and paths.
searchFoldersByName- Search for folders in Box by name. Returns folder IDs, names, and parent paths.
listFolderContent- List files and subfolders inside a specific Box folder. Use folder ID
0for the root folder. listRecentItems- List files and folders recently accessed or modified by the authenticated user. Useful for surfacing active content without a search query.
searchByMetadata- Search for Box files and folders using metadata template fields and a structured query expression (for example,
amount >= 100 AND currency = "USD").
getFileContent- Retrieve the text content of a file stored in Box. Works with documents, spreadsheets, PDFs, and other text-extractable formats. Check the file size with
getFileDetailsbefore retrieving large files. getFileDetails- Get detailed metadata for a specific Box file, including size, owner, modification date, permissions, and shared link status.
getFolderDetails- Get detailed metadata for a specific Box folder, including owner, permissions, and collaboration settings.
getComments- Retrieve all comments posted on a specific Box file, including comment text, author details, and timestamps.
aiQaSingleFile- Ask Box AI a question about a single file. Returns an answer with citations. Files must have fewer than 1 MB of extracted text.
aiQaMultiFile- Ask Box AI a question across multiple files simultaneously. Returns a unified answer with citations.
aiQaHub- Ask Box AI a question about the contents of a Box Hub. Returns an answer with citations from the hub's content.
aiExtractFreeform- Extract metadata from a Box file using a natural-language prompt. Returns structured key-value pairs for the described fields. Files must have fewer than 1 MB of extracted text.
aiExtractStructuredFromMetadataTemplate- Extract structured metadata from a Box file using an existing enterprise metadata template. Box AI fills in the template fields automatically.
Box Hubs are curated collections of files and folders organized around a topic or project. Content in a Hub can come from anywhere in Box regardless of folder structure.
listHubs- List all Box Hubs accessible to the authenticated user. Returns hub IDs, titles, and descriptions.
getHubDetails- Get metadata and details for a specific Box Hub.
getHubItems- List files and folders associated with a specific Box Hub.
whoAmI- Retrieve details about the currently authenticated Box user, including name, email, and account type. Use this to confirm authentication is working.
listTools- List all tools available on the Box MCP server. Use this to discover capabilities not exposed as named actions, such as write operations and admin operations.
callTool- Call any tool on the Box MCP server directly by name. Use this as a fallback for tools not yet exposed as named actions (such as
upload_file,create_folder, orcreate_collaboration). UselistToolsfirst to discover available tool names and their arguments.
Use the Action configuration settings to customize connector networking, such as proxies, certificates, or TLS settings. You can set configurations that apply to all your connectors or use xpack.actions.customHostSettings to set per-host configurations.
The Box MCP server authenticates through the Box Admin Console integration, not a custom OAuth app. To get your credentials:
- Log in to your Box Admin Console.
- Go to Integrations and search for Box MCP server.
- Open the integration and select Configure.
- Under Additional Configuration, select Add Integration Credentials,
- Enter a name and Redirect URI as
https://<your-kibana-host>/api/actions/connector/_oauth_callback, then select Save. - Make sure the Manage AI Requests scope is enabled.
- Copy the generated Client ID and Client Secret.
- In Kibana, enter the Client ID and Client Secret. Kibana preconfigures the authorization URL and token URL.
- Complete the authorization flow to connect your Box account.