- Step 1: Install necessary dependencies including uv and Python packages
- Step 2: Set environment variables such as COMFY_URL, COMFY_WORKFLOW_JSON_FILE, PROMPT_NODE_ID, OUTPUT_NODE_ID, OUTPUT_MODE
- Step 3: Export your Comfy UI workflow JSON file
- Step 4: Run the server with the command 'uvx comfy-mcp-server'
- Step 5: Submit prompts via API to generate images and retrieve results