Box MCP Server
Provides tools for managing Box files, folders, collaborations, users, groups, search, shared links, metadata, web links, and AI-powered queries.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Box MCP Serverfind all files with 'budget' in the name"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🚀 Model Context Protocol API (MCP Server)
Welcome to the official source code repository for the Model Context Protocol Tutorial This is designed to help you get started with Model Context Protocol (MCP) — a powerful future-ready technology to connect external context to your AI application. MCP is an open protocol that standardizes how applications provide context to large language models (LLMs). Think of MCP like a USB-C port for AI applications. Just as USB-C provides a standardized way to connect your devices to various peripherals and accessories, MCP provides a standardized way to connect AI models to different data sources and tools. MCP enables you to build agents and complex workflows on top of LLMs and connects your models with the world. 🎬 Watch the full tutorial:
👉 Model Context Protocol Tutorial on YouTube
📚 What You’ll Learn
✅ What is MCP and how it works
✅ What is MCP Server, why we use it and how to use it
✅ Real life code example
Related MCP server: Obsidian MCP Server
🎯 Prerequisites for Learning MCP
To get the most out of this curriculum, you should have:
Basic knowledge of programming in at least one of the following languages: C#, Java, JavaScript, Python, or TypeScript
Understanding of client-server model and APIs
Familiarity with REST and HTTP concepts
(Optional) Background in AI/ML concepts
📚 Study Guide & Resources
This repository includes several resources to help you navigate and learn effectively: https://github.com/microsoft/mcp-for-beginners.git
Official Website
https://modelcontextprotocol.io/docs/getting-started/intro
Box MCP Server
Quick Start
Clone the repository:
git clone https://github.com/box-community/mcp-server-box.git
cd mcp-server-boxOptional but recommended uv installation for virtual environment and dependency management:
Homebrew (macOS)
brew install uvWinGet (Windows)
winget install --id=astral-sh.uv -eOn macOS and Linux
curl -LsSf https://astral.sh/uv/install.sh | shOn Windows
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"Set up the virtual environment and install dependencies:
uv syncSet environment variables:
Set the following environment variables for Box authentication in a .env file or your system environment:
Using OAuth2.0 with a Box App
BOX_CLIENT_ID = YOUR_CLIENT_ID
BOX_CLIENT_SECRET = YOUR_CLIENT_SECRET
BOX_REDIRECT_URL = http://localhost:8000/callback
BOX_MCP_SERVER_AUTH_TOKEN = YOUR_BOX_MCP_SERVER_AUTH_TOKENUsing CCG with a Box App
BOX_CLIENT_ID = YOUR_CLIENT_ID
BOX_CLIENT_SECRET = YOUR_CLIENT_SECRET
BOX_SUBJECT_TYPE = user_or_enterprise
BOX_SUBJECT_ID = YOUR_USER_OR_ENTERPRISE_ID
BOX_MCP_SERVER_AUTH_TOKEN = YOUR_BOX_MCP_SERVER_AUTH_TOKENNote: The
BOX_MCP_SERVER_AUTH_TOKENis the token used to authenticate requests to the Box MCP server. You can generate this token.
Run the MCP server in STDIO mode:
uv run src/mcp_server_box.pyBox Community MCP Server Tools
Below is a summary of the available tools:
Tools available | Description |
AI-powered file and hub queries | |
Manage file/folder collaborations | |
Document generation and template management | |
File operations (read, upload, download) | |
Folder operations (list, create, delete, update) | |
Generic Box API utilities | |
Group management and queries | |
Metadata template and instance management | |
Search files and folders | |
Shared link management for files/folders/web-links | |
User management and queries | |
Web link creation and management |
Box Community MCP Server Operations Details
Command line interface parameters
To run the MCP server with specific configurations, you can use the following command line parameters:
uv run src/mcp_server_box.py --helpusage: mcp_server_box.py [-h] [--transport {stdio,sse,streamable-http}] [--host HOST]
[--port PORT] [--box-auth {oauth,ccg}] [--no-mcp-server-auth]
Box Community MCP Server
options:
-h, --help show this help message and exit
--transport {stdio,sse,streamable-http}
Transport type (default: stdio)
--host HOST Host for SSE/HTTP transport (default: 0.0.0.0)
--port PORT Port for SSE/HTTP transport (default: 8000)
--box-auth {oauth,ccg}
Authentication type for Box API (default: oauth)
--no-mcp-server-auth Disable authentication (for development only)Claude Desktop Configuration
Edit your claude_desktop_config.json:
code ~/Library/Application\ Support/Claude/claude_desktop_config.json
Add the configuration:
{
"mcpServers": {
"mcp-server-box": {
"command": "uv",
"args": [
"--directory",
"/path/to/mcp-server-box",
"run",
"src/mcp_server_box.py"
]
}
}
}Restart Claude if it is running.
Cursor Configuration
Cursor supports MCP servers through its configuration file. Here's how to set it up:
The Cursor MCP configuration file is located at:
macOS/Linux:
~/.cursor/config.jsonor~/.config/cursor/config.jsonWindows:
%APPDATA%\Cursor\config.json
Add the MCP Server Configuration: STDIO Transport
Edit your Cursor configuration file and add the following under the mcpServers section:
{
"mcpServers": {
"mcp-server-box": {
"command": "uv",
"args": [
"--directory",
"/path/to/mcp-server-box",
"run",
"src/mcp_server_box.py"
],
"env": {
"BOX_CLIENT_ID": "YOUR_CLIENT_ID",
"BOX_CLIENT_SECRET": "YOUR_CLIENT_SECRET",
"BOX_REDIRECT_URL": "http://localhost:8000/callback"
}
}
}
}This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/SaiyemRaiyan/MCP-says-you'
If you have feedback or need assistance with the MCP directory API, please join our Discord server