Skip to content
Skillpedia
● Free and open sourceπŸ’» LocalπŸ”“ No API keyDesign and media

Kokon

Lets your AI agent create and edit images on your own GPU with Qwen-Image 2.1, without uploading your photos.

286 stars on GitHubby Gabriele LozuponeLicense AGPL-3.0Updated 18 days ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add kokon -- npx -y kokon-mcp

What to fill in

NameWhat it isRequired
QLS_MCP_ALLOWED_DIRSExtra folders the server may read and write, separated by semicolons. The project folder and Kokon's output folder are always allowed.No

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Remove all the people from the beach in this photo.
Change the gold sign text to KOKON CAFE and keep the rest of the picture.

What it is

Kokon is a desktop app that edits photos from a written description, and it has a built-in MCP server and local HTTP API. Your agent can ask it to create or edit images on your computer. Photos stay on your machine and there is no daily limit.

What it can do

  • Edit a photo by describing the change
  • Paint an area and choose Change, Remove, Replace or Add
  • Expand an image beyond its frame
  • Enlarge images with an AI upscaler
  • Split an image into layers and export a PSD (experimental)
  • Local HTTP API for scripts and agents

When to use

  • β€ΊWhen you want an agent to edit photos without uploading them to a cloud service
  • β€ΊWhen you need to remove, replace or restyle parts of a picture by describing it
  • β€ΊWhen you want to split an image into layers and export it for Photoshop, GIMP or Photopea

What you need

The Kokon desktop app for Windows, Mac or Linux, plus a 12 GB graphics card (8 GB in beta) or an Apple Silicon Mac. About 12 GB of models download on first run.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is Kokon free?

Yes. The readme says it is free and open source, with no daily limit because it runs on your own GPU.

Do my photos leave my computer?

No. Everything runs on your own GPU, with no account, uploads or telemetry. After setup it only checks once a day for a new version, which you can turn off.

What hardware do I need?

A 12 GB graphics card (8 GB in beta), AMD or Intel 12 GB or more through Vulkan (beta), or an Apple Silicon Mac. The readme lists 16 GB RAM and 15 GB free disk as the minimum on Windows.

Can I use the images commercially?

The readme says the images are for non-commercial use because of the model license.

Does it work offline?

Yes, after the first setup has downloaded the models.

How does my agent connect?

Through the MCP server and local HTTP API built into the app, so the Kokon app has to be installed on the same machine.

If it does not work

  • β€ΊIf the models download is interrupted, start it again. It resumes and checks every file against its checksum.
  • β€ΊOn a Mac, if macOS blocks the app because it is not notarized, open System Settings, Privacy & Security and click Open Anyway.
  • β€ΊOn Linux with an NVIDIA card, install the proprietary driver; AMD and Intel cards use Mesa's Vulkan driver.

5 new skills a week. 1 minute to read.