{"type":"mcp_server","name":"mcp-server-box","description":"MCP Server Box is a Python project integrating with the Box API for file operations like search, text extraction, and AI-based querying. It uses the Model Context Protocol to manage","category":"AI","language":"Python","stars":101,"forks":0,"owner":"box-community","github_url":"https://github.com/box-community/mcp-server-box","homepage":null,"setup":"## Setup\n\n1. Clone the repository:\n\n    ```sh\n    git clone https://github.com/box-community/mcp-server-box.git\n    cd mcp-server-box\n    ```\n\n2. Install `uv` if not installed yet:\n\n    2.1 MacOS+Linux\n\n    ```sh MacOS+Linux\n    curl -LsSf https://astral.sh/uv/install.sh | sh\n    ```\n\n    2.2 Windows\n\n    ```powershell Windows\n    powershell -ExecutionPolicy ByPass -c \"irm https://astral.sh/uv/install.ps1 | iex\"\n    ```\n    \n3. Create and set up our project:\n\n    3.1 MacOS+Linux\n\n    ```sh\n    # Create virtual environment and activate it\n    uv venv\n    source .venv/bin/activate\n\n    # Lock the dependencies\n    uv lock\n    ```\n\n    3.1 Windows\n\n    ```sh\n    # Create virtual environment and activate it\n    uv venv\n    .venv\\Scripts\\activate\n\n    # Lock the dependencies\n    uv lock\n    ```\n\n\n4. Create a `.env` file in the root directory and add your Box API credentials:\n\n    ```.env\n    BOX_CLIENT_ID=your_client_id\n    BOX_CLIENT_SECRET=your_client_secret\n    ```\n\n### Running the MCP Server\n\nTo start the MCP server, run the following command:\n\n```sh\nuv --directory /path-to-the-project/mcp-server-box run src/mcp_server_box.py\n```\n\n### Using Claude as the client\n\n1. Edit your `claude_desktop_config`.json\n\n```sh\ncode ~/Library/Application\\ Support/Claude/claude_desktop_config.json\n```\n\n2. And add the following:\n```json\n{\n    \"mcpServers\": {\n        \"mcp-server-box\": {\n            \"command\": \"uv\",\n            \"args\": [\n                \"--directory\",\n                \"/path-to-your-project/mcp-server-box\",\n                \"run\",\n                \"src/mcp_server_box.py\"\n            ]\n        }\n    }\n}\n```\n\n3. If CLaude is running restart it","tools":"## Available Tools\n\n1.  `box_who_am_i` (Get your current user information and check connection status.)\n2.  `box_authorize_app_tool` (Start the Box application authorization process.)\n3.  `box_search_tool` (Search for files in Box.)\n4.  `box_read_tool` (Read the text content of a Box file.)\n5.  `box_ask_ai_tool` (Ask Box AI about a file.)\n6.  `box_search_folder_by_name` (Locate a folder by name.)\n7.  `box_ai_extract_data` (Extract data from a file using AI.)\n8.  `box_list_folder_content_by_folder_id` (List folder contents.)","faq":null,"created_at":"2025-02-24T21:55:16+00:00","updated_at":"2025-03-25T15:27:24+00:00","source_url":"https://model-context-protocol.com/servers/mcp-server-box-api-file-operations","related_articles":[]}