AI Playground ComfyUI MCP
Allows interaction with AI Playground's ComfyUI backend, enabling image generation using the bundled Draft Image - Fast workflow with configurable prompts, dimensions, steps, and seeds.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@AI Playground ComfyUI MCPCreate a dreamy landscape image, 1024x1024, seed 42"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
AI Playground ComfyUI MCP
This workspace exposes AI Playground's running ComfyUI backend to VS Code and GitHub Copilot through a local Streamable HTTP MCP server.
Prerequisites
Windows 10 or 11 with PowerShell
Python 3.11, available through the Windows
pylauncherIntel AI Playground installed and able to generate images with Draft Image - Fast
The direct Python packages are mcp==2.0.0, mcp-types==2.0.0, and
httpx==0.28.1. Pip installs their transitive dependencies automatically.
Related MCP server: ComfyUI MCP Server
Setup
From the repository root, create the virtual environment expected by the launcher and install the pinned dependencies:
py -3.11 -m venv ____env
.\____env\Scripts\python.exe -m pip install --upgrade pip
.\____env\Scripts\python.exe -m pip install -r requirements.txtTo verify the installation, run the unit tests:
.\____env\Scripts\python.exe -m unittest discover -s tests -vStart
Start AI Playground and generate at least one image with Draft Image - Fast.
From this workspace, run:
.\start-server.ps1Keep that terminal open. Use the endpoint for your client:
VS Code or another Windows client:
http://127.0.0.1:8765/mcpSuperClaw with default WSL NAT:
http://host.docker.internal:8765/mcp
The server binds to
0.0.0.0so SuperClaw's WSL/Docker backend can reach it. Keep Windows Firewall enabled; this MCP server does not provide user authentication.In VS Code's MCP server view, start or refresh aipg-comfyui.
Press Ctrl+C in the server terminal to stop it.
Configuration
The server automatically uses the standard Windows AI Playground locations:
Resources:
%LOCALAPPDATA%\Programs\AI Playground\resourcesGenerated images:
%USERPROFILE%\Documents\AI-Playground\mediaWorkflow:
workflows\draft_image_fast.jsonin this projectMCP listener:
0.0.0.0:8765
Set any of these environment variables before starting the server to override a
default: AIPG_RESOURCES_DIR, AIPG_OUTPUT_DIR, AIPG_WORKFLOW_PATH,
AIPG_MCP_HOST, or AIPG_MCP_PORT.
For example:
$env:AIPG_OUTPUT_DIR = "D:\AI-Playground\media"
.\start-server.ps1Overrides apply to the launched server process and must refer to the matching AI Playground installation and output locations.
Tools
comfyui_status: verifies that AI Playground's ComfyUI backend is reachable.generate_image: generates a PNG with the captured Draft Image - Fast workflow.
generate_image accepts prompt, negative_prompt, width, height, steps, and seed. Width and height must be multiples of 8 between 64 and 2048. Use seed -1 for a random image. Four steps is the tuned default for the bundled LCM workflow.
Generated files remain in %USERPROFILE%\Documents\AI-Playground\media by
default and are also returned as MCP image content.
Troubleshooting
Start AI Playground before calling either tool.
If authentication fails after restarting AI Playground, call the tool again; the bridge discovers the newest rotating token on every invocation.
If port
8765is already in use, stop the other process before running the launcher.The ComfyUI
nodes_glsl.pyOpenGL warning in the supplied log is unrelated to this MCP bridge and does not prevent image generation.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables the generation of images using Together AI's models through an MCP server, supporting customizable parameters such as model selection, image dimensions, and output directory.Last updated17MIT
- AlicenseBqualityDmaintenanceA server that integrates ComfyUI with MCP, allowing users to generate images and download them through natural language interactions.Last updated422Apache 2.0
- Alicense-qualityDmaintenanceEnables Claude to generate images through a local ComfyUI instance using Stable Diffusion and SDXL models via natural language. Users can trigger image generation, list available checkpoint models, and monitor the ComfyUI queue status directly from their MCP client.Last updatedMIT
- Alicense-qualityDmaintenanceEnables AI image generation via multiple providers (Yunwu, Gemini) with customizable aspect ratios, resolutions, and output settings, seamlessly integrating with MCP-compatible clients.Last updated15MIT
Related MCP Connectors
MCP server for Flux AI image generation
MCP server for NanoBanana AI image generation and editing
MCP server for Grok Imagine AI video generation
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/JohnLeFeng/aipg.mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server