box-community_mcp-server-box

box-community_mcp-server-box

0

MCP Server Box is a Python project designed to interact with the Box API, supporting file operations like search, extraction, and AI querying. It aims to integrate seamlessly with Box for efficient and scalable data management using AI techniques.

MCP Server Box

Description

MCP Server Box is a Python project that integrates with the Box API for file search, text extraction, AI-based querying, and data extraction. It uses the box-sdk-gen library to interact with Box files and folders, facilitating seamless integration and efficient operations.

Box Tools

  • box_who_am_i: Get current user information.
  • box_authorize_app_tool: Start the Box app authorization process.
  • box_search_tool: Search for files in Box with various filtering options.
  • box_read_tool: Read text content of a Box file.
  • box_ask_ai_tool: Query the Box AI about a file.
  • box_search_folder_by_name: Locate a folder by name.
  • box_ai_extract_data: Extract data using AI.
  • box_list_folder_content_by_folder_id: List contents of a folder with optional recursion.

Requirements

  • Python 3.13 or higher
  • Box API credentials

Installation

  1. Clone the repository and navigate to it.
  2. Install uv for your OS.
  3. Create virtual environment, activate it, and lock dependencies.
  4. Create a .env file with Box API credentials.

Usage

Running the MCP Server

Run the server using uv command.

Using Claude as the client

Edit claude_desktop_config.json to add MCP server details and restart Claude if necessary.