Stable Diffusion MCP Server
@boxi-rgb
About Stable Diffusion MCP Server
An MCP server to connect Claude Desktop with local Stable Diffusion WebUI
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"stable-diffusion-mcp": {
"command": "node",
"args": [
"dist/index.js"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Stable Diffusion MCP Server?
An MCP server that connects Claude Desktop to your local Stable Diffusion WebUI installation, enabling AI-assisted image generation directly from your conversations.
How to use Stable Diffusion MCP Server?
Install prerequisites (Node.js v16+, Stable Diffusion WebUI with the --api flag, and Claude Desktop). Clone the repository, run npm install and npm run build, then configure WebUI to launch with --api. Edit Claude Desktop’s claude_desktop_config.json to add the path to the built dist/index.js file, restart Claude Desktop, and verify connection with a prompt like “Can you check if Stable Diffusion is connected properly?”.
Key features of Stable Diffusion MCP Server
- Text-to-Image Generation from text prompts
- Image-to-Image Editing using text guidance
- Model Management: list and switch installed models
- Sampler Control: access all WebUI samplers
- High Performance using local GPU resources
- Privacy-Focused: all processing on your machine
Use cases of Stable Diffusion MCP Server
- Create images from text descriptions inside Claude Desktop
- Edit existing images with natural language prompts
- List and switch between different Stable Diffusion models
- Control advanced image generation parameters (steps, CFG scale, resolution)
FAQ from Stable Diffusion MCP Server
What are the prerequisites to run this server?
Node.js v16.0.0 or higher, a running instance of Stable Diffusion WebUI with the API enabled (--api flag), and Claude Desktop.
How do I verify the connection between Claude Desktop and Stable Diffusion?
Use the check-status tool by asking Claude “Can you check if Stable Diffusion is connected properly?”. Ensure the WebUI is running on the default port (7861) with the --api flag.
Where are generated images saved?
Generated images are saved by default to the ./output directory within the project folder. This location can be changed in src/config.ts.
Is this project officially affiliated with Anthropic or Stable Diffusion?
No. This project is not officially affiliated with Anthropic (creators of Claude) or Stable Diffusion. Use at your own risk.
What license does this project use?
MIT License.
Frequently asked questions
What are the prerequisites to run this server?
Node.js v16.0.0 or higher, a running instance of Stable Diffusion WebUI with the API enabled (`--api` flag), and Claude Desktop.
How do I verify the connection between Claude Desktop and Stable Diffusion?
Use the `check-status` tool by asking Claude “Can you check if Stable Diffusion is connected properly?”. Ensure the WebUI is running on the default port (7861) with the `--api` flag.
Where are generated images saved?
Generated images are saved by default to the `./output` directory within the project folder. This location can be changed in `src/config.ts`.
Is this project officially affiliated with Anthropic or Stable Diffusion?
No. This project is not officially affiliated with Anthropic (creators of Claude) or Stable Diffusion. Use at your own risk.
What license does this project use?
MIT License.
Basic information
More Other MCP servers
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
ICSS
chokcoco不止于 CSS

DeepMark
DeepMark helps teachers deliver rapid, consistent marking with meaningful feedback for every student — in a fraction of the time. What once took a week, now takes one free period.
🪟 Windows-MCP
CursorTouchMCP Server for Computer Use in Windows
Comments