ComfyUI MCP for VS Code
io.github.entityadam/comfyui-mcp
Generate and manage ComfyUI media through the Model Context Protocol.
client:VS Code
transport:stdio
runtime:nuget
Install ComfyUI MCP in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "comfymcp--baseurl",
"description": "ComfyMcp__BaseUrl",
"password": true
}
],
"servers": {
"comfyui-mcp": {
"type": "stdio",
"command": "dnx",
"args": [
"ComfyUi.Mcp",
"--yes"
],
"env": {
"ComfyMcp__BaseUrl": "${input:comfymcp--baseurl}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs