Kokon logo

Kokon

Kokon connects AI agents to local Qwen-Image 2.1 generation and photo editing through a desktop app.

Install Kokon

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "kokon": {
      "command": "npx",
      "args": [
        "-y",
        "kokon-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y kokon-mcp

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The Kokon MCP server lets AI agents create and edit images locally through the Kokon desktop app. It runs Qwen-Image 2.1 on the computer's GPU or Apple Silicon memory, with a local HTTP API also available for scripts. Use it when image generation or targeted photo edits must stay offline and avoid cloud uploads. Kokon supports Windows and beta macOS releases, with hardware requirements varying by platform.

Use cases

  • Generate images from agent-written prompts
  • Remove or replace objects in local photos
  • Relight or restyle images offline
  • Expand photos into wider compositions
  • Automate local image edits with scripts

Key features

  • Local Qwen-Image 2.1 generation
  • Agent-accessible image editing
  • Object removal and replacement
  • Relighting and restyling
  • Canvas expansion and AI upscaling
  • Local HTTP API for scripts

Tools8

What Kokon lets your agent do. Expand a tool for its parameters.

Verified live~3.2k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

21/21 checks healthy over the last 46d

What it can do

From the 8 tools this server returned when we ran it; 8 declare their own safety hints.

Can delete or modify data · 1Read-only tools · 7
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age15 days
Maintainers1

Observed 2026-10-28 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 13d ago via OSV.dev · kokon-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars502Stargazers on the source repository.
npm downloads1.4kPackage downloads in the last 30 days.
Last commitTodayMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed8Callable tools this server registers over MCP.
Directory activity6 viewsConfig copies, upvotes, and views on AllMCPs.

How Kokon works

What Kokon does

The Kokon MCP server gives an AI agent access to local image generation and editing through the Kokon desktop application. It is designed for describing an intended change rather than configuring a large set of image-processing controls. Kokon can work with new images and existing photos, including edits such as removing or replacing an object, changing lighting or style, modifying text, and expanding the canvas.

The application uses Qwen-Image 2.1 and processes work on the local computer. Images and prompts do not need to be uploaded to a hosted service. The application also supports full-size results, keeps the source aspect ratio, and can open iPhone HEIC photos, including HDR content.

How it works

Install the native Kokon application, then allow its first-run setup to identify the available graphics hardware or Mac memory. Kokon selects a suitable configuration and downloads the required model files. The model download is about 12 GB on first run, and the application verifies the downloaded files.

The MCP server is included with the desktop app. An agent such as Claude or Cursor can send image-generation and image-editing requests to the running local application. Kokon also provides a local HTTP API for scripts, so the same local image workflow can be used without sending the image to a remote service.

Setup and configuration

Download the Windows installer from the latest release, or use the Apple Silicon macOS disk image marked as beta. The Windows installer is per-user and does not require administrator privileges. On macOS, the application may need to be allowed manually in Privacy & Security because the release is not notarized by Apple.

On first launch, Kokon recommends a preset based on the detected hardware and downloads the models it needs. Supported hardware includes NVIDIA GPUs with at least 12 GB of VRAM. AMD and Intel Arc support are marked beta and also call for at least 12 GB of VRAM. Apple Silicon support is beta, with 32 GB of unified memory recommended. Linux downloads are listed as coming soon.

Tools and capabilities

The Kokon MCP server supports agent-driven workflows for:

  • Generating images from text descriptions.
  • Editing selected areas of a photo.
  • Removing, replacing, changing, or adding visual elements.
  • Relighting or restyling an image.
  • Changing visible text in an image.
  • Extending an image beyond its original canvas.

Kokon uses a painted area or other editing context to indicate where the model should work, helping preserve unaffected parts of the photo. The application can upscale results with an AI upscaler rather than simple blurry resizing.

Limitations and notes

Kokon requires its desktop application; the MCP connection is not presented as an independently hosted cloud service. It also requires suitable local hardware and enough storage for the model download. Windows 10 and 11 are supported, while the listed macOS build targets macOS 26 or newer and Apple Silicon in beta.

The application performs processing locally and does not require an account. After setup, it checks once daily for a new application version, and that check can be disabled. A private mode is available when the application should retain nothing.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Kokon

Kokon is an MCP server that connects AI agents to the Kokon desktop app for local image generation and editing. Its main capabilities include creating images with Qwen-Image 2.1, removing or replacing objects, changing style or lighting, editing image text, and expanding canvases on the user's computer.

Install the Kokon desktop app from its latest Windows or Apple Silicon macOS release; the MCP server is included. Launch the app and complete its first-run hardware detection and model download. Windows installation is per-user, while macOS may require allowing the non-notarized app in Privacy & Security.

Yes, Kokon is described as working with Cursor through its built-in MCP server. The desktop app must be installed and running locally, and its first-run model setup must be completed before an agent can use the image capabilities.

Yes, Kokon performs image generation and editing on the local computer. Processing requires compatible local GPU or Apple Silicon hardware.

Kokon supports NVIDIA GPUs with at least 12 GB of VRAM; AMD and Intel Arc support are beta and also list 12 GB of VRAM. Apple Silicon support is beta, with 32 GB of unified memory recommended. The listed desktop platforms are Windows 10/11 and macOS 26 or newer.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewKokon AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/kokon?style=directory)](https://allmcps.com/mcp/kokon)
HTML Embed
<a href="https://allmcps.com/mcp/kokon"><img src="https://allmcps.com/api/badge/kokon?style=directory" alt="Kokon on AllMCPs" /></a>