Drime 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., "@Drime MCP Serversearch my Drime files for 'quarterly report'"
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.
Drime MCP Server
An MCP (Model Context Protocol) server that lets AI agents access your Drime Cloud files. Browse, search, read, upload, and manage your documents directly from any MCP-compatible AI client (Claude Desktop, Cursor, Windsurf, etc.).
Tools
Tool | Description | Mode |
| Get the authenticated user's account info | Read |
| List all accessible workspaces | Read |
| Get storage usage for a workspace | Read |
| List files and folders in a directory (with filtering, sorting, pagination) | Read |
| Search files by name across all directories | Read |
| Get detailed metadata for a file or folder | Read |
| Get the folder tree structure | Read |
| Download and read text-based file content (txt, md, json, code, etc.) | Read |
| Upload a file (base64-encoded content, up to 5MB) | Write |
| Create a new folder | Write |
| Move files/folders to trash | Write |
| Move files/folders to a different location | Write |
Related MCP server: gdrive-mcp-server
Prerequisites
Node.js >= 20
A Drime Cloud account
A Drime API token with appropriate access rights.
Setup
1. Install dependencies
npm install2. Build
npm run build3. Configure your API token
export DRIME_API_TOKEN="your_token_here"Or create a .env file:
cp .env.example .env
# Edit .env and set DRIME_API_TOKEN4. Connect to an MCP client
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"drime": {
"command": "node",
"args": ["/absolute/path/to/Drime-MCP/dist/index.js"],
"env": {
"DRIME_API_TOKEN": "your_token_here"
}
}
}
}Cursor / Windsurf
Add to your MCP settings:
{
"mcpServers": {
"drime": {
"command": "node",
"args": ["/absolute/path/to/Drime-MCP/dist/index.js"],
"env": {
"DRIME_API_TOKEN": "your_token_here"
}
}
}
}5. Restart your AI client
The Drime tools should now appear in your AI agent's tool list.
Configuration
Environment Variable | Required | Default | Description |
| Yes | — | Your Drime Cloud personal access token |
| No |
| Read-only by default. Set to exactly |
Development
# Run in dev mode (no build step, uses tsx)
npm run dev
# Run tests
npm test
# Watch tests
npm run test:watch
# Build for production
npm run buildSecurity
The API token is read from the
DRIME_API_TOKENenvironment variable — never hardcodedRead-only mode is the default — writes stay disabled unless you explicitly set
DRIME_READ_ONLY=false(any other value keeps the server read-only)The token is validated on server startup (fails fast if invalid)
Create a dedicated token with minimal permissions at Drime Settings > Developers.
Never commit your
.envfile or token to version control
Architecture
src/
├── index.ts # MCP server entry point (stdio transport)
├── config.ts # Environment-based configuration
├── types.ts # TypeScript types for Drime API
├── drime-client.ts # HTTP client for Drime Cloud REST API
└── tools/
├── index.ts # Tool registry
├── user-tools.ts # User, workspace, space usage tools
├── file-tools.ts # List, search, file info, folder tree tools
├── content-tools.ts # Read file content tool
└── write-tools.ts # Upload, create folder, delete, move toolsLicense
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Browse and manage files in your Moxt AI workspace from any MCP client.
Persistent file storage for AI agents via MCP and curl. Upload, download, and version files.
Swiss encrypted cloud drive for Claude, ChatGPT and AI agents: search, read and save files.
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides file system operations (list, read, write, search) via MCP, enabling an AI agent to manage files through natural language.3,052 npmMIT
- FlicenseNot gradedqualityDmaintenanceEnables MCP-compatible AI assistants to interact with a user's Google Drive, including listing, searching, reading, creating, updating, and deleting files, with authentication via Google OAuth.1-
- AlicenseAqualityAmaintenanceEnables AI agents and MCP-compatible clients to search, inspect metadata for, and download files from a personal Microsoft OneDrive account via Microsoft Graph, using only read-only HTTP GET requests.5416 npm1MIT
- AlicenseAqualityBmaintenanceEnables AI assistants to read and optionally write Jottacloud files via the MCP protocol, with secure token-based authentication and configurable path restrictions.713 npmMIT