KeepCloud Remote MCP server
Official KeepCloud Model Context Protocol (MCP) server built by ROXLI and powered by AstraClaw AI. Exposes your unified multi-cloud storage—Google Drive, Microsoft OneDrive, Dropbox, Telegram Cloud, and MEGA—as 9 zero-trust MCP tools so any MCP-compatible assistant (ChatGPT, Google Gemini, Claude, Indus by Sarvam, Cursor, Claude Code, Antigravity, Gemini CLI, or Muse AI) can browse, search, read, render PDFs, and organize files across your clouds with zero local installation.
https://api.keepcloud.in/mcpQuickstart
1. Choose your authentication method
- OAuth 2.1 PKCE (Recommended for Web Platforms): ChatGPT, Claude, and Indus auto-discover
/.well-known/oauth-authorization-serverand prompt you to approve scopes athttps://keepcloud.in/mcp/authorize. - OAuth Client ID & Secret (Google Gemini Web): Generate a dedicated Client ID (
kc_oa_...) and Client Secret (kc_sec_...) inside your KeepCloud MCP Console. - Scoped Bearer Token (IDE / CLI / Custom Agents): Create a single-reveal
kc_mcp_...token locked to chosen scopes and cloud providers.
2. Connect to your AI platform
| Platform | Auth Flow | Exact Fields / Setup Path |
|---|---|---|
| ChatGPT | OAuth 2.1 PKCE (Auto-Discovered) | Name: KeepCloud · Connection: Server URL -> https://api.keepcloud.in/mcp · Auth: OAuth chatgpt.com/plugins -> Add -> Custom MCP server |
| Google Gemini | OAuth Client ID + Client Secret | MCP Server URL: https://api.keepcloud.in/mcp · Additional settings -> Client ID & Client secret from /mcp gemini.google.com/customize/connectors -> + Custom |
| Claude Web | OAuth 2.1 PKCE (Dynamic Client Registration) | Server URL: https://api.keepcloud.in/mcp -> Continue claude.ai/plugins -> Add custom connector |
| Indus by Sarvam | OAuth • Each person signs in (Register Automatically) | Name: KeepCloud · Server URL: https://api.keepcloud.in/mcp · OAuth Client: Register Automatically indus.sarvam.ai/indus/connectors -> Add custom MCP server |
| Cursor / Claude Code / Antigravity / Gemini CLI / Muse AI | Scoped Bearer Token (kc_mcp_...) | Streamable HTTP JSON config with Authorization: Bearer <kc_mcp_token> User MCP config or 1-Click Self-Setup Prompt on /mcp |
{
"mcpServers": {
"keepcloud": {
"type": "http",
"url": "https://api.keepcloud.in/mcp",
"headers": {
"Authorization": "Bearer kc_mcp_YOUR_TOKEN",
"User-Agent": "KeepCloud-MCP-Client/1.0"
}
}
}
}Verify your connection
Send an authenticated tools/list JSON-RPC call or ask your connected assistant to run keepcloud_list_accounts:
curl -X POST https://api.keepcloud.in/mcp \
-H "Authorization: Bearer kc_mcp_YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'Tools reference (9 tools)
Every tool strictly inherits the authenticated user's identity and allowed cloud scopes.
Accounts & discovery
| Tool | What it does | Key parameters |
|---|---|---|
| keepcloud_list_accounts scope: read | Returns every permitted cloud account linked to the authenticated KeepCloud user (including multiple Google Drive accounts, OneDrive, Dropbox, Telegram, MEGA). | provider (optional) |
| keepcloud_list_files scope: read | Lists files sorted newest-first by default and automatically walks nested subfolders on root (bounded by MAX_MCP_TREE_DEPTH=10) unless recursive=false. | folder_id, provider, account_email, recursive, sort_by (newest | name), limit (up to 500) |
| keepcloud_search_files scope: search | Searches across root and nested folders using Shadow Index + Telegram cache + live recursive adapter results, and returns recent_candidates when filenames have zero matches (such as phone photos). | query, provider, account_email, limit (up to 50) |
Reading & multimodal image vision
| Tool | What it does | Key parameters |
|---|---|---|
| keepcloud_read_file scope: read | Extracts UTF-8 text from PDF (PyMuPDF), DOCX, Markdown, CSV, JSON, and code up to 32,000 characters; attaches PNG/JPEG/WebP/GIF images directly as native MCP vision pixels; or provides a signed /api/proxy/download link for video/audio media. | file_id, provider, account_email (optional), file_name (optional) |
Writing, organizing & cross-cloud copy
| Tool | What it does | Key parameters |
|---|---|---|
| keepcloud_save_file scope: write | Uploads visual binary PDFs/files via content_base64 (up to 25 MB) OR renders styled HTML (with inline SVG diagrams & tables) and Markdown in content into multi-page A4 PDFs server-side via PyMuPDF. | file_name, content or content_base64, provider, account_email, parent_id (max 25 MB) |
| keepcloud_create_folder scope: write | Creates a new folder inside the chosen cloud account (or returns needs_account_selection when disambiguation is required). | folder_name, provider, account_email, parent_id |
| keepcloud_move_file scope: write | Non-destructively moves a file or folder into another folder within the same cloud account. | file_id, provider, target_folder_id, account_email, file_name |
| keepcloud_copy_file scope: write | Copies or imports a file across folders, secondary Google Drive accounts, or different cloud providers (for example Telegram to Google Drive) while keeping the source file intact. | file_id, provider, account_email, target_folder_id, target_provider, target_account_email, new_name |
| keepcloud_share_link scope: share | Generates an expiring KeepCloud share URL for any permitted vault file. | file_id, provider, file_name, expiry_hours (default 24) |
Security, isolation & rate limits
Tokens and OAuth client secrets are hashed with SHA-256 and never accepted via browser cookies. No delete, purge, unlink, or billing tools exist on MCP. Every action writes to your DPDP Act 2023 Activity Log.
Enforces 60 requests/min per MCP token, 20 write/share ops/min per account, and 20 req/min per IP on OAuth endpoints (HTTP 429 + Retry-After: 60). Upload cap is 25 MB via MCP JSON.
Multi-step workflows
AI writes structured Markdown -> KeepCloud checks connected accounts -> renders multi-page A4 PDF -> saves directly to selected Google Drive or Telegram.
Create a target folder in Google Drive -> search nested folders -> copy PDFs from Telegram into Drive cleanly without deleting originals.
Read a stored receipt/screenshot inline via MCP vision -> summarize amounts -> generate an expiring KeepCloud share URL.
Frequently Asked Questions
What is the KeepCloud MCP Server URL and protocol?
KeepCloud exposes a hosted Remote Streamable HTTP MCP server at https://api.keepcloud.in/mcp using MCP JSON-RPC protocol 2025-03-26 with OAuth 2.1 PKCE auto-discovery and Bearer token authentication.
How do ChatGPT, Gemini, Claude, Indus, and Cursor authenticate safely?
ChatGPT, Claude, and Indus connect via OAuth 2.1 PKCE S256 Dynamic Client Registration at keepcloud.in/mcp/authorize. Google Gemini uses a dedicated OAuth Client ID and Client Secret generated inside your KeepCloud dashboard, while Cursor, Claude Code, Antigravity, and Gemini CLI authenticate via SHA-256 hashed kc_mcp_ Bearer tokens.
Can external AI platforms access another KeepCloud user's files or delete files?
No. Every MCP call derives identity strictly from the verified Bearer or OAuth token hash bound to a single KeepCloud user email, enforces optional cloud provider allowlists, and exposes zero delete, purge, or account-unlink tools.
How does KeepCloud handle multiple accounts from the same provider, such as two Google Drives?
KeepCloud exposes keepcloud_list_accounts and accepts an optional account_email filter on list, search, read, save, folder creation, move, and copy tools. When multiple accounts match a save or create-folder call without a clear choice, KeepCloud returns needs_account_selection so the AI asks you which account to use.
How can AI assistants save rich multi-page visual PDFs and inspect unnamed photos or scans?
KeepCloud's keepcloud_save_file accepts exact binary bytes via content_base64 (up to 25 MB) for chart/diagram PDFs built locally, or synthesizes styled HTML (with inline SVG diagrams & CSS tables) and full Markdown into multi-page A4 PDFs server-side via PyMuPDF. When keepcloud_search_files finds no filename matches (such as IMG_*.jpg receipts or menus), it returns recent_candidates so keepcloud_read_file can inspect them directly via vision/OCR.