a year ago
research-and-dataThis project provides an HTTP server for image generation using Stable Diffusion, along with a Model Context Protocol (MCP) server that enables AI agents to request image generation.
Overview
What is AI Image Generation Server with MCP Interface?
This project provides an HTTP server for image generation using Stable Diffusion, along with a Model Context Protocol (MCP) server that enables AI agents to request image generation.
How to use the project?
To use the project, set up a virtual environment, install the required packages, and run the image generation server and MCP server. You can generate images by sending POST requests to the respective servers.
Key features of the project?
- HTTP server for image generation using Stable Diffusion.
- MCP server for AI agents to request image generation.
- Supports both foreground and daemon modes for the image generation server.
Use cases of the project?
- Generating images based on textual prompts.
- Enabling AI agents to create images through a standardized interface.
- Facilitating research in AI-driven image generation.
FAQ from the project?
- What is the default port for the image generation server?
The default port is 5000.
- How can I change the port for the MCP server?
You can specify a different port by using the command
python mcp_server.py <port_number>.
- Is there a way to get the schema of available tools?
Yes, you can retrieve the schema by sending a GET request to
http://localhost:6000/mcp/schema.