Skip to content

Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.

docs(mcp): list every opt-in tool and stop calling workspace tools automatic (#2759)

Raghav Chamadiya5b63de7e38a5
diff --git a/docs/agent/MCP_TOOLS.md b/docs/agent/MCP_TOOLS.md
index 698b26f9d..aaee3ae32 100644
--- a/docs/agent/MCP_TOOLS.md
+++ b/docs/agent/MCP_TOOLS.md
@@ -73,7 +73,7 @@ The default surface is deliberately small: fewer, richer tools mean fewer round-
- **Default (single-repo):** 10 tools, exactly the canonical intelligence set.
- **Default (workspace):** those 10 plus `list_repos`, the workspace discovery utility.
-- **Opt-in tools:** `get_dependency_path`, `get_execution_flows`, and `generate_refactoring_code` are eligible in either mode. `get_architecture`, `get_blast_radius`, and `get_conformance` are workspace-only. All six are off by default.
+- **Opt-in tools:** `get_dependency_path`, `get_execution_flows`, `generate_refactoring_code`, and `set_finding_status` are eligible in either mode. `get_architecture`, `get_blast_radius`, and `get_conformance` are workspace-only. All seven are off by default.
**Configure it in `.repowise/config.yaml`** under an `mcp.tools` key. Four shapes are supported:
diff --git a/docs/layers/SECURITY.md b/docs/layers/SECURITY.md
index 0f13feba1..8d73ecdae 100644
--- a/docs/layers/SECURITY.md
+++ b/docs/layers/SECURITY.md
@@ -41,7 +41,7 @@ The findings themselves are read where the stored rows surface, below.
From an agent, through the risk surface:
```python
-get_risk(target="src/api/") # includes a security_signals block for the target
+get_risk(targets=["src/api/"]) # includes a security_signals block for the target
```
Findings also appear on the Security tab of the code-health page, and at
diff --git a/docs/reference/CONFIG.md b/docs/reference/CONFIG.md
index 51076930f..89ff597eb 100644
--- a/docs/reference/CONFIG.md
+++ b/docs/reference/CONFIG.md
@@ -385,10 +385,9 @@ mcp:
`get_symbol`, `search_codebase`, `get_risk`, `get_why` (plus `list_repos` in workspace
mode), small enough that Claude Code can keep every schema always loaded.
- Opt-in tools are `get_dependency_path`, `get_execution_flows`,
- `generate_refactoring_code`, and `get_conformance` (the last only usable in
- workspace mode).
-- Workspace-only tools (`get_blast_radius`, `get_architecture`) are added
- automatically in workspace mode and ignored if named in single-repo mode. See
+ `generate_refactoring_code`, and `set_finding_status`, plus the workspace-only
+ `get_blast_radius`, `get_conformance` and `get_architecture`. None is on by
+ default. The workspace-only three are ignored if named in single-repo mode. See
[MCP_TOOLS.md](../agent/MCP_TOOLS.md#configuring-the-tool-surface).
### The `decisions:` block
diff --git a/website/mcp-server.md b/website/mcp-server.md
index e2635166e..05b04497f 100644
--- a/website/mcp-server.md
+++ b/website/mcp-server.md
@@ -440,19 +440,21 @@ Full parameter tables and return shapes live in the repo guide:
## Supplementary tools
-### `list_repos()` (default)
+### `list_repos()` (default in a workspace)
-Lists the repos this server is serving. In workspace mode returns every
-configured alias; in single-repo mode a single `"default"` alias.
+Lists every configured alias in a workspace. It is not advertised in
+single-repo mode, where the server is bound to the only repository.
-### Workspace-only (default in a workspace)
+### Workspace-only (opt-in)
-When the server starts inside a workspace, two more tools appear automatically:
+These need a workspace and are off by default there too. Enable them the same
+way as the opt-in tools below:
| Tool | Purpose |
|------|---------|
| `get_architecture()` | Whole-system coupling, cyclic core, 1–10 architecture score |
| `get_blast_radius(targets, …)` | Cross-repo downstream impact of changing a service |
+| `get_conformance(…)` | Architecture-rule violations and dependency cycles |
### Opt-in tools (off by default)
@@ -465,7 +467,7 @@ or `repowise mcp --tools "+name"`:
| `get_dependency_path(source, target)` | Shortest graph path between two files/modules |
| `get_execution_flows(…)` | Top entry points and call traces |
| `generate_refactoring_code(…)` | Code for a ranked refactoring plan from `get_health` |
-| `get_conformance(…)` | Architecture-rule violations (useful in workspace mode) |
+| `set_finding_status(…)` | Record a triage status on a refactoring plan |
---