zerodrive-mcp-server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@zerodrive-mcp-server list files in my workspace"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ZeroDrive MCP Server
A Model Context Protocol (MCP) server for ZeroDrive file management. This server enables AI assistants like Claude to interact with ZeroDrive cloud storage through a standardized interface.
Features
28 MCP Tools across 4 categories:
File Operations (8 tools): List, get, upload, download, move, share files
Folder Operations (7 tools): Create, list, update, delete, move, share folders
Workspace Operations (10 tools): Manage collaborative workspaces with files and folders
Trash Operations (3 tools): List, restore, and empty trash
Production-Ready:
Zod validation for all inputs
Structured logging with pino
Comprehensive error handling
TypeScript with strict mode
Related MCP server: Filesystem MCP Server
Requirements
Node.js 22.0.0 or higher
ZeroDrive API key
Installation
Via npm (Recommended)
npx @futurixai-labs/zerodrive-mcp-serverFrom Source
# Clone the repository
git clone https://github.com/futurixai/zerodrive-mcp-server.git
cd zerodrive-mcp-server
# Install dependencies
npm install
# Build
npm run buildConfiguration
Set the required environment variable:
export ZERODRIVE_API_KEY="your-api-key-here"Optional environment variables:
Variable | Default | Description |
|
| API base URL |
|
| Log level (trace, debug, info, warn, error, fatal, silent) |
|
| Environment mode |
Usage with Claude Desktop
Add to your Claude Desktop configuration (claude_desktop_config.json):
{
"mcpServers": {
"zerodrive": {
"command": "npx",
"args": ["@futurixai-labs/zerodrive-mcp-server"],
"env": {
"ZERODRIVE_API_KEY": "your-api-key-here"
}
}
}
}Available Tools
File Tools
Tool | Description |
| List files with filtering, pagination, and sorting |
| Get detailed file metadata |
| Upload a file from local path |
| Generate download URL for a file |
| Generate time-limited signed URL |
| Fetch text content of a file |
| Move file to different folder |
| Share file with other users |
Folder Tools
Tool | Description |
| List folders with filtering and pagination |
| Create a new folder |
| Get folder details |
| Update folder properties |
| Delete folder (to trash or permanent) |
| Move folder to different parent |
| Share folder with other users |
Workspace Tools
Tool | Description |
| List all accessible workspaces |
| Create a new workspace |
| Get workspace details |
| Upload file to workspace |
| List files in workspace |
| List folders in workspace |
| Create folder in workspace |
| Get workspace folder details |
| Update workspace folder |
| Delete workspace folder |
Trash Tools
Tool | Description |
| List trashed items |
| Restore item from trash |
| Permanently delete all trashed items |
Development
# Install dependencies
npm install
# Run type checking
npm run typecheck
# Build
npm run build
# Run linting
npm run lint
# Run tests
npm test
# Format code
npm run formatProject Structure
src/
├── index.ts # Entry point
├── api/ # HTTP client layer
│ ├── client.ts # API client with auth
│ └── endpoints.ts # API endpoint constants
├── config/ # Configuration
│ ├── env.ts # Environment validation
│ └── constants.ts # Application constants
├── errors/ # Error handling
│ └── base.ts # Error classes
├── logging/ # Structured logging
│ └── logger.ts # Pino logger setup
├── schemas/ # Zod validation schemas
│ ├── common.ts # Shared schemas
│ ├── files.ts # File tool schemas
│ ├── folders.ts # Folder tool schemas
│ ├── workspaces.ts # Workspace tool schemas
│ └── trash.ts # Trash tool schemas
├── server/ # MCP server setup
│ ├── server.ts # Server creation
│ └── handlers.ts # Request handlers
├── tools/ # Tool implementations
│ ├── files/ # File tools
│ ├── folders/ # Folder tools
│ ├── workspaces/ # Workspace tools
│ ├── trash/ # Trash tools
│ └── registry.ts # Tool dispatcher
├── types/ # TypeScript types
│ ├── entities.ts # Domain types
│ └── api.ts # API types
└── utils/ # Utilities
├── query-builder.ts # URL query builder
├── request-builder.ts # Request body builder
├── upload-handler.ts # File upload logic
└── response-formatter.ts # Response formattingContributing
See CONTRIBUTING.md for contribution guidelines.
License
MIT License - see LICENSE for details.
Available Tools
28 toolscreate_folderB
Create a new folder in ZeroDrive. Can be created at root level or as a subfolder of an existing folder.
Inputs: name (required), parentId, description.
create_workspaceA
Create a new workspace with allocated storage. The storage is deducted from the user's available quota.
Inputs: name (required), storageAllocation (required), description, icon, +1 more.
create_workspace_folderB
Create a new folder in a workspace. Requires EDITOR role or higher.
Inputs: workspaceId (required), name (required), parentId, description, +1 more.
delete_folderA
Delete a folder and all its contents. By default, moves to trash (soft delete). Use permanent=true to permanently delete.
Inputs: folderId (required), permanent.
delete_workspace_folderA
Delete a folder from a workspace. By default, folders are moved to trash. Use permanent=true to permanently delete.
Inputs: workspaceId (required), folderId (required), permanent.
download_fileB
Generate a signed URL for downloading a file from ZeroDrive. The URL is valid for 1 hour.
Inputs: fileId (required).
empty_trashA
Permanently delete all items in the trash. This action cannot be undone and will free up storage space.
Inputs: no named parameters.
fetch_file_contentB
Fetch and return the content of a text-based file from ZeroDrive. Best for text files, code files, JSON, etc.
Inputs: fileId (required), download.
generate_signed_urlA
Generate a time-limited signed URL for accessing a file without requiring API key authentication. Useful for sharing files or embedding in applications.
Inputs: fileId (required), expires.
get_fileB
Retrieve detailed metadata for a specific file by its ID from ZeroDrive.
Inputs: fileId (required).
get_folderA
Retrieve detailed information about a specific folder by its ID from ZeroDrive.
Inputs: folderId (required).
get_workspaceB
Retrieve detailed information about a specific workspace, including members, storage usage, and user permissions.
Inputs: workspaceId (required).
get_workspace_folderA
Get detailed information about a folder in a workspace, including its full breadcrumb path.
Inputs: workspaceId (required), folderId (required).
list_filesC
Retrieve a paginated list of files from ZeroDrive with optional filtering, sorting, and search capabilities.
Inputs: folderId, includeSubfolders, starred, shared, +6 more.
list_foldersC
Retrieve a paginated list of folders from ZeroDrive with optional filtering, sorting, and search capabilities.
Inputs: folderId, starred, shared, trashed, +5 more.
list_trashA
Retrieve all files and folders in the trash. Items remain in trash until permanently deleted or restored.
Inputs: limit, offset, sortBy, sortOrder.
list_workspace_filesB
List files in a workspace with filtering, pagination, and sorting options.
Inputs: workspaceId (required), folderId, trashed, starred, +5 more.
list_workspace_foldersA
List folders in a workspace with filtering, pagination, and sorting options.
Inputs: workspaceId (required), parentId, trashed, starred, +5 more.
list_workspacesA
Retrieve all workspaces the authenticated user owns or is a member of. Returns owned workspaces and member workspaces.
Inputs: no named parameters.
move_fileA
Move a file to a different folder. Set folderId to null to move the file to the root directory.
Inputs: fileId (required), folderId.
move_folderA
Move a folder to a different parent folder. Set parentId to null to move the folder to the root directory.
Inputs: folderId (required), parentId.
restore_from_trashA
Restore a file or folder from the trash back to its original location. If the original parent folder no longer exists, the item is restored to the root directory.
Inputs: itemId (required), type.
update_folderB
Update folder properties such as name, description, color, or starred status. Can also restore a folder from trash.
Inputs: folderId (required), name, description, color, +2 more.
update_workspace_folderA
Update a folder's properties including name, description, color, parent (move), starred status, or trash status. Requires EDITOR role or higher.
Inputs: workspaceId (required), folderId (required), name, description, +4 more.
upload_fileB
Upload a file to ZeroDrive. Supports uploading from a local file path with optional folder path for automatic folder creation.
Inputs: filePath (required), folderPath.
upload_workspace_fileB
Upload a file directly to a workspace. Requires EDITOR or higher workspace role.
Inputs: workspaceId (required), filePath (required), folderId.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 28 tools
Each tool targets a specific action and domain (personal vs workspace), with clear descriptions. The only potential overlap (download_file vs generate_signed_url) is resolved by distinct use cases.
All tools follow a consistent verb_noun pattern in snake_case, making them predictable and easy to navigate.
28 tools is higher than typical, but the dual-domain coverage (personal and workspace) justifies the count. No obvious redundancy, though slightly over-scoped.
Covers most CRUD operations for files and folders, but lacks explicit delete_file and update_file tools, which are notable gaps for a file management system.
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
One MCP server for the services your AI needs: memory, files, Microsoft 365, kanban and more.
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
Related MCP Servers
- AlicenseAqualityDmaintenanceA Model Context Protocol server that enables Claude Desktop and other MCP clients to interact with WebDAV file systems through natural language commands for CRUD operations.8129 npm20MIT
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that extends AI capabilities by providing file system access and management functionalities to Claude or other AI assistants.5-
- AlicenseAqualityDmaintenanceA Model Context Protocol server that enables AI assistants to interact with Proton Drive files, supporting operations like listing, reading, creating, and deleting files and folders.7777 npm16MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables Claude Desktop to perform file operations like reading, writing, listing directories, and managing files through natural language commands.MIT