Draw Things MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Draw Things MCP Server Generate an image of a cat eating pizza in space"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Draw Things MCP Server
Draw Things アプリを活用して、Claude Desktop / Claude Codeから無料でローカル画像生成ができるMCPサーバーです。
Google Gemini、OpenAIなどの有料APIなしで、MacのApple Silicon(M1〜M4)で直接画像を生成します。
元リポジトリ: james-see/mcp-drawthings このリポジトリは、FLUX.1 Schnellモデル向けにデフォルト設定を最適化したバージョンです。
変更点(元リポジトリとの違い)
デフォルトsteps: 20 → 4 — FLUX.1 Schnellモデルは4 stepsで十分な品質の画像を生成します。20〜30 stepsは不要に遅くなります。
Related MCP server: GPTImage
必要要件
macOS(Apple Silicon M1/M2/M3/M4)
Draw Things アプリ(App Store)
Node.js 18以上
ステップ1: Draw Thingsアプリのインストールと設定
1-1. アプリのインストール
App Storeで Draw Things を検索してインストールします。
1-2. 初期設定(モデルのダウンロード)
アプリを初めて起動すると、モデルソースの選択画面が表示されます。
ステップ | 選択内容 |
ステップ 1/3: モデルソース | 「Draw Things経由でモデルをダウンロード」 を選択 |
Cloud Compute | オフ(ローカル実行のみなので不要) |
ステップ 2/3: モデル選択 | 検索欄に |
ステップ 3/3: 保存先フォルダ | デフォルトまたは任意のフォルダを選択 |
補足: FLUX.1 [schnell] 通常版は約11.7GBです。Mac RAMが8GBの場合は5-bit版を選択してください。
ダウンロードが完了するまで待ちます。
1-3. APIサーバーを有効にする
左サイドバーの 「設定」(歯車アイコン)をクリック
上部タブの 「詳細」 をクリック
「APIサーバー」 セクションを探す
以下のように設定:
設定項目 | 値 |
サーバーオンライン | オン(緑色) |
プロトコル | HTTP |
ポート | 7860(デフォルト) |
設定後、ターミナルで確認:
curl http://localhost:7860JSONレスポンスが返ってくれば成功です。
重要: Draw Thingsアプリは常に起動している必要があります。アプリを閉じるとAPIサーバーも停止します。最小化しておけばOKです。
ステップ2: MCPサーバーのインストール
git clone https://github.com/my13each/Drawthings_MCP.git
cd Drawthings_MCP
npm install
npm run buildステップ3: MCPクライアントの設定
Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json に追加:
{
"mcpServers": {
"drawthings": {
"command": "node",
"args": ["/絶対パス/Drawthings_MCP/dist/index.js"]
}
}
}設定後、Claude Desktopを再起動します。
Claude Code
claude mcp add --scope user drawthings -- node /絶対パス/Drawthings_MCP/dist/index.js新しい会話を開始すると反映されます。
使い方
Claudeにこう言うだけです:
「宇宙でピザを食べるかわいい猫を描いて」
"Generate an image of a futuristic city at sunset"
英語のプロンプトの方が高品質な画像が生成されます。
MCPツール一覧
ツール | 説明 |
| Draw Things APIの接続状態を確認 |
| 現在ロードされているモデルと設定を取得 |
| テキストから画像を生成 |
| 既存の画像をテキストプロンプトで変換 |
generate_image パラメータ
パラメータ | 型 | 必須 | 説明 |
| string | O | 画像の説明テキスト |
| string | X | 除外する要素 |
| number | X | 画像の幅(デフォルト: 512) |
| number | X | 画像の高さ(デフォルト: 512) |
| number | X | 推論ステップ数(デフォルト: 4) |
| number | X | ガイダンススケール(デフォルト: 7.5) |
| number | X | シード値(-1 = ランダム) |
| string | X | 保存先パス |
transform_image パラメータ
パラメータ | 型 | 必須 | 説明 |
| string | O | 変換の説明テキスト |
| string | * | 元画像のファイルパス |
| string | * | Base64エンコードされた元画像 |
| number | X | 変換強度 0.0〜1.0(デフォルト: 0.75) |
| number | X | 推論ステップ数(デフォルト: 4) |
* image_path または image_base64 のどちらか必須
環境変数
変数 | デフォルト | 説明 |
|
| APIサーバーのホスト |
|
| APIサーバーのポート |
|
| 画像の保存ディレクトリ |
アーキテクチャ
┌─────────────────┐ stdio ┌──────────────────┐ HTTP ┌─────────────┐
│ MCP Client │◄──────────────►│ mcp-drawthings │◄────────────►│ Draw Things │
│ (Claude/Cursor) │ JSON-RPC │ │ localhost │ App │
└─────────────────┘ └──────────────────┘ :7860 └─────────────┘
│
▼
┌──────────────┐
│ File System │
│ (images) │
└──────────────┘トラブルシューティング
「Draw Things APIに接続できません」
Draw Thingsアプリが起動中か確認
設定で「サーバーオンライン」がオンになっているか確認
curl http://localhost:7860でレスポンスを確認アプリを閉じて再起動した場合、APIサーバーを再度オンにする必要がある場合があります
画像が生成されない
Draw Thingsにモデルがロードされているか確認
Draw Thingsアプリで直接画像生成をテスト
アプリのエラーメッセージを確認
ライセンス
MIT
クレジット
元リポジトリ: james-see/mcp-drawthings
Draw Things - Mac/iOS AI画像生成アプリ
Model Context Protocol - MCPプロトコル仕様
Available Tools
4 toolscheck_statusA
Check if the Draw Things API server is running and accessible
Inputs: no named parameters.
generate_imageA
Generate an image from a text prompt using the Draw Things app. The image will be saved to disk and the file path returned.
Inputs: prompt (required), seed, model, steps, +5 more.
get_configA
Get the current Draw Things configuration including the loaded model and settings
Inputs: no named parameters.
transform_imageA
Transform an existing image using a text prompt (img2img). Either image_path or image_base64 must be provided.
Inputs: prompt (required), seed, steps, cfg_scale, +5 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: status checking, configuration retrieval, text-to-image generation, and image-to-image transformation. There is no meaningful overlap between any pair of tools.
All tool names follow a consistent verb_noun pattern: check_status, get_config, generate_image, transform_image. The naming style is uniform and predictable.
Four tools is a well-scoped count for an image generation server. Each tool covers an essential operation without unnecessary redundancy or bloat.
The core workflow of checking server status, viewing configuration, generating images, and transforming images is covered. A possible minor gap is the lack of a tool to update configuration or switch models, but this does not block the primary use case.
Maintenance
Related MCP Connectors
Generate images and video from Claude with one API key.
Make any photo or video you can describe, right from Claude.
Generate and edit images and create short videos inside Claude. Prepaid credits, no subscription.
Generate images from Claude, ChatGPT, Cursor and Codex with 12 top AI image models. Up to 4 images per call, SVG vectorization, background removal, upscaling and image-to-video. Remote MCP with OAuth, no API keys.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables LLMs to generate and transform images locally on Mac using Stable Diffusion through the Draw Things app, supporting text-to-image and image-to-image generation with Apple Silicon acceleration.4259 npm29MIT
- AlicenseNot gradedqualityCmaintenanceImage generation for Claude Code via ChatGPT subscription token. No API key needed.5MIT
- AlicenseAqualityDmaintenanceEnables Claude to generate and edit images using OpenAI's GPT Image models, with automatic model selection and local file saving.31MIT
- AlicenseNot gradedqualityCmaintenanceEnables generating images directly from Claude Code using the ChatGPT subscription's built-in Codex CLI and gpt-image-2, with no API key or separate credits.MIT