{"type":"mcp_server","name":"mcp-server-stability-ai","description":"This repository hosts an MCP server that integrates MCP clients with Stability AI's Stable Diffusion for image generation, editing, and upscaling, requiring a Stability AI API key. This repository hosts","category":"AI","language":"TypeScript","stars":83,"forks":13,"owner":"tadasant","github_url":"https://github.com/tadasant/mcp-server-stability-ai","homepage":null,"setup":"## Setup\n\nYou're going to need Node working on your machine so you can run `npx` commands in your terminal; if you don't have Node, you can install it from [nodejs.org](https://nodejs.org/en/download).\n\n**Claude Desktop Manual Setup:**\n\n1.  macOS: `~/Library/Application Support/Claude/claude_desktop_config.json`\n2.  Windows: `%APPDATA%\\Claude\\claude_desktop_config.json`\n3.  Modify your `claude_desktop_config.json` file to add the following:\n\n```\n{\n  \"mcpServers\": {\n    \"stability-ai\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"mcp-server-stability-ai\"\n      ],\n      \"env\": {\n        \"STABILITY_AI_API_KEY\": \"sk-1234567890\"\n      }\n    }\n  }\n}\n```\n\n4.  Restart Claude Desktop and you should be ready to go.\n\n**Claude Desktop Installation via Smithery:**\n\n```bash\nnpx @smithery/cli install mcp-server-stability-ai --client claude\n```\n\n**SSE Mode:**\n\n1.  Run the server with: `npx mcp-server-stability-ai -y --sse`\n2.  Set the `GCS_PROJECT_ID`, `GCS_CLIENT_EMAIL`, `GCS_BUCKET_NAME`, and `GCS_PRIVATE_KEY` environment variables.","tools":"## Available Tools\n\n1.  `generate-image` (Generate a high quality image based on a provided prompt & other optional parameters.)\n2.  `generate-image-sd35` (Generate an image using Stable Diffusion 3.5 models with advanced configuration options.)\n3.  `remove-background` (Remove the background from an image.)\n4.  `outpaint` (Extend an image in any direction while maintaining visual consistency.)\n5.  `search-and-replace` (Replace objects or elements in an image by describing what to replace and what to replace it with.)\n6.  `upscale-fast` (Enhance image resolution by 4x.)\n7.  `upscale-creative` (Enhance image resolution up to 4K.)\n8.  `control-sketch` (Translate hand-drawn sketch to production-grade image.)\n9.  `control-style` (Generate an image in the style of a reference image.)\n10. `control-structure` (Generate an image while maintaining the structure of a reference image.)\n11. `replace-background-and-relight` (Replace the background of an image and relight it.)\n12. `search-and-recolor` (Search for and recolor objects in an image.)","faq":null,"created_at":"2024-12-30T19:02:27+00:00","updated_at":"2025-03-27T17:59:51+00:00","source_url":"https://model-context-protocol.com/servers/mcp-server-stability-ai-image-manipulation","related_articles":[]}