Stability AIBLOCK
MCP Server integrating MCP Clients with Stability AI-powered image manipulation functionalities: generate, edit, upscale, and more.
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
Stability AI MCP Server
Haven't heard about MCP yet? The easiest way to keep up-to-date is to read our weekly newsletter at PulseMCP.
This is an MCP (Model Context Protocol) Server integrating MCP Clients with Stability AI's latest & greatest Stable Diffusion image manipulation functionalities: generate, edit, upscale, and more.
Stability AI is a leading AI model provider and this server connects directly to their hosted REST API. You will need to sign up for an API Key from stability.ai to get started.
They provide 25 credits for free. Afterward, pay-as-you-go pricing is very reasonable: $0.01/credit, where 3 credits gets you an image generation on their Core model. So 100 high quality images = just $3.
This project is NOT officially affiliated with Stability AI.
Demo video, and a teaser here:
600be5bf47adOBSERVED · 2026-10-07Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.
claude mcp add mcp-server-stability-ai --env GCS_PRIVATE_KEY=${GCS_PRIVATE_KEY} --env STABILITY_AI_API_KEY=${STABILITY_AI_API_KEY} -- npx -y [email protected]{
"mcpServers": {
"mcp-server-stability-ai": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"GCS_PRIVATE_KEY": "${GCS_PRIVATE_KEY}",
"STABILITY_AI_API_KEY": "${STABILITY_AI_API_KEY}"
}
}
}
}Exposed tools (20)
18 read · 1 write · 1 destructive. Blast radius: 1 tool can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.
| Tool | Risk | Description |
|---|---|---|
edit-image | write | Make a minor modification to an existing image |
generate-image-from-sketch | read | Generate an image from a hand-drawn sketch |
generate-image-from-text | read | Generate a new image with configurable description, style, and aspect ratio |
generate-image-in-the-style-of | read | Generate an image in the style of an existing image |
generate-image-using-structure | read | Generate an image while maintaining the structure (i.e. background, context) of a reference image |
stability-ai-0-list-resources | read | Use this to check for files before deciding you don |
stability-ai-control-sketch | read | Translate hand-drawn sketches to production-grade images. |
stability-ai-control-structure | read | Generate a new image while maintaining the structure of a reference image |
stability-ai-control-style | read | Generate a new image in the style of a reference image |
stability-ai-generate-image-core | read | Generate an image using Stability AI |
stability-ai-generate-image-sd35 | read | Generate an image using Stable Diffusion 3.5 models with advanced configuration options. |
stability-ai-generate-image-ultra | read | Generate an image using Stability AI |
stability-ai-outpaint | read | Extends an image in any direction while maintaining visual consistency. |
stability-ai-remove-background | destructive | Remove the background from an image. |
stability-ai-replace-background-and-relight | read | Replace background and adjust lighting of an image |
stability-ai-search-and-recolor | read | Search and recolor object(s) in an image |
stability-ai-search-and-replace | read | Replace objects or elements in an image by describing what to replace and what to replace it with. |
stability-ai-upscale-creative | read | Enhance image resolution up to 4K using AI with creative interpretation. This tool works best on highly degraded images and performs heavy reimagining. In general, don |
stability-ai-upscale-fast | read | Cheap and fast tool to enhance image resolution by 4x. |
upscale-image | read | Upscale the quality of an image |
Trust audit
BLOCKgrade D · trust 69/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | FAIL |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | WARN |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- declared (1 observation(s))
- Network
- declared (5 observation(s))
- Shell
- none-observed
- Dependencies
- not all pinned
- Secrets in source
- found
Findings (7)
// GCS_PRIVATE_KEY=-----BEGIN PRIVATE KEY-----\nYourKeyHere\n-----END PRIVATE KEY-----\n
| `GCS_PRIVATE_KEY` | Google Cloud Service Account private key for storing images | N (Y if using SSE) | N/A
stability-ai-remove-background
@google-cloud/storage, @modelcontextprotocol/sdk, axios, body-parser, dotenv, express, open, zod
images/mcp-server-stability-ai-logo.png
images/teaser.gif
Then proceed to your preferred method of configuring the server below. If this is your first time using MCP Servers, you'll want to make sure you have the [Claude Desktop application](https://claude.a
Gates applied: critical_finding, no_behavioural_pass.
600be5bf47adfull audit observations/trust-audit/mcp-server/tadasant__stability-ai.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-07 | 600be5bf47ad | BLOCK | D | 69 | first audit |
Questions
What is the Stability AI MCP server?
MCP Server integrating MCP Clients with Stability AI-powered image manipulation functionalities: generate, edit, upscale, and more.
What tools does Stability AI expose?
20 in total: 18 read-only, 1 that write, and 1 that can delete or overwrite (stability-ai-remove-background). Every one is listed on this page with its risk.
Is Stability AI safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (69/100) and found 1 critical or high issue in the source. Each one is listed on this page with the file and line it is on. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Stability AI need?
It reads GCS_PRIVATE_KEY and STABILITY_AI_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Stability AI run?
It speaks sse and stdio, so it runs as a local process your client starts. It is published on npm as mcp-server-stability-ai at 0.3.0.
How current is this page?
The grade is for one exact copy of the source (600be5bf47ad), read on 2026-10-07. The repository is watched and re-audited when it changes.