Then point your MCP client at the installed command:
```json
{
"mcpServers": {
"epiphanygraph": {
"command": "epiphanygraph",
"args": ["--mcp"]
}
}
}
```
### MCP Tool Arguments
-`vaultRoot`: path to the Obsidian vault folder
-`entryNote`: optional entry note name or relative note path
-`outputDir`: optional output directory, defaults to `./out`
-`layout`: `sugiyama` or `mds`
-`renderer`: `msagl` or `rich`
-`includeUnreachable`: keep notes that are not reachable from the entry note
### MCP Tool Result
The tool writes `manifest.json`, primary partition SVGs, raw `.msagl.svg` variants, custom `.rich.svg` variants, partition JSON files, `cross-links.json`, and `warnings.txt`, then returns:
- output paths for each partition
- seed note IDs used for traversal
- total note and edge counts
- per-partition node and edge counts
- warnings
- the resolved entry note ID, if one was used
## Graph Families
By default, notes whose basename contains `Control Flow` land in the `control-flow` partition, and everything else lands in `source-tree`.
You can override that with frontmatter on a note:
```yaml
---
epiphany-graph-family: control-flow
---
```
or:
```yaml
---
epiphany-graph-families:
- source-tree
- control-flow
---
```
Supported keys:
-`epiphany-graph-family`
-`epiphany-graph-families`
-`graph-family`
-`graph-families`
If your chosen `entryNote` is itself one of the explicit family roots, the generator also seeds traversal from any sibling family roots it can find.
-`Source Tree Map` will also pull in `Control Flow Map`
-`Control Flow Map` will also pull in `Source Tree Map`
That keeps structurally separated note graphs from vanishing just because they no longer link to each other directly.
## Layout Modes
-`sugiyama`: layered, better for hierarchy-heavy note trees
-`mds`: force-ish spread, better when the graph is cross-linked chaos
`mds` is the closest MSAGL-native approximation to the Obsidian or Kamada-Kawai vibe. It is not a named Kamada-Kawai mode.
## Renderer Modes
-`msagl`: the stock MSAGL SVG, useful as the plain baseline
-`rich`: a custom SVG renderer that consumes MSAGL graph geometry and semantic metadata, then draws something with more visual hierarchy and less beige despair