Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
FOOOCUS_API_URLNoThe URL of the Fooocus API endpointhttp://103.125.100.56:8888/v1/generation/text-to-image

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/raihan0824/mcp-fooocus-api'

If you have feedback or need assistance with the MCP directory API, please join our Discord server