Skip to main content
Glama
jonpojonpo

ComfyUI MCP Server

by jonpojonpo
README.md
# comfy-ui-mcp-server MCP server

A server for connnecting to a local comfyUI

## Components

### Resources

The server implements a simple note storage system with:
- Custom note:// URI scheme for accessing individual notes
- Each note resource has a name, description and text/plain mimetype

### Prompts

The server provides a single prompt:
- summarize-notes: Creates summaries of all stored notes
  - Optional "style" argument to control detail level (brief/detailed)
  - Generates prompt combining all current notes with style preference

### Tools

The server implements one tool:
- add-note: Adds a new note to the server
  - Takes "name" and "content" as required string arguments
  - Updates server state and notifies clients of resource changes

## Configuration

[TODO: Add configuration details specific to your implementation]

## Quickstart

### Install

#### Claude Desktop

On MacOS: `~/Library/Application\ Support/Claude/claude_desktop_config.json`
On Windows: `%APPDATA%/Claude/claude_desktop_config.json`

<details>
  <summary>Development/Unpublished Servers Configuration</summary>
  ```
  "mcpServers": {
    "comfy-ui-mcp-server": {
      "command": "uv",
      "args": [
        "--directory",
        "E:\Claude\comfy-ui-mcp-server",
        "run",
        "comfy-ui-mcp-server"
      ]
    }
  }
  ```
</details>

<details>
  <summary>Published Servers Configuration</summary>
  ```
  "mcpServers": {
    "comfy-ui-mcp-server": {
      "command": "uvx",
      "args": [
        "comfy-ui-mcp-server"
      ]
    }
  }
  ```
</details>

## Development

### Building and Publishing

To prepare the package for distribution:

1. Sync dependencies and update lockfile:
```bash
uv sync
```

2. Build package distributions:
```bash
uv build
```

This will create source and wheel distributions in the `dist/` directory.

3. Publish to PyPI:
```bash
uv publish
```

Note: You'll need to set PyPI credentials via environment variables or command flags:
- Token: `--token` or `UV_PUBLISH_TOKEN`
- Or username/password: `--username`/`UV_PUBLISH_USERNAME` and `--password`/`UV_PUBLISH_PASSWORD`

### Debugging

Since MCP servers run over stdio, debugging can be challenging. For the best debugging
experience, we strongly recommend using the [MCP Inspector](https://github.com/modelcontextprotocol/inspector).


You can launch the MCP Inspector via [`npm`](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) with this command:

```bash
npx @modelcontextprotocol/inspector uv --directory E:\Claude\comfy-ui-mcp-server run comfy-ui-mcp-server
```


Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.

TDQS

C2.9/5.0

Scored across 1 tool

Disambiguation5/5

With only one tool, there is no possibility of ambiguity or overlap between tools, as there are no other tools to confuse it with. The tool's purpose is clearly defined and distinct by default.

Naming Consistency5/5

Since there is only one tool, naming consistency is inherently perfect with no deviations or mixed conventions to evaluate. The tool name 'generate_image' follows a clear verb_noun pattern.

Tool Count2/5

A single tool is too few for a server named 'ComfyUI MCP Server', which suggests a broader scope related to image generation workflows. This minimal set likely leaves significant functionality uncovered, making it feel thin and incomplete.

Completeness1/5

The server is severely incomplete for its apparent domain of ComfyUI image generation, as it only offers image generation without any supporting operations like listing workflows, managing nodes, or handling outputs. This single tool creates dead ends and will cause agent failures in complex tasks.

Maintenance

ActivityInactive
ResponsivenessNo issues