Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| FOOOCUS_API_URL | No | The URL of the Fooocus API endpoint | http://103.125.100.56:8888/v1/generation/text-to-image |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| generate_image | Generate an image using Fooocus Stable Diffusion API.
Args:
prompt: Text description of the image to generate
performance: Performance setting (Speed, Quality, Extreme Speed)
custom_styles: Comma-separated list of custom styles (optional, will auto-select if not provided)
aspect_ratio: Image aspect ratio (default: 1024*1024)
Returns:
Dictionary containing generation result with image URLs |
| list_available_styles | List all available styles for image generation.
Returns:
Dictionary containing all available styles organized by category |
| get_server_info | Get information about the Fooocus MCP server configuration.
Returns:
Dictionary containing server configuration information |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |