MCP.so
Sign In
Servers

StableMCP

@mkm29

Simple MCP Server to generate iamges using Stable Diffusion

Overview

What is StableMCP?

StableMCP is a Model Context Protocol (MCP) server for generating images using Stable Diffusion. It implements JSON‑RPC 2.0 and is intended for developers who want to integrate AI image generation into LLM‑based tools or services.

How to use StableMCP?

Clone the repository, run make config, make build, and make run (or ./bin/stablemcp server --config configs/.stablemcp.yaml). Generate an image by sending a POST request to http://localhost:8080/v1/generate with a JSON body containing the prompt, width, height, and optional parameters. Use the /mcp endpoint for MCP initialize requests.

Key features of StableMCP

  • JSON‑RPC 2.0 MCP implementation
  • MCP‑compliant API for image generation
  • Integration with Stable Diffusion models
  • Support for image parameters (size,

Tags

More from Other