Connect the Box MCP server with Anthropic’s Messages API. Clone this sample chat bot project to get started quickly. It allows you to have a conversation with an Anthropic model, which has access to tools provided by the Box MCP server.
Prerequisites
- A Box enterprise account with the MCP server enabled by an admin. See Set up the MCP server.
- An Anthropic API key with access to the Messages API.
Enable Box integration in Box
Admin
- Clone the sample chat bot project.
- Follow the project README to configure your Box OAuth credentials and Anthropic API key.
- Start the application and authenticate with Box when prompted.
The sample project is a React-based chat bot that leverages Box MCP. It demonstrates how to pass the MCP endpoint and authorization token to Anthropic’s Messages API:
Video walkthrough
Watch a video that features a demo project, a React-based chat bot that leverages Box MCP.
Last modified on April 30, 2026