We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/MatthewSnow2/comfyui-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
config.py•483 B
"""Configuration for the ComfyUI MCP Server."""
from pydantic_settings import BaseSettings
class ComfyUISettings(BaseSettings):
"""Settings for connecting to and using ComfyUI."""
url: str = "http://127.0.0.1:8188"
default_model: str = "sd_xl_base_1.0.safetensors"
default_steps: int = 20
default_width: int = 1024
default_height: int = 1024
default_cfg_scale: float = 7.0
model_config = {"env_prefix": "COMFYUI_"}
settings = ComfyUISettings()