Dropbox

by amgadabdelhafez

4 stars
Not rated
GitHub

About

Integrates with Dropbox to enable file management operations like listing, uploading, downloading, and sharing files for cloud storage workflows.

Details

Author
amgadabdelhafez
Repository
amgadabdelhafez/dbx-mcp-server
GitHub stars
4
License
MIT License
Categories
File Management, Other, Productivity, AI, Design, Infrastructure, Developer Tools, Cloud Service
Tags
#integration

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Dropbox
    Command (node, npx, python, etc.) node
    Arguments
    • Argument 1 /path/to/dbx-mcp-server/build/index.js
    Environment
    • DROPBOX_APP_KEY DROPBOX_APP_KEY
    • DROPBOX_APP_SECRET DROPBOX_APP_SECRET
    • DROPBOX_REDIRECT_URI DROPBOX_REDIRECT_URI
    • TOKEN_ENCRYPTION_KEY TOKEN_ENCRYPTION_KEY
    • MAX_TOKEN_REFRESH_RETRIES MAX_TOKEN_REFRESH_RETRIES
    • TOKEN_REFRESH_RETRY_DELAY_MS TOKEN_REFRESH_RETRY_DELAY_MS
    • TOKEN_REFRESH_THRESHOLD_MINUTES TOKEN_REFRESH_THRESHOLD_MINUTES

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

1. Clone the repository

   git clone https://github.com/your-username/dbx-mcp-server.git
   cd dbx-mcp-server
   

2. Install dependencies and build

   npm install
   npm run build
   

3. Run the setup script

   npm run setup
   

4. Add to MCP settings

Add the following to your MCP settings file:

   {
     "mcpServers": {
       "dbx": {
         "command": "node",
         "args": ["/path/to/dbx-mcp-server/build/index.js"]
       }
     }
   }
   

The server uses OAuth 2.0 with PKCE for secure authentication with Dropbox.

list_files

List files in a directory

upload_file

Upload a file. Parameters: path (string), content (base64 encoded string)

download_file

Download a file

safe_delete_item

Safely delete an item with recycle bin support

create_folder

Create a new folder

copy_item

Copy a file or folder

move_item

Move or rename a file/folder

get_file_metadata

Get file/folder metadata

search_file_db

Search files and folders. Parameters: query (string), path (string), max_results (integer)

get_sharing_link

Create sharing links

get_file_content

Get file contents

get_account_info

Get account information

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "dropbox": {
            "env": {
                "DROPBOX_APP_KEY": "DROPBOX_APP_KEY",
                "DROPBOX_APP_SECRET": "DROPBOX_APP_SECRET",
                "DROPBOX_REDIRECT_URI": "DROPBOX_REDIRECT_URI",
                "TOKEN_ENCRYPTION_KEY": "TOKEN_ENCRYPTION_KEY",
                "MAX_TOKEN_REFRESH_RETRIES": "MAX_TOKEN_REFRESH_RETRIES",
                "TOKEN_REFRESH_RETRY_DELAY_MS": "TOKEN_REFRESH_RETRY_DELAY_MS",
                "TOKEN_REFRESH_THRESHOLD_MINUTES": "TOKEN_REFRESH_THRESHOLD_MINUTES"
            },
            "args": [
                "/path/to/dbx-mcp-server/build/index.js"
            ],
            "command": "node"
        }
    }
}

Linux

{
    "env": {
        "DROPBOX_APP_KEY": "DROPBOX_APP_KEY",
        "DROPBOX_APP_SECRET": "DROPBOX_APP_SECRET",
        "DROPBOX_REDIRECT_URI": "DROPBOX_REDIRECT_URI",
        "TOKEN_ENCRYPTION_KEY": "TOKEN_ENCRYPTION_KEY",
        "MAX_TOKEN_REFRESH_RETRIES": "MAX_TOKEN_REFRESH_RETRIES",
        "TOKEN_REFRESH_RETRY_DELAY_MS": "TOKEN_REFRESH_RETRY_DELAY_MS",
        "TOKEN_REFRESH_THRESHOLD_MINUTES": "TOKEN_REFRESH_THRESHOLD_MINUTES"
    },
    "args": [
        "/path/to/dbx-mcp-server/build/index.js"
    ],
    "command": "node"
}

Macos

{
    "env": {
        "DROPBOX_APP_KEY": "DROPBOX_APP_KEY",
        "DROPBOX_APP_SECRET": "DROPBOX_APP_SECRET",
        "DROPBOX_REDIRECT_URI": "DROPBOX_REDIRECT_URI",
        "TOKEN_ENCRYPTION_KEY": "TOKEN_ENCRYPTION_KEY",
        "MAX_TOKEN_REFRESH_RETRIES": "MAX_TOKEN_REFRESH_RETRIES",
        "TOKEN_REFRESH_RETRY_DELAY_MS": "TOKEN_REFRESH_RETRY_DELAY_MS",
        "TOKEN_REFRESH_THRESHOLD_MINUTES": "TOKEN_REFRESH_THRESHOLD_MINUTES"
    },
    "args": [
        "/path/to/dbx-mcp-server/build/index.js"
    ],
    "command": "node"
}

