invokeai-mcp
Enables AI coding agents to control a local InvokeAI creative engine, supporting text-to-image, image-to-image, masked inpaint, upscaling, and full queue, model, gallery, board, and workflow management.
README
InvokeAI MCP
A bridge between AI coding agents (Claude, Cursor, opencode) and your local InvokeAI creative engine - text-to-image, image-to-image, masked inpaint, and upscaling on your own GPU, plus full queue, model, gallery, board, and workflow management, with a polished dark webapp.
What this wraps
This repo wraps InvokeAI, the open-source professional Stable Diffusion /
Flux creative engine (Apache-2.0, 27k+ stars). InvokeAI runs as a local web
server (default http://127.0.0.1:9090) and is installed separately through
its launcher - it is never bundled here. See docs/WRAPPEE.md.
Preview
| Dashboard | Generate |
|---|---|
![]() |
![]() |
What You Can Do
How it runs: headless bridge - this MCP server talks to your running InvokeAI instance over its REST API. InvokeAI must be installed and running (launcher install, model download, first run). Nothing is bundled.
| Direction | Artifacts | Notes |
|---|---|---|
| Hands-in | prompts, negative prompts, images (img2img/inpaint), mask images, model sources | Text or uploaded images |
| Hands-out | generated PNGs, image URLs, local file paths, queue state | invokeai_queue result + gallery download |
- Generate SD1.5 / SDXL / Flux / SD3.5 / Qwen Image images on your RTX 4090
- Transform existing images (img2img) and repair regions (masked inpaint)
- 4x RealESRGAN upscaling
- Install models from HuggingFace or Civitai without leaving the chat
- Full queue control: status, cancel, clear, resume, result polling
- Gallery search, boards, star/favorite organization
- Workflow library management (save/load node workflows)
- Dark SOTA webapp: Generate, Gallery, Models, Queue, Boards, Workflows, Inbox, Tools, Skills, Chat (local LLM), Settings, Help, Logs
Quick Install
The fastest path is the MCPB bundle for Claude Desktop:
- Download
invokeai-mcp-0.1.0.mcpbfrom Releases - Open Claude Desktop and drag the file onto the window
- Complete onboarding (install InvokeAI, download a model) - see docs/ONBOARDING.md
Other methods (mcpb CLI, manual config, webapp dev stack) are in INSTALL.md.
Example Prompts
- "Generate a neon cyberpunk city at night, rain, cinematic lighting"
- "Use this image and make it a watercolor painting: [gallery image]"
- "What models do I have installed? Install SDXL base from HuggingFace"
- "Show me my recent images and download the last one to disk"
Documentation
| Doc | Contents |
|---|---|
| Installation | All install methods, prerequisites |
| Onboarding | First-timer InvokeAI setup, model downloads, pitfalls |
| Wrapped app | What InvokeAI is, official links, community |
| Architecture | System architecture, graph builders, ports |
| Configuration | Env vars, config options |
| Tool Reference | All available tools |
| Development | Contributing, local setup |
| Troubleshooting | Common issues |
Requirements
- InvokeAI installed and running (launcher install; models downloaded) - free, Apache-2.0
- GPU with 6-12 GB VRAM recommended (SD1.5: 4 GB, SDXL: 8 GB, Flux: 12 GB+)
- Claude Desktop (or any MCP client) for chat use; a browser for the webapp
- Python 3.12+ and uv for source installs; Node/Bun for the webapp
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
E2B
Using MCP to run code via e2b.

