npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

mcp-box-minimal

v1.0.3

Published

Minimal Box MCP server with essential file operations (6 tools)

Readme

mcp-box-minimal

Minimal Box MCP server with essential file operations (6 tools)

A lightweight Model Context Protocol (MCP) server for Box that provides only the essential file management tools, designed to stay under Cursor's 40-tool limit.


Features

  • 6 Essential Tools - Only what you need
  • OAuth 2.0 Authentication - Secure access with Client ID/Secret
  • TypeScript - Type-safe implementation
  • Lightweight - Minimal dependencies

Tools

  1. box_list_folder_items - List files, folders, and web links in a folder
  2. box_get_file_content - Read file content (text, PDF, Word, etc.)
  3. box_get_file_details - Get file metadata and permissions
  4. box_search_files - Search files using keywords and filters
  5. box_upload_file - Upload files to Box folders
  6. box_ai_qa_single_file - Ask questions to files using Box AI

Installation

Get Box OAuth Credentials

  1. Go to: https://app.box.com/developers/console
  2. Create a new app or select existing app
  3. Choose "User Authentication (OAuth 2.0)"
  4. Note your Client ID and Client Secret

Get Access Token

Option 1: Developer Token (Quick Testing)

  1. In Box Developer Console, go to your app's Configuration
  2. Click "Generate Developer Token"
  3. Copy the token (expires in 60 minutes)

Option 2: OAuth Access Token (Production)

  1. Complete OAuth flow to get access token
  2. Store token securely

Set Environment Variables

export BOX_CLIENT_ID="your_client_id"
export BOX_CLIENT_SECRET="your_client_secret"
export BOX_ACCESS_TOKEN="your_access_token"  # or BOX_DEV_TOKEN for testing

Or add to your shell profile (~/.zshrc or ~/.bashrc):

echo 'export BOX_CLIENT_ID="your_client_id"' >> ~/.zshrc
echo 'export BOX_CLIENT_SECRET="your_client_secret"' >> ~/.zshrc
echo 'export BOX_ACCESS_TOKEN="your_access_token"' >> ~/.zshrc
source ~/.zshrc

Configuration

Add to your ~/.cursor/mcp.json:

{
  "mcpServers": {
    "box-minimal": {
      "command": "node",
      "args": ["/path/to/mcp-box-minimal/dist/index.js"],
      "env": {
        "BOX_CLIENT_ID": "${BOX_CLIENT_ID}",
        "BOX_CLIENT_SECRET": "${BOX_CLIENT_SECRET}",
        "BOX_ACCESS_TOKEN": "${BOX_ACCESS_TOKEN}"
      }
    }
  }
}

Usage

After configuration, restart Cursor and use natural language commands:

  • "List files in Box folder 355472828832"
  • "Read the content of file ABC123"
  • "Search for PDF files containing 'report'"
  • "Upload a file to folder XYZ"
  • "Ask Box AI about the content of file ABC123"

Development

Build

npm install
npm run build

Run Locally

npm start

Tool Details

box_list_folder_items

List contents of a Box folder.

Parameters:

  • folder_id (required) - Folder ID to list
  • limit (optional) - Max results (default: 100, max: 1000)
  • offset (optional) - Pagination offset (default: 0)

box_get_file_content

Read file content from Box.

Parameters:

  • file_id (required) - File ID to read
  • as_text (optional) - Return as text vs base64 (default: true)

box_get_file_details

Get detailed file information.

Parameters:

  • file_id (required) - File ID to get details for

box_search_files

Search for files and folders.

Parameters:

  • query (required) - Search keywords
  • file_extensions (optional) - Filter by extensions (e.g., ["pdf", "docx"])
  • limit (optional) - Max results (default: 30, max: 200)
  • offset (optional) - Pagination offset

box_upload_file

Upload a file to Box.

Parameters:

  • folder_id (required) - Destination folder ID
  • file_name (required) - Name for uploaded file
  • content (required) - File content (text or base64)
  • content_encoding (optional) - "text" or "base64" (default: "text")

box_ai_qa_single_file

Ask questions to a file using Box AI.

Parameters:

  • file_id (required) - File ID to query
  • question (required) - Question to ask about file content

License

MIT


Created: 2025-01-11