# endiagram

endiagram — an MCP server that builds a system graph from EN syntax and calculates bottlenecks, critical paths, cycles and reachability. Returns structural facts instead of guesses.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 1870 installs
- Author: dushyant30suthar
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://smithery.ai/server/dushyant30suthar/endiagram
- Updated: 2026-03-19
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/endiagram

## What it does

The server takes a system description in EN syntax and runs 13 graph-theory tools. `structure` identifies topology (Pipeline, Fork-Join, DAG, Star, Cycle), node roles, bridges, cycles and critical path. `invariant` finds conservation laws, sustainable cycles and entity groups that can deplete. `live` checks whether the system can deadlock or overflow. `reachable` builds a path from X to Y with boundary crossings. `equivalent` compares two systems or calculates what changes after an edit. `compose` merges parts or extracts a subsystem.

The server runs over HTTPS and works with Claude Code, Codex, Cursor, GitHub Copilot, Cline, Zed and Gemini CLI. `render` draws SVG or PNG — call it only when the user asks for a diagram; the image goes to the user, not into model context.

You need a system written in EN syntax: entities, actions, actors, locations. Without an EN graph on input, the tools will not run.

## Requirements
- Remote server: `https://endiagram--dushyant30suthar.run.tools`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http endiagram https://endiagram--dushyant30suthar.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add endiagram --url https://endiagram--dushyant30suthar.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "endiagram": {
            "url": "https://endiagram--dushyant30suthar.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "endiagram": {
            "type": "http",
            "url": "https://endiagram--dushyant30suthar.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http endiagram https://endiagram--dushyant30suthar.run.tools
```

## When to use it
- Find bottlenecks and bridges in system architecture
- Check whether a system can deadlock or overflow
- Build a path from one entity to another through the graph
- Compare two system versions and calculate structural differences
- Extract a subsystem as a standalone graph

## Example prompts
- Check whether this system has cycles and bridges
- Build a path from `UserRequest` to `Invoice` and show boundary crossings
- Compare two architecture variants and tell me what changed structurally

## Similar
- [endiagram-mcp](https://affpapa.org/en/nevibecode/mcp/endiagram-mcp.md) — MCP server · ★ 8 repo stars
- [performance-analysis](https://affpapa.org/en/nevibecode/skills/performance-analysis.md) — skill · 1200 installs
- [thinking-theory-of-constraints](https://affpapa.org/en/nevibecode/skills/thinking-theory-of-constraints.md) — skill · 767 installs
- [dependency-mapper](https://affpapa.org/en/nevibecode/commands/dependency-mapper.md) — command · 274 installs
- [multi-agent-performance-profiling](https://affpapa.org/en/nevibecode/skills/multi-agent-performance-profiling.md) — skill · 126 installs
- [trailmark-structural](https://affpapa.org/en/nevibecode/skills/trailmark-structural.md) — skill · 4500 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
