ClipCloud MCP server
# ClipCloud MCP server
Make AI images right from Claude, Cursor, VS Code and other AI apps. Ask for a picture in plain words: the assistant writes the prompt, picks one of 35 [ClipCloud](https://clipcloud.cliplabs.top/) styles (photo, anime, watercolor, pixel art, Full HD, 4K and more) and saves the image to your folder.
Every ClipCloud key gets **25 free images a day**. Paid images start at $0.0005.

## What you can ask
> Make a watercolor picture of a fox in an autumn forest and save it to my Desktop
> I need a wide header image for a blog post about winter hiking. Save it to the images folder of this project as hero
> How much would 10 Full HD images cost? How many free images do I have left today?
## 1. Get a ClipCloud key
The key is free and starts with `clip-`. Get it in one of two places:
- the [ClipCloud web panel](https://clipcloud.cliplabs.top/panel/): sign in or create a free account, and the key is in your account;
- the Telegram bot [@clipcloudbot](https://t.me/clipcloudbot).
Keep the key private, like a password. You top up the balance in the same places.
## 2. Connect it to your AI app
Pick your app below. In every example, replace `clip-your-key` with your key.
All apps except the Claude Desktop extension need **Node.js 20 or newer** (22 or 24 is best). To check, run `node -v` in a terminal. If the command is not found or the version is lower, install the LTS version from [nodejs.org](https://nodejs.org/).
<details open>
<summary><b>Claude Desktop</b> (easiest: one click, no Node.js needed)</summary>
1. Download [clipcloud.mcpb](https://github.com/alexmrgit/clipcloud-mcp/releases/latest/download/clipcloud.mcpb).
2. Double-click the file (or drag it into the Claude window). Claude Desktop shows the install screen.
3. Paste your key. Check the folder for images (Downloads/ClipCloud by default) and click Install.
That's it. Ask Claude for a picture.
If you prefer to edit the config by hand: open Claude Desktop **Settings > Developer > Edit Config** and add this to `claude_desktop_config.json`, then quit Claude completely and open it again.
```json
{
"mcpServers": {
"clipcloud": {
"command": "npx",
"args": ["-y", "clipcloud-mcp"],
"env": { "CLIPCLOUD_API_KEY": "clip-your-key" }
}
}
}
```
</details>
<details>
<summary><b>Claude Code</b></summary>
Run in a terminal:
```bash
claude mcp add --scope user --env CLIPCLOUD_API_KEY=clip-your-key --transport stdio clipcloud -- npx -y clipcloud-mcp
```
Check with `claude mcp list`, or `/mcp` inside Claude Code.
</details>
<details>
<summary><b>Cursor</b></summary>
[](https://cursor.com/install-mcp?name=clipcloud&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsImNsaXBjbG91ZC1tY3AiXSwiZW52Ijp7IkNMSVBDTE9VRF9BUElfS0VZIjoiWU9VUl9BUElfS0VZIn19)
After the click, replace `YOUR_API_KEY` with your key in Cursor's MCP settings.
Or add this to `~/.cursor/mcp.json` (for all projects) or `.cursor/mcp.json` (for one project):
```json
{
"mcpServers": {
"clipcloud": {
"command": "npx",
"args": ["-y", "clipcloud-mcp"],
"env": { "CLIPCLOUD_API_KEY": "clip-your-key" }
}
}
}
```
</details>
<details>
<summary><b>VS Code</b> (GitHub Copilot)</summary>
Open the Command Palette (Ctrl+Shift+P, or Cmd+Shift+P on a Mac), run **MCP: Open User Configuration** and add:
```json
{
"inputs": [
{ "type": "promptString", "id": "clipcloud-key", "description": "ClipCloud API key", "password": true }
],
"servers": {
"clipcloud": {
"type": "stdio",
"command": "npx",
"args": ["-y", "clipcloud-mcp"],
"env": { "CLIPCLOUD_API_KEY": "${input:clipcloud-key}" }
}
}
}
```
VS Code asks for the key once and stores it securely.
</details>
<details>
<summary><b>Windsurf / Devin Desktop</b></summary>
Open **Customize > MCPs**, open the config file and add the same block as for Cursor:
```json
{
"mcpServers": {
"clipcloud": {
"command": "npx",
"args": ["-y", "clipcloud-mcp"],
"env": { "CLIPCLOUD_API_KEY": "clip-your-key" }
}
}
}
```
Then press the refresh button in the MCP list.
</details>
<details>
<summary><b>OpenAI Codex CLI</b></summary>
```bash
codex mcp add clipcloud --env CLIPCLOUD_API_KEY=clip-your-key -- npx -y clipcloud-mcp
```
Codex stops a tool call after 60 seconds by default. That is fine: the server answers within 45 seconds. To let it wait longer for big images, add `tool_timeout_sec = 300` under `[mcp_servers.clipcloud]` in `~/.codex/config.toml`.
</details>
<details>
<summary><b>Gemini CLI</b></summary>
```bash
gemini mcp add -s user -e CLIPCLOUD_API_KEY=clip-your-key clipcloud npx -y clipcloud-mcp
```
</details>
<details>
<summary><b>Any other MCP app</b></summary>
Command `npx`, arguments `-y clipcloud-mcp`, environment variable `CLIPCLOUD_API_KEY` with your key. Most apps take this JSON:
```json
{
"mcpServers": {
"clipcloud": {
"command": "npx",
"args": ["-y", "clipcloud-mcp"],
"env": { "CLIPCLOUD_API_KEY": "clip-your-key" }
}
}
}
```
</details>
## 3. Check that it works
Ask your assistant: **"What is my ClipCloud balance?"** It should answer with your balance and the free images left today. Then ask for a picture.
## Good to know
- **It takes a minute or more.** Small styles are usually ready in 1 to 5 minutes. Full HD, 4K and upscaled styles can take 15 minutes or more at busy times. If an image is not ready within about 45 seconds, the assistant gets a generation ID and keeps checking the same generation, so just wait. The server tells the assistant not to start a new one, so you are not charged twice.
- **Save the files.** Image links expire. Ask the assistant to save images to a folder (in Claude Code, Cursor and VS Code a folder of the open project works), or set `CLIPCLOUD_SAVE_DIR` (see below) so every image is saved automatically. Existing files are never replaced. Images are WebP files.
- **Previews.** The assistant sees small previews of up to 2 finished images, which uses some chat space. Ask it to skip previews if you make many images.
- **Cost.** Images are paid from your key's balance in credits (1 credit = $0.0025, [prices by style](https://clipcloud.cliplabs.top/pricing/)). When the paid balance is empty, up to 25 free images a day are used. Ask the assistant for a price before a big batch; every result also shows what it cost.
- **Prompts** work in any language. English gives the best results, and assistants usually translate for you.
## Settings
| Variable | Required | What it does |
|---|---|---|
| `CLIPCLOUD_API_KEY` | yes | Your ClipCloud key, starts with `clip-`. |
| `CLIPCLOUD_SAVE_DIR` | no | A folder where every finished image is saved, for example `/Users/me/Pictures/ClipCloud`. Folders the assistant names without a full path are created inside it. |
| `CLIPCLOUD_BASE_URL` | no | Leave unset. Set to `https://clipcloud-rumirror.clipai.pro` only if the main API address is not reachable from your network. |
## Tools
| Tool | What it does |
|---|---|
| `generate_image` | Makes images from a prompt in a style. Waits up to 45 seconds, shows the images, returns links and saves files if asked. If the images are not ready yet, returns a generation ID. |
| `get_image` | Gets the images of a generation by its ID, waiting again if needed. Without an ID, takes the latest generation of this session. |
| `list_styles` | Lists the 35 styles with their sizes. |
| `estimate_cost` | Tells the price of a generation before making it. Nothing is charged. |
| `get_balance` | Shows the paid balance and the free images left today. |
## Troubleshooting
- **"CLIPCLOUD_API_KEY is not set"**: the key is missing from the app's MCP settings. Add it and restart the app.
- **"Invalid API Key"**: check that the key is copied whole, starting with `clip-`, without spaces.
- **"Not enough balance"**: the free images for today are used and the paid balance is empty. Top up in the [web panel](https://clipcloud.cliplabs.top/panel/) or [@clipcloudbot](https://t.me/clipcloudbot), or wait until tomorrow.
- **The server does not start, or "npx not found" / "spawn npx ENOENT"**: install Node.js 20+ from [nodejs.org](https://nodejs.org/) and restart the app. If you use nvm or fnm, desktop apps may not see that Node.js: put the full path from `which npx` (on Windows: `where npx`) in `command`.
- **Claude Desktop on Windows, an error that mentions `${APPDATA}`**: add `"APPDATA": "C:\\Users\\<your user>\\AppData\\Roaming"` to `env` next to the key.
- **Logs**: Claude Desktop writes the server's messages to `mcp-server-clipcloud.log` in `~/Library/Logs/Claude` (Mac) or `%APPDATA%\Claude\logs` (Windows).
## Privacy
The server runs on your computer. Your key is sent only to the ClipCloud API. Your prompts go to ClipCloud to make the images; images are saved only where you or the assistant choose. See the [privacy policy](https://clipai.pro/en/privacy/) and the [image use rules](https://clipai.pro/en/faq/image-use-rules/).
## More from ClipCloud
- [API docs](https://clipcloud.cliplabs.top/docs/) and [prices](https://clipcloud.cliplabs.top/pricing/)
- [WordPress plugin](https://wordpress.org/plugins/clipcloud-image-generation/)
- [n8n node](https://www.npmjs.com/package/n8n-nodes-clipcloud)
- Support: support@clipcloud.cliplabs.top
## License
[MIT](LICENSE)
TDQS
Scored across 5 tools
Each tool maps to a distinct step in the image-generation workflow: generate_image starts a generation, get_image retrieves it, list_styles discovers options, estimate_cost prices a job, and get_balance checks credits. The descriptions explicitly disambiguate the riskiest pair (generate_image vs get_image) by warning never to re-call generate_image after a timeout and pointing to get_image's session-default behavior instead.
All five names are snake_case verb_noun pairs (generate_image, get_image, list_styles, estimate_cost, get_balance). The verb choice is semantically motivated (generate for creation, get for retrieval, list for enumeration, estimate for pricing), so the pattern is predictable rather than arbitrary.
Five tools is a tight, well-scoped surface: one create, one retrieve/poll, plus three support tools (styles, cost, balance) that each serve a concrete decision the agent must make. No tool appears redundant or bolted on.
The core lifecycle is covered: discover styles, estimate cost, check balance, generate, and retrieve results including timeout recovery. Gaps are minor, such as no way to cancel an in-progress generation or list/browse prior generations beyond the latest session one, but agents can work around these.