james-see avatar

Mcp Drawthings

james-see/mcp-drawthings

Connects LLMs to Draw Things, the local Stable Diffusion app for Mac, so you can generate images without cloud APIs. Exposes text-to-image generation, image-to-image transformation, and configuration queries over Draw Things' local HTTP server on port 7860. Works entirely on-device using Apple Silicon. You'd reach for this when you want Claude or Cursor to create images during a conversation without leaving your machine or burning API credits. Saves generated images to your Pictures folder by default. Requires Draw Things installed with its API server enabled, which takes about thirty seconds to set up in the app settings.

GitHub stars
10
tools
4
transport
STDIO
last updated
Jan 1, 2026

Tools

4 tools

Public tool metadata for what this MCP can expose to an agent.

check_statusCheck if the Draw Things API server is running and accessible.

Check if the Draw Things API server is running and accessible.

No parameter schema in public metadata yet.

get_configGet the current Draw Things configuration including the loaded model and settings.

Get the current Draw Things configuration including the loaded model and settings.

No parameter schema in public metadata yet.

generate_imageGenerate an image from a text prompt.

Generate an image from a text prompt.

No parameter schema in public metadata yet.

transform_imageTransform an existing image using a text prompt (img2img).

Transform an existing image using a text prompt (img2img).

No parameter schema in public metadata yet.

Sponsors

Readme

mcp-drawthings

An MCP (Model Context Protocol) server for Draw Things - enabling LLMs to generate images locally on Mac using Stable Diffusion and other AI models.

Features

  • Text-to-Image Generation - Generate images from text prompts using the currently loaded model in Draw Things
  • Image-to-Image Transformation - Transform existing images using text prompts
  • Configuration Access - Query the current Draw Things settings and loaded model
  • Local Processing - All image generation runs locally on your Mac using Apple Silicon (M1/M2/M3/M4)

Prerequisites

  • macOS with Apple Silicon (M1/M2/M3/M4)
  • Draw Things app installed
  • Node.js 18 or later

Setup

1. Enable Draw Things API Server

  1. Open Draw Things
  2. Click the gear icon (⚙️) to open Settings
  3. Enable API Server / HTTP Server
  4. The server runs on port 7860 by default

Verify the server is running:

curl http://localhost:7860

2. Configure Your MCP Client

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:


View the full README on GitHub

Details

Repository
github.com/james-see/mcp-drawthings
Package
mcp-drawthings
Transport
STDIO
Registry
MCP registry, active