Stability AI MCP Server logo

Stability AI MCP Server

by MCP-Mirror (tadasant)

This is an MCP Server integrating MCP Clients with Stability AI's Stable Diffusion image manipulation functionalities. It allows users to generate, edit, upscale, and more using Stability AI's hosted REST API.

View on GitHub

Last updated: N/A

What is Stability AI MCP Server?

This server connects MCP clients to Stability AI's image models, enabling image generation and manipulation through a simple interface. It leverages the Model Context Protocol (MCP) to integrate with applications like Claude Desktop.

How to use Stability AI MCP Server?

To use this server, you need a Stability AI API key and an MCP client like Claude Desktop. Configure the server in your MCP client settings, providing the API key and a directory for storing generated images. Then, you can use natural language commands within your MCP client to generate, edit, and upscale images.

Key features of Stability AI MCP Server

  • Simple UX with sensible defaults

  • Chain manipulations in a single conversation

  • Minimal configuration (API key and storage directory)

  • Integration with best-in-class Stability AI image models

Use cases of Stability AI MCP Server

  • Generating high-quality images from text prompts

  • Removing backgrounds from images

  • Extending images beyond their original borders (outpainting)

  • Replacing objects within images

  • Upscaling images for better resolution

FAQ from Stability AI MCP Server

How do I get a Stability AI API key?

Sign up for an API Key from stability.ai at https://platform.stability.ai/account/keys.

What is the cost of using the Stability AI API?

Stability AI provides 25 free credits. Afterward, pay-as-you-go pricing is $0.01/credit.

Where are the generated images stored?

Generated images are automatically saved to your configured IMAGE_STORAGE_DIRECTORY.

What MCP clients are supported?

This server is built and tested on macOS with Claude Desktop, but it should work with other MCP clients as well.

How do I configure the server with Claude Desktop?

Modify your claude_desktop_config.json file to add the server configuration, including your API key and image storage directory. Restart Claude Desktop after making the changes.