Generate images, upscale photos, remove backgrounds, run inpainting, and create videos from images using Stable Diffusion 3.5 and Stability AI's Stable Image API.
Use with AI AssistantsMCP
Connect Claude, Cursor, or any MCP-compatible client — then call tools directly
① Add This MCP Server
Paste into your AI client config — then all its tools are available instantly.
{
"mcpServers": {
"stability-ai": {
"url": "https://mcp.aerostack.dev/s/aerostack/mcp-stability-ai",
"headers": {
"Authorization": "Bearer YOUR_AEROSTACK_TOKEN"
}
}
}
}Replace YOUR_AEROSTACK_TOKEN with your API token from the dashboard.
② Call a Tool
Ask your AI assistant to call a specific tool, or send raw JSON-RPC:
Natural Language Prompt
“Use the _ping tool to verify stability ai credentials by calling a lightweight read endpoint. used internally by aerostack to validate credentials”
Using a Workspace?
Add this MCP to your Workspace — your team shares one token, secrets are stored securely, and every AI agent in the workspace can call it without per-user setup.
Generate images, upscale photos, remove backgrounds, run inpainting, and create videos from images using Stable Diffusion 3.5 and Stability AI's Stable Image API.
Live endpoint: https://mcp.aerostack.dev/s/aerostack/mcp-stability-ai
This MCP server gives AI agents access to Stability AI via 10 tools. Connect it to any Aerostack workspace and your agents can interact with Stability AI directly.
| Tool | Description |
|---|---|
generate_image | Generate an image from a text prompt using Stable Diffusion 3.5. Returns base64-encoded PNG/JPEG image |
generate_image_core | Fast image generation using Stable Image Core — optimised for speed and cost. Returns base64-encoded image |
generate_image_ultra | Highest quality image generation using Stable Image Ultra — best detail, coherence, and typography. Returns base64-encoded image |
upscale_image | Upscale an image by 4x using Stable Fast 4x Upscaler. Input image must be provided as a base64-encoded string |
remove_background | Remove the background from an image, returning the subject with a transparent background. Input as base64-encoded string |
image_to_video | Generate a short video clip from a static image using Stable Video Diffusion. Returns an async generation ID to poll |
get_video_result | Poll for the result of an image-to-video generation. Returns base64-encoded video when complete |
search_and_replace | Replace a specific object or area in an image using a text search prompt. Returns the edited image as base64 |
inpaint | Erase and regenerate a masked area of an image. Provide the image and a mask as base64-encoded strings |
get_account_balance | Get your Stability AI account credits balance |
| Variable | Required | Description |
|---|---|---|
STABILITY_AI_API_KEY | Yes | Your Stability AI API key — found at platform.stability.ai/account/keys |
Add the following secrets under Project → Secrets:
STABILITY_AI_API_KEYOnce added, every AI agent in your workspace can use Stability AI tools automatically.
curl -X POST https://mcp.aerostack.dev/s/aerostack/mcp-stability-ai \
-H 'Content-Type: application/json' \
-H 'X-Mcp-Secret-STABILITY-AI-API-KEY: your-stability-ai-api-key' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"generate_image","arguments":{}}}'
MIT
Live Endpoint
https://mcp.aerostack.dev/s/aerostack/mcp-stability-ai
Sub-50ms globally · Zero cold start
@aerostack
Pre-built functions for the most common MCP tool patterns. Clone, extend, and deploy.
by @aerostack
Design creation, AI generation, editing, export, assets, brand kits, folders via Canva's official MCP
by @aerostack
Conversations, contacts, tickets, articles via Intercom's official MCP
by @aerostack
Call Claude models directly — run AI conversations, tool-use chains, batch jobs, and model comparisons from any agent.
by @aerostack
Deployments, projects, domains, env vars, logs via Vercel's official MCP
by @aerostack
Read, send, and search Gmail messages — manage labels, drafts, and attachments with full inbox control.
by @aerostack
Manage audiences, campaigns, and subscriber tags in Mailchimp — automate your email marketing with AI.
The Stability Ai MCP gives Claude 10 tools covering images, image cores, image ultras. Claude can read, create, update, and manage Stability Ai data directly from a conversation.
Yes. The Stability Ai MCP has search and list tools for and replaces. Ask Claude to find and replaces by any criteria and it runs the Stability Ai API query for you, returning results directly in the conversation.
Yes. The Stability Ai MCP uses the open Model Context Protocol standard, so it works in Claude, Cursor, Windsurf, and any other MCP-compatible AI tool. All 10 Stability Ai tools are available everywhere you connect it — install once on Aerostack.
The Stability Ai MCP exposes Stability Ai's AI capabilities to Claude — including generation, transcription, or embedding tools. Claude can chain these with other MCPs to build multi-step AI workflows.