---
title: "MCP tools, resources, and prompts"
description: "12 entries."
canonical: "https://everdoc.dev/nightly/reference/mcp"
channel: "nightly"
---

# MCP tools, resources, and prompts

> OmarAlex24/everdoc · channel `nightly` · main @ [`a961efe7d646`](https://github.com/OmarAlex24/everdoc/tree/a961efe7d646cb70cbfae04e1cfde3a31fbe086c) · 2026-12-05 · generated by Everdoc from source (no LLM).

12 entries.

<a id="mcp-tool-diff_channels"></a>

## `diff_channels`

Structural diff between two channels (default: the first configured compare pair, else stable → nightly): headline, counts, entity changes with severity (breaking/notable/patch), field-level changes, commit/PR evidence, and subsystem release notes.

- Kind: mcp-tool
- Workspace: [@everdoc/mcp](../architecture/everdoc-mcp.md)
- Source: [packages/mcp/src/server.ts:175](https://github.com/OmarAlex24/everdoc/blob/a961efe7d646cb70cbfae04e1cfde3a31fbe086c/packages/mcp/src/server.ts#L175)
- Handlers: 0 · Callers: 0
- Input: `{ base: string; head: string; kind: ["cli-command", "env-var", "rpc", "http-route", "ipc-channel", "mcp-tool", "mcp-resource", "mcp-prompt", "event", "schema", "config-file", "route", "external-process"]; severity: ["breaking", "notable", "patch"]; subsystem: string; limit: number }`

<a id="mcp-tool-find_usages"></a>

## `find_usages`

Where an entity is used: call sites with permalinks, protocol edges that carry it, flow steps, entities whose shapes reference it, and documentation mentions/links.

- Kind: mcp-tool
- Workspace: [@everdoc/mcp](../architecture/everdoc-mcp.md)
- Source: [packages/mcp/src/server.ts:143](https://github.com/OmarAlex24/everdoc/blob/a961efe7d646cb70cbfae04e1cfde3a31fbe086c/packages/mcp/src/server.ts#L143)
- Handlers: 0 · Callers: 0
- Input: `{ id: string; channel: string }`

<a id="mcp-tool-get_architecture"></a>

## `get_architecture`

Nodes, edges (imports and RPC/HTTP/IPC/MCP/spawn protocol edges), package families, and hidden-edge notes of a view (`system`, `workspaces`, `packages`), or the module view and wiring of one workspace.

- Kind: mcp-tool
- Workspace: [@everdoc/mcp](../architecture/everdoc-mcp.md)
- Source: [packages/mcp/src/server.ts:231](https://github.com/OmarAlex24/everdoc/blob/a961efe7d646cb70cbfae04e1cfde3a31fbe086c/packages/mcp/src/server.ts#L231)
- Handlers: 0 · Callers: 0
- Input: `{ view: string; workspace: string; channel: string }`

<a id="mcp-tool-get_doc"></a>

## `get_doc`

Metadata of a hand-written documentation page from the repository: title, headings, links (with broken flags), entity mentions, drift findings, and status (fresh/stale/broken).

- Kind: mcp-tool
- Workspace: [@everdoc/mcp](../architecture/everdoc-mcp.md)
- Source: [packages/mcp/src/server.ts:249](https://github.com/OmarAlex24/everdoc/blob/a961efe7d646cb70cbfae04e1cfde3a31fbe086c/packages/mcp/src/server.ts#L249)
- Handlers: 0 · Callers: 0
- Input: `{ path: string; channel: string }`

<a id="mcp-tool-get_entity"></a>

## `get_entity`

Full definition of a reference entity (CLI command, env var, RPC, HTTP route, IPC channel, MCP tool, route, schema, ...): TypeShape, rendered signature, handler/caller wiring, protocol edges, usages, flows, source permalink, and docs page.

- Kind: mcp-tool
- Workspace: [@everdoc/mcp](../architecture/everdoc-mcp.md)
- Source: [packages/mcp/src/server.ts:90](https://github.com/OmarAlex24/everdoc/blob/a961efe7d646cb70cbfae04e1cfde3a31fbe086c/packages/mcp/src/server.ts#L90)
- Handlers: 0 · Callers: 0
- Input: `{ id: string; channel: string }`

<a id="mcp-tool-get_flow"></a>

## `get_flow`

Step-by-step execution flow (e.g. caller → RPC → handler → downstream modules) with node labels, entities, source permalinks, and completeness (`partial` when a hop is dynamic).

- Kind: mcp-tool
- Workspace: [@everdoc/mcp](../architecture/everdoc-mcp.md)
- Source: [packages/mcp/src/server.ts:159](https://github.com/OmarAlex24/everdoc/blob/a961efe7d646cb70cbfae04e1cfde3a31fbe086c/packages/mcp/src/server.ts#L159)
- Handlers: 0 · Callers: 0
- Input: `{ id: string; channel: string }`

<a id="mcp-tool-get_hotspots"></a>

## `get_hotspots`

Deterministic insights from git history and the IR: files, workspaces, and entities ranked by fix and revert commits (with fix-of-fix follow-ups and sample commits/PRs), co-change pairs (temporal coupling, flagged `hiddenCoupling` when no static import connects them), and orphan contracts (RPC/HTTP/IPC/MCP with no handler or no callers).

- Kind: mcp-tool
- Workspace: [@everdoc/mcp](../architecture/everdoc-mcp.md)
- Source: [packages/mcp/src/server.ts:263](https://github.com/OmarAlex24/everdoc/blob/a961efe7d646cb70cbfae04e1cfde3a31fbe086c/packages/mcp/src/server.ts#L263)
- Handlers: 0 · Callers: 0
- Input: `{ channel: string; scope: ["files", "workspaces", "entities", "co-changes", "orphans"]; limit: number }`

<a id="mcp-tool-get_impact"></a>

## `get_impact`

What a change to a workspace or entity can reach: direct dependents (importers, callers, handlers, protocol edges), transitive dependents, affected apps and runtimes, and the contracts (RPC/HTTP/IPC/MCP/CLI) in its surface.

- Kind: mcp-tool
- Workspace: [@everdoc/mcp](../architecture/everdoc-mcp.md)
- Source: [packages/mcp/src/server.ts:307](https://github.com/OmarAlex24/everdoc/blob/a961efe7d646cb70cbfae04e1cfde3a31fbe086c/packages/mcp/src/server.ts#L307)
- Handlers: 0 · Callers: 0
- Input: `{ id: string; channel: string }`

<a id="mcp-tool-get_rules"></a>

## `get_rules`

Evidence-backed engineering rules synthesized from the code and its history (boundaries, contract wiring, co-change, hotspots, docs hygiene), each with its ratio, confidence, and citations. `format` returns them as JSON or as a ready-to-use AGENTS.md section, SKILL.md, or Cursor .mdc rule.

- Kind: mcp-tool
- Workspace: [@everdoc/mcp](../architecture/everdoc-mcp.md)
- Source: [packages/mcp/src/server.ts:281](https://github.com/OmarAlex24/everdoc/blob/a961efe7d646cb70cbfae04e1cfde3a31fbe086c/packages/mcp/src/server.ts#L281)
- Handlers: 0 · Callers: 0
- Input: `{ channel: string; category: ["boundary", "contract", "co-change", "hotspot", "docs-hygiene"]; format: "json" | "agents-md" | "skill-md" | "cursor-mdc" }`

<a id="mcp-tool-list_entities"></a>

## `list_entities`

Paginated list of reference entities of one kind, optionally restricted to a workspace.

- Kind: mcp-tool
- Workspace: [@everdoc/mcp](../architecture/everdoc-mcp.md)
- Source: [packages/mcp/src/server.ts:106](https://github.com/OmarAlex24/everdoc/blob/a961efe7d646cb70cbfae04e1cfde3a31fbe086c/packages/mcp/src/server.ts#L106)
- Handlers: 0 · Callers: 0
- Input: `{ kind: ["cli-command", "env-var", "rpc", "http-route", "ipc-channel", "mcp-tool", "mcp-resource", "mcp-prompt", "event", "schema", "config-file", "route", "external-process"]; channel: string; workspace: string; limit: number; offset: number }`

<a id="mcp-tool-search"></a>

## `search`

Scored search across reference entities, workspaces, flows, and ingested docs. Returns IDs to pass to the other tools, plus docs:// resources and source permalinks.

- Kind: mcp-tool
- Workspace: [@everdoc/mcp](../architecture/everdoc-mcp.md)
- Source: [packages/mcp/src/server.ts:71](https://github.com/OmarAlex24/everdoc/blob/a961efe7d646cb70cbfae04e1cfde3a31fbe086c/packages/mcp/src/server.ts#L71)
- Handlers: 0 · Callers: 0
- Input: `{ query: string; channel: string; kind: string; limit: number }`

<a id="mcp-resource-docs-channel-path"></a>

## `docs`

Every Everdoc page as Markdown: index, architecture, flows, references, changes, coverage, and compare pages.

- Kind: mcp-resource
- Workspace: [@everdoc/mcp](../architecture/everdoc-mcp.md)
- Source: [packages/mcp/src/server.ts:321](https://github.com/OmarAlex24/everdoc/blob/a961efe7d646cb70cbfae04e1cfde3a31fbe086c/packages/mcp/src/server.ts#L321)
- Handlers: 0 · Callers: 0
- URI: `docs://{channel}/{+path}` · text/markdown
