box-mcp-server
Usage
Developer Token Authorization
This MCP server currently supports only Developer Token authentication.
To get started, set the BOX_DEV_TOKEN to a Box Developer Token.
Begin by visiting the Box Developer Console and create a new application. The authorization type does not currently matter, as all support Box Developer Token.
Once your application is created, navigate to its configuration setings and click Generate Developer Token.
Claude Desktop Configuration
{
"mcpServers": {
"box": {
"command": "npx",
"args": [
"box-mcp-server"
],
"env": {
"BOX_DEV_TOKEN": "YOUR_DEV_TOKEN_GOES_HERE"
}
}
}
}
Capabilities
- Searching files
- Reading files
- Word
- Others
Development
Prerequisites
Before you begin, ensure you have the following installed:
- Node.js (v22 or higher)
- npm
- git
Setting up Development Environment
To set up the development environment, follow these steps:
Fork the repository
- Click the "Fork" button in the top-right corner of this repository
- This creates your own copy of the repository under your Github acocunt
Clone Your Fork:
git clone https://github.com/YOUR_USERNAME/box-mcp-server.git cd box-mcp-serverAdd Upstream Remote
git remote add upstream https://github.com/hmk/box-mcp-server.gitInstall dependencies:
npm installSet the
BOX_DEV_TOKENenvironment variable:export BOX_DEV_TOKEN=your_developer_tokenRun watch to keep index.js updated:
npm run watchStart the model context protocol development server:
npx @modelcontextprotocol/inspector node PATH_TO_YOUR_CLONED_REPO/dist/index.jsIf the development server did not load the environment variable correctly, set the
BOX_DEV_TOKENon the left-hand side of the mcp inspector.