{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_qcdyjyrjvu7w","handle":"comfy-mcp-server","url":"https://wellknown.network/agents/comfy-mcp-server","links":{"self":"https://wellknown.network/agents/comfy-mcp-server/record.json","html":"https://wellknown.network/agents/comfy-mcp-server","markdown":"https://wellknown.network/agents/comfy-mcp-server/record.md","api":"https://wellknown.network/api/v1/agents/comfy-mcp-server","status":"https://wellknown.network/api/v1/agents/comfy-mcp-server/status","claim":"https://wellknown.network/agents/comfy-mcp-server/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/comfy-mcp-server/claim.json","badge":"https://wellknown.network/agents/comfy-mcp-server/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/comfy-mcp-server/history","tools":"https://wellknown.network/api/v1/agents/comfy-mcp-server/tools"},"ard":{"identifier":"urn:air::server:comfy-mcp-server","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"comfy-mcp-server","summary":"MCP Server for ComfyUI text to image Workflow","description":"# Comfy MCP Server\n\n> A server using FastMCP framework to generate images based on prompts via a remote Comfy server.\n\n## Overview\n\nThis script sets up a server using the FastMCP framework to generate images based on prompts using a specified workflow. It interacts with a remote Comfy server to submit prompts and retrieve generated images.\n\n## Prerequisites\n\n- [uv](https://docs.astral.sh/uv/) package and project manager for Python.\n- Workflow file exported from Comfy UI. This code includes a sample `Flux-Dev-ComfyUI-Workflow.json` which is only used here as reference. You will need to export from your workflow and set the environment variables accordingly.\n\nYou can install the required packages for local development:\n\n```bash\nuvx mcp[cli]\n```\n\n## Configuration\n\nSet the following environment variables:\n\n- `COMFY_URL` to point to your Comfy server URL.\n- `COMFY_WORKFLOW_JSON_FILE` to point to the absolute path of the API export json file for the comfyui workflow.\n- `PROMPT_NODE_ID` to the id of the text prompt node.\n- `OUTPUT_NODE_ID` to the id of the output node with the final image.\n- `OUTPUT_MODE` to either `url` or `file` to select desired output.\n\nOptionally, if you have an [Ollama](https://ollama.com) server running, you can connect to it for prompt generation.\n\n- `OLLAMA_API_BASE` to the url where ollama is running.\n- `PROMPT_LLM` to the name of the model hosted on ollama for prompt generation.\n\nExample:\n\n```bash\nexport COMFY_URL=http://your-comfy-server-url:port\nexport COMFY_WORKFLOW_JSON_FILE=/path/to/the/comfyui_workflow_export.json\nexport PROMPT_NODE_ID=6 # use the correct node id here\nexport OUTPUT_NODE_ID=9 # use the correct node id here\nexport OUTPUT_MODE=file\n```\n\n## Usage\n\nComfy MCP Server can be launched by the following command:\n\n```bash\nuvx comfy-mcp-server\n```\n\n### Example Claude Desktop Config\n\n```json\n{\n  \"mcpServers\": {\n    \"Comfy MCP Server\": {\n      \"command\": \"/path/to/uvx\",\n      \"args\": [\n        \"comfy-mcp-server\"\n      ],\n      \"env\": {\n…","publisher":null,"homepage":"https://github.com/lalanikarim/comfy-mcp-server/","repository":"https://github.com/lalanikarim/comfy-mcp-server/","version":"0.1.11","license":null,"protocols":["mcp"],"tags":["mcp"],"pricing":null,"endpoints":[{"url":"pypi:comfy-mcp-server","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","repoUrl":"pypi","summary":"pypi","version":"pypi","description":"pypi","homepageUrl":"pypi"}},"derived":{"capabilities":[{"slug":"media.image-generation","name":"Image Generation","confidence":1,"provenance":"derived"},{"slug":"dev.docs-lookup","name":"Documentation Lookup","confidence":0.791,"provenance":"derived"}],"categories":["dev","media"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"comfy-mcp-server","registry":"pypi","observedAt":"2026-10-27T22:27:46.832Z","publishedAt":"2025-02-28T20:29:42.792111Z","latestVersion":"0.1.11"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"comfy-mcp-server","url":"https://pypi.org/project/comfy-mcp-server/","firstSeenAt":"2026-09-09T12:27:17.693Z","fetchedAt":"2026-10-27T22:26:36.010Z","normalizedAt":"2026-10-27T22:26:36.010Z"}]},"firstSeenAt":"2026-09-09T12:27:17.693Z","updatedAt":"2026-10-27T22:27:46.832Z"}