@cynosure-mcp/stability-ai
v1.0.2
Published
MCP server for Stability AI image generation, editing, and upscaling
Downloads
350
Maintainers
Readme
@cynosure-mcp/stability-ai
MCP server for Stability AI image generation, editing, and upscaling.
Installation
npx @cynosure-mcp/stability-aiOr install globally:
npm install -g @cynosure-mcp/stability-ai
stability-aiTools
| Tool | Description |
| -------------------- | ------------------------------------------------------------------ |
| generate_image | Text-to-image generation (ultra, core, sd3.5 models) |
| image_to_image | Generate from a prompt using an existing image as a starting point |
| inpaint | Fill or replace masked areas of an image |
| outpaint | Extend an image in any direction |
| erase | Remove objects from an image using a mask |
| search_and_replace | Auto-find and replace objects in an image |
| search_and_recolor | Change the color of a specific object |
| remove_background | Remove the background from an image |
| control_sketch | Refine a rough sketch into a full image |
| control_structure | Generate while maintaining the structure of a reference image |
| upscale_image | 4× fast upscale (~1 second) |
Configuration
| Variable | Required | Description |
| ---------------------- | -------- | -------------------------------------------------------------------------------- |
| STABILITY_API_KEY | Yes | API key from platform.stability.ai |
| STABILITY_OUTPUT_DIR | No | Directory for generated images (default: OS temp directory) |
MCP Config
{
"mcpServers": {
"stability-ai": {
"command": "npx",
"args": ["@cynosure-mcp/stability-ai"],
"env": {
"STABILITY_API_KEY": "your-api-key"
}
}
}
}License
MIT
