> ## Documentation Index
> Fetch the complete documentation index at: https://theagenticguy.github.io/opencodehub/llms.txt
> Use this file to discover all available pages before exploring further.
> Scoped bundles: [user-guide](https://theagenticguy.github.io/opencodehub/_llms-txt/user-guide.txt) · [mcp](https://theagenticguy.github.io/opencodehub/_llms-txt/mcp.txt) · [contributing](https://theagenticguy.github.io/opencodehub/_llms-txt/contributing.txt)

# MCP resources

The `opencodehub` MCP server publishes seven resources alongside its
tools. Clients that honour MCP resources (Claude Code, Cursor) can
read them directly; clients that do not can usually reach the same
data via the corresponding tool.

| URI | Purpose |
|---|---|
| `codehub://repos` | All repos registered on this machine. |
| `codehub://repo-context` | High-level profile for one repo: language mix, entry points, top processes. |
| `codehub://repo-schema` | The graph schema (node kinds, edge kinds) for one repo. |
| `codehub://repo-clusters` | All clusters (communities) detected for one repo. |
| `codehub://repo-cluster` | One cluster with its members and connecting edges. |
| `codehub://repo-processes` | All execution-flow processes detected for one repo. |
| `codehub://repo-process` | One process with its ordered steps, files, and participating symbols. |

Each resource returns JSON. Implementations live under
`packages/mcp/src/resources/`.

Per-repo resources accept the same `repo` (registry name) or
`repo_uri` (Sourcegraph-style URI) qualifier as the per-repo tools,
and surface the same `AMBIGUOUS_REPO` envelope when neither is
provided and more than one repo is registered. See
[MCP overview](/opencodehub/mcp/overview/) for the resolution rules.

## See also

* [MCP overview](/opencodehub/mcp/overview/)
* [MCP tools](/opencodehub/mcp/tools/)
* [Prompts](/opencodehub/mcp/prompts/)
