# endiagram

Deterministic structural analysis that gets your AI laser focused. 13 graph-theory tools compute topology, bottlenecks, blast radius, and critical paths from EN syntax — no guessing, no hallucination…

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add dushyant30suthar/endiagram

# Browse available tools
npx -y @smithery/cli@latest tool list dushyant30suthar/endiagram

# Get full schema for a tool
npx -y @smithery/cli@latest tool get dushyant30suthar/endiagram structure

# Call a tool
npx -y @smithery/cli@latest tool call dushyant30suthar/endiagram structure '{}'
```

## Direct MCP Connection

Endpoint: `https://endiagram--dushyant30suthar.run.tools`

## Tools (7)

- `structure` — What is this system? Complete structural overview: shape (topology), stages with roles, bridge nodes, cycles, paralleli…
- `invariant` — What's always true? conservationLaws are weighted entity sums constant across all executions. sustainableCycles are act…
- `live` — Can it deadlock? Can entities overflow? isStructurallyLive means every siphon contains a trap — no structural deadlock …
- `reachable` — Can X reach Y? Follows directed data flow first; falls back to undirected. Path shows each step with actor and location…
- `equivalent` — Are two systems the same? Compare mode (source_a + source_b): shows structural differences, edit distance, and spectral…
- `compose` — How do parts combine? Merge mode (source_a + source_b + links): merge two systems by linking shared entities. Extract m…
- `render` — SVG diagram. Only call when user explicitly asks to visualize.

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get dushyant30suthar/endiagram <tool-name>
```
