You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See [`docs/CHANGE_RISK.md`](./CHANGE_RISK.md) for the scoring model.
@@ -844,7 +846,7 @@ If `PATH` is omitted, `repowise mcp` first walks upward from the current directo
844
846
|------|-------------|
845
847
|`--transport`|`stdio` (default, for editors), `streamable-http` (for HTTP clients), or `sse` (legacy) |
846
848
|`--port`| Port for HTTP/SSE transports (default: 7338) |
847
-
|`--tools`| Override which tools are exposed. A comma-separated list is an explicit allowlist; prefix names with `+`/`-` to adjust the default set (e.g. `+get_dependency_path,-get_dead_code`); `lean` selects the five-tool agent-lean profile. Overrides the `mcp.tools` config block. |
849
+
|`--tools`| Override which tools are exposed. A comma-separated list is an explicit allowlist; prefix names with `+`/`-` to adjust the default set (e.g. `+get_dependency_path,-get_dead_code`); `lean` selects the six-tool agent-lean profile. Overrides the `mcp.tools` config block. |
848
850
|`--all`| Expose every available tool, including opt-in and workspace tools |
Copy file name to clipboardExpand all lines: docs/MCP_TOOLS.md
+40-4Lines changed: 40 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
repowise exposes a curated set of tools via the [Model Context Protocol](https://modelcontextprotocol.io) (MCP). These tools give AI coding assistants (Claude Code, Codex, Cursor, Cline, Windsurf) structured access to your codebase intelligence: dependency graph, git history, documentation, and architectural decisions.
4
4
5
-
16 tools are registered in total. A single-repo server advertises 10 by default: the nine flagship tools below plus `list_repos`. Workspace mode adds 2 more automatically (`get_architecture`, `get_blast_radius`), for 12. Four further tools are off by default everywhere and must be opted in. The surface is configurable; see [Configuring the tool surface](#configuring-the-tool-surface).
5
+
17 tools are registered in total. A single-repo server advertises 11 by default: the ten flagship tools below plus `list_repos`. Workspace mode adds 2 more automatically (`get_architecture`, `get_blast_radius`), for 13. Four further tools are off by default everywhere and must be opted in. The surface is configurable; see [Configuring the tool surface](#configuring-the-tool-surface).
|`get_health`| Code-health marker scores | Before refactoring, find the worst files |
@@ -38,8 +39,8 @@ Also always on by default: `list_repos` (repo aliases). See [Supplementary tools
38
39
39
40
The default surface is deliberately small: fewer, richer tools mean fewer round-trips and less schema overhead per task. What a server advertises is resolved from three things: each tool's `default`/`requires_workspace` metadata, whether the server is in workspace mode, and an optional override.
40
41
41
-
-**Default (single-repo):**10 tools, the nine flagship tools plus `list_repos`.
42
-
-**Default (workspace):** those 10 plus `get_architecture` and `get_blast_radius`, added automatically when the server starts inside a workspace. They are never advertised outside one.
42
+
-**Default (single-repo):**11 tools, the ten flagship tools plus `list_repos`.
43
+
-**Default (workspace):** those 11 plus `get_architecture` and `get_blast_radius`, added automatically when the server starts inside a workspace. They are never advertised outside one.
43
44
-**Opt-in tools:**`get_dependency_path`, `get_execution_flows`, `generate_refactoring_code`, and `get_conformance` are registered but off by default. Turn them on per repo; `get_conformance` only does useful work in workspace mode (name it there).
44
45
45
46
**Configure it in `.repowise/config.yaml`** under an `mcp.tools` key. Four shapes are supported:
Architectural decision intelligence. Falls back to git archaeology when no decision records exist for a path, and further to a rationale comment mined live from the source when neither decisions nor git history explain the "why".
Copy file name to clipboardExpand all lines: docs/USER_GUIDE.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -377,7 +377,7 @@ This is how you connect repowise to Claude Code, Cursor, Cline, Windsurf, and ot
377
377
|`--transport`| Protocol: `stdio` (default, for editors), `streamable-http` (for HTTP clients), or `sse` (legacy) |
378
378
|`--port`| Port for HTTP/SSE transports (default: 7338) |
379
379
380
-
**MCP tools exposed (9 tools):**
380
+
**Default single-repo MCP tools (11 tools):**
381
381
382
382
| Tool | What it does |
383
383
|------|-------------|
@@ -387,9 +387,11 @@ This is how you connect repowise to Claude Code, Cursor, Cline, Windsurf, and ot
387
387
|`get_symbol`| Raw source bytes for one indexed symbol with exact line bounds (cheaper/safer than `Read` + offset math) |
388
388
|`search_codebase`| Semantic search over wiki with git freshness boosting. In workspace mode, searches across all repos. |
389
389
|`get_risk`| Modification risk assessment, hotspot score, dependents, co-change partners, bus factor, blast radius, test gaps, 0–10 risk score |
390
+
|`get_change_risk`| Live commit or range risk score, ranked against recent commits in the same repository |
390
391
|`get_why`| Why code is structured the way it is, architectural decisions, git archaeology. Three modes: NL search, path-based, health dashboard. |
391
392
|`get_dead_code`| Tiered dead code report grouped by confidence with cleanup impact estimates |
392
393
|`get_health`| 25-marker code-health scores, dashboard KPIs + lowest-scoring files, or per-file findings; `include` for refactoring suggestions and trend alerts |
394
+
|`list_repos`| Repository aliases served by this MCP server |
393
395
394
396
In workspace mode, tools are workspace-aware, pass `repo="backend"` to target a specific repo or `repo="all"` to query across the entire workspace. The default repo is used when `repo` is omitted.
0 commit comments