npm package: @microagents/mcp-server-dropbox
Description: MCP server for dropbox API
Author: Microagents
Latest version: 0.0.1

# Dropbox MCP Server

MCP (Model Context Protocol) server implementation for Dropbox API.

## Tools

This server provides the following tools:

1. `copy_file`
   - Copy a file from one location to another in Dropbox
   - Inputs:
     - `from_path` (string): Source file path in Dropbox
     - `to_path` (string): Destination path in Dropbox
     - `autorename` (optional boolean): Auto rename if conflict exists
     - `allow_ownership_transfer` (optional boolean): Allow transfer of ownership

2. `delete_file`
   - Permanently delete a file from Dropbox
   - Inputs:
     - `path` (string): Path of the file to delete

3. `move_file`
   - Move a file to a new location in Dropbox
   - Inputs:
     - `from_path` (string): Current file path
     - `to_path` (string): New file path
     - `autorename` (optional boolean): Auto rename if conflict exists
     - `allow_ownership_transfer` (optional boolean): Allow transfer of ownership

4. `upload_file`
   - Upload a new file to Dropbox
   - Inputs:
     - `path` (string): Path where to save the file
     - `file` (object): File content in base64 format
     - `autorename` (optional boolean): Auto rename if conflict exists
     - `mute` (optional boolean): Suppress user notifications
     - `strict_conflict` (optional boolean): Strict conflict checking

5. `create_folder`
   - Create a new empty folder in Dropbox
   - Inputs:
     - `path` (string): Path for the new folder
     - `autorename` (optional boolean): Auto rename if conflict exists

6. `delete_folder`
   - Delete a folder and all its contents
   - Inputs:
     - `path` (string): Path of the folder to delete

7. `list_folder`
   - List contents of a folder
   - Inputs:
     - `path` (string): Folder path to list
     - `recursive` (optional boolean): List contents recursively
     - `limit` (optional number): Maximum number of results

8. `move_folder`
   - Move a folder to a new location
   - Inputs:
     - `from_path` (string): Current folder path
     - `to_path` (string): New folder path
     - `autorename` (optional boolean): Auto rename if conflict exists
     - `allow_ownership_transfer` (optional boolean): Allow transfer of ownership

9. `search`
   - Search for files and folders
   - Inputs:
     - `query` (string): Search query
     - `path` (optional string): Path to search in
     - `max_results` (optional number): Maximum results to return
     - `order_by` (optional string): Sort order
     - `file_status` (optional string): Filter by file status
     - `filename_only` (optional boolean): Search in filenames only
     - `file_extensions` (optional string): Filter by file extensions
     - `file_categories` (optional string): Filter by file categories
     - `account_id` (optional string): Filter by account ID

10. `get_file_link`
    - Get a temporary link to access a file
    - Inputs:
      - `path` (string): Path of the file

## Environment Variables

The following environment variables are required:

- `DROPBOX_ACCESS_TOKEN`: OAuth2 access token for Dropbox API authentication

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.