Kuake CLI MCP
A Go CLI and the kuake-mcp server manage Quark Cloud Drive files: listing, upload, move, delete and share links for agents.
- 337 ★ on the repository
- Last commit
- AGPL-3.0
Broad access
Why this level
- The agent receives an account Cookie and can delete, move and share files on the drive.
- The project is unofficial, so account blocking and data loss are possible.
Install
- Works in
Manual install
git clone https://github.com/zhangjingwei/kuake_cli.git
cd kuake_cli
chmod +x build.sh
./build.shThe first README option, needing Go 1.25 or newer. Ready binaries are in Releases.
Access and checks
How we reviewBroad accessThe tool can change data, run commands or handle secrets.
- The agent receives an account Cookie and can delete, move and share files on the drive.
- The project is unofficial, so account blocking and data loss are possible.
This is third-party code. Review the repository files before installing.
What it does
Kuake CLI works with Quark Cloud Drive (夸克网盘) from the terminal. Commands show the profile and folder contents, upload and download files, create directories, move, copy, rename and delete, create and cancel share links and save other people's shares. JSON output pairs well with `jq`. A separate `kuake-mcp` binary exposes 14 operations to MCP clients such as Claude Code over stdio. For OpenClaw there is the `kuake_skill` skill that turns requests into `kuake` commands. MCP tools include `quark_list`, `quark_upload`, `quark_move` and `quark_delete`.
Who it is for. Quark Cloud Drive users who want to manage the drive from a terminal, scripts and agents.
Good fit when
- Files must be uploaded to the cloud in bulk rather than through the web interface.
- A directory downloads with resume, and a rerun skips complete files.
- An agent sorts drive folders on request in Claude Code.
- Someone else's share link must be saved to your drive with JSON output.
Not a fit when
- An official client is needed, while this project is unofficial and unaffiliated with Quark.
- An agent cannot be trusted with deleting and moving files on the drive.
- The product is commercial, and AGPL-3.0 requires a separate license for SaaS and commercial use.
Example request
List the drive root through quark_list and find folders older than a year, deleting nothing without my confirmation.MCP
- Transport
- stdio
- Authentication
- API key
Environment variables
`KUAKE_COOKIE`required, secret- Quark Cloud Drive account Cookie.
`KUAKE_DENY_OPS`- List of operations the MCP server may not run.
`KUAKE_DENY_PATHS`- Drive paths closed to operations.
`KUAKE_DENY_EXTS`- Blocked file extensions, `.env`, `.key` and `.pem` in the example.
`KUAKE_MAX_UPLOAD_MB`- Maximum upload size in megabytes.
`KUAKE_DOWNLOAD_DIR`- Local folder for downloaded files.
Limitations
The project is unofficial, and the author warns about account blocking, data loss and breakage when the API changes. A valid account and Cookie are required, passed through `KUAKE_COOKIE` or saved with `kuake auth save`. Binaries are in Releases, or build with Go 1.25 or newer. The license is AGPL-3.0, with commercial use by separate permission. The latest commit is from October 2026.
How to disable. Remove the `quark` entry from `.mcp.json` and the `kuake` and `kuake-mcp` binaries. Clear saved credentials with `kuake auth clear` and rotate the Cookie on the Quark side.
FAQ
How do I limit what the agent can do?
Use `KUAKE_DENY_OPS`, `KUAKE_DENY_PATHS`, `KUAKE_DENY_EXTS`, `KUAKE_MAX_UPLOAD_MB` and `KUAKE_DOWNLOAD_DIR`. The example blocks `.env`, `.key` and `.pem` extensions by default.
Where are credentials stored?
The Cookie comes from `KUAKE_COOKIE` and other sources. `kuake auth save` stores it in the settings directory with `0600` permissions on Linux and macOS.
Does the CLI print the Cookie value?
No. `kuake auth status` and `kuake auth clear` never print its value.
How many tools does the MCP server have?
Fourteen drive operations: listing, upload, download, directory creation, move, copy, rename, delete and share links.
Is the project fit for a commercial service?
Only with the author's separate permission: the license is AGPL-3.0, and SaaS and commercial products are not covered.
Discussion
No questions or reviews yet.
Related
MCP serversKaiten CLI and MCP server (Go)
kaiten-mcp
A native Go CLI and MCP server for Kaiten with safe defaults: write tools are off until explicitly enabled
kaiten-cli
kaiten
Command-line client and MCP server for the Kaiten tracker: cards, comments, checklists and files from the terminal or an agent
The official Quark Drive skill: an agent stores, searches, downloads and shares files in cloud storage on request.
A single Rust binary: CLI, MCP server and MCP Apps for Yandex Mail, Calendar and Disk, with 13 embedded skills and cross-service workflows
Connects an agent to Nextcloud: notes, calendar, contacts, files, mail and Deck boards through more than 110 MCP tools
A local MCP server for Mac: Claude, Codex and ChatGPT work in apps, files, terminal and browser under your permissions
README in short
One repository contains the CLI, the MCP server and an OpenClaw skill. Agent access is narrowed with deny variables and a download sandbox.