Windows

{
    "env": {
        "DROPBOX_APP_KEY": "DROPBOX_APP_KEY",
        "DROPBOX_APP_SECRET": "DROPBOX_APP_SECRET",
        "DROPBOX_REDIRECT_URI": "DROPBOX_REDIRECT_URI",
        "TOKEN_ENCRYPTION_KEY": "TOKEN_ENCRYPTION_KEY",
        "MAX_TOKEN_REFRESH_RETRIES": "MAX_TOKEN_REFRESH_RETRIES",
        "TOKEN_REFRESH_RETRY_DELAY_MS": "TOKEN_REFRESH_RETRY_DELAY_MS",
        "TOKEN_REFRESH_THRESHOLD_MINUTES": "TOKEN_REFRESH_THRESHOLD_MINUTES"
    },
    "args": [
        "/path/to/dbx-mcp-server/build/index.js"
    ],
    "command": "node"
}

A Model Context Protocol (MCP) server that provides integration with Dropbox, allowing MCP-compatible clients to interact with Dropbox through a set of powerful tools.

Important Disclaimer:This project is not affiliated with, endorsed by, or sponsored by Dropbox. It is an independent integration that works with Dropbox's public API.

- Quick Start
-
Installation
-
Authentication
-
Available Tools
-
Required Dropbox Permissions
-
Usage Examples
-
Development
-
License
- Clone the repository
- Runnpm installto install dependencies
- Runnpm run buildto build the project
- Runnpm run setup
- Configure your MCP client to use the server

Register a Dropbox app atDropbox App Console:

- Choose "Scoped access" API
- Choose the access type your app needs
- Name your app and click "Create app"
- Under "Permissions", select the desired permissions for the actions you will be using, for example:

- files.metadata.read
- files.content.read
- files.content.write
- sharing.write
- account_info.read

git clone https://github.com/your-username/dbx-mcp-server.git cd dbx-mcp-server

Add the following to your MCP settings file:

{ "mcpServers": { "dbx": { "command": "node", "args": ["/path/to/dbx-mcp-server/build/index.js"] } } }

The server uses OAuth 2.0 with PKCE for secure authentication with Dropbox.

- DROPBOX_APP_KEY: Your Dropbox app's key
- DROPBOX_APP_SECRET: Your Dropbox app's secret
- DROPBOX_REDIRECT_URI: OAuth redirect URI
- TOKEN_ENCRYPTION_KEY: 32+ character key for token encryption

- TOKEN_REFRESH_THRESHOLD_MINUTES: Minutes before expiration to refresh token (default: 5)
- MAX_TOKEN_REFRESH_RETRIES: Maximum number of refresh attempts (default: 3)
- TOKEN_REFRESH_RETRY_DELAY_MS: Delay between refresh attempts in ms (default: 1000)

- list_files: List files in a directory
- upload_file: Upload a file
- download_file: Download a file
- safe_delete_item: Safely delete with recycle bin support
- create_folder: Create a new folder
- copy_item: Copy a file or folder
- move_item: Move or rename a file/folder

- get_file_metadata: Get file/folder metadata
- search_file_db: Search files and folders
- get_sharing_link: Create sharing links
- get_file_content: Get file contents

- get_account_info: Get account information

Below is a mapping of server actions to the minimum Dropbox OAuth scopes (permissions) required:

- sharing.read: View sharing settings and collaborators
- file_requests.read/file_requests.write: For file request features
- contacts.read/contacts.write: For accessing Dropbox contacts

For more details on Dropbox scopes, see theDropbox Permissions Documentation.

// List files in root directory await mcp.useTool("dbx-mcp-server", "list_files", { path: "" }); // Upload a file await mcp.useTool("dbx-mcp-server", "upload_file", { path: "/test.txt", content: Buffer.from("Hello World").toString("base64"), }); // Search for files await mcp.useTool("dbx-mcp-server", "search_file_db", { query: "report", path: "/Documents", max_results: 10, });

- TypeScript
- Model Context Protocol SDK
- Dropbox SDK v10.34.0
- Dropbox API v2

Copyright (c) 2025 MCP Server Contributors

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Publish HTML, Markdown, KV, JSON, files to brewpage.app from AI assistants.

An MCP server for interacting with Dropbox files and services.

A read-only MCP server by CData that allows LLMs to query live Dropbox data. Requires the CData JDBC Driver for Dropbox.

An MCP server for interacting with Dropbox, allowing clients to manage files and folders.

Access and manage your Google Drive files and folders.

Integrates with Google Drive, allowing AI models to search, list, and read files.

Connect your AI assistant to Google Drive for file management and access.

Interact with The Drive AI files directly from AI assistants like ChatGPT or Claude using the Model Context Protocol (MCP).

Manage multiple Fireproof JSON document databases with cloud sync capabilities.

Manage files and downloads on Synology NAS devices using an AI assistant.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.