weavatrix 1.9.0 → 1.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -12
- package/bin/native/darwin-arm64/weavatrix +0 -0
- package/bin/native/darwin-x64/weavatrix +0 -0
- package/bin/native/linux-arm64/weavatrix +0 -0
- package/bin/native/linux-x64/weavatrix +0 -0
- package/bin/native/win32-arm64/weavatrix.exe +0 -0
- package/bin/native/win32-x64/weavatrix.exe +0 -0
- package/package.json +5 -5
- package/server.json +4 -4
- package/skill/SKILL.md +37 -56
- package/skill/references/tool-routing.md +63 -52
- package/skill/references/tools/build_graph.md +26 -0
- package/skill/references/tools/change_impact.md +37 -0
- package/skill/references/tools/context_bundle.md +36 -0
- package/skill/references/tools/coverage_map.md +29 -0
- package/skill/references/tools/cross_repo_git.md +35 -0
- package/skill/references/tools/explain_architecture_violation.md +27 -0
- package/skill/references/tools/find_dead_code.md +33 -0
- package/skill/references/tools/find_duplicates.md +34 -0
- package/skill/references/tools/get_architecture_contract.md +29 -0
- package/skill/references/tools/get_community.md +29 -0
- package/skill/references/tools/get_dependents.md +33 -0
- package/skill/references/tools/get_neighbors.md +33 -0
- package/skill/references/tools/get_node.md +27 -0
- package/skill/references/tools/git_history.md +34 -0
- package/skill/references/tools/god_nodes.md +27 -0
- package/skill/references/tools/graph_diff.md +32 -0
- package/skill/references/tools/graph_stats.md +26 -0
- package/skill/references/tools/hot_path_review.md +34 -0
- package/skill/references/tools/inspect_symbol.md +32 -0
- package/skill/references/tools/list_communities.md +27 -0
- package/skill/references/tools/list_endpoints.md +29 -0
- package/skill/references/tools/list_known_repos.md +25 -0
- package/skill/references/tools/map_stacktrace.md +28 -0
- package/skill/references/tools/memory_context.md +29 -0
- package/skill/references/tools/module_map.md +27 -0
- package/skill/references/tools/open_repo.md +30 -0
- package/skill/references/tools/prepare_change.md +28 -0
- package/skill/references/tools/propose_architecture_exception.md +30 -0
- package/skill/references/tools/query_graph.md +40 -0
- package/skill/references/tools/read_source.md +31 -0
- package/skill/references/tools/rebuild_graph.md +30 -0
- package/skill/references/tools/run_audit.md +33 -0
- package/skill/references/tools/search_code.md +33 -0
- package/skill/references/tools/select_tests.md +34 -0
- package/skill/references/tools/semantic_link.md +31 -0
- package/skill/references/tools/seo_link_suggestions.md +34 -0
- package/skill/references/tools/shortest_path.md +30 -0
- package/skill/references/tools/trace_api_contract.md +54 -0
- package/skill/references/tools/trace_endpoint.md +34 -0
- package/skill/references/tools/vector_search.md +31 -0
- package/skill/references/tools/verified_change.md +45 -0
- package/skill/references/tools/verify_architecture.md +25 -0
- package/skill/references/tools/verify_capabilities.md +28 -0
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# Weavatrix — native MCP repository intelligence
|
|
2
2
|
|
|
3
|
-
[](https://github.com/Weavatrix/weavatrix/actions/workflows/ci.yml)
|
|
4
4
|
[](https://www.npmjs.com/package/weavatrix)
|
|
5
5
|
[](https://crates.io/crates/weavatrix-rust)
|
|
6
|
-
[](https://github.com/
|
|
6
|
+
[](https://github.com/Weavatrix/weavatrix/blob/main/LICENSE)
|
|
7
7
|
|
|
8
8
|
**Give your coding agent repository evidence before it starts guessing.**
|
|
9
9
|
|
|
@@ -129,16 +129,16 @@ coding agent
|
|
|
129
129
|
|
|
|
130
130
|
| MCP over stdio
|
|
131
131
|
v
|
|
132
|
-
weavatrix 1.9.
|
|
132
|
+
weavatrix 1.9.2
|
|
133
133
|
profile catalog · refresh · watcher · MCP framing
|
|
134
134
|
|
|
|
135
135
|
v
|
|
136
|
-
weavatrix-rust 2.7.
|
|
136
|
+
weavatrix-rust 2.7.3
|
|
137
137
|
typed graph · analysis · 43 read-only operations
|
|
138
138
|
```
|
|
139
139
|
|
|
140
140
|
This npm product owns MCP transport and native distribution. The
|
|
141
|
-
[`weavatrix-rust`](https://github.com/
|
|
141
|
+
[`weavatrix-rust`](https://github.com/Weavatrix/weavatrix-rust) crate is
|
|
142
142
|
the reusable protocol-independent engine; it is not an MCP server.
|
|
143
143
|
Its standalone diagnostic therefore reports `weavatrix-rust <engine-version>`,
|
|
144
144
|
while this MCP product reports both its product and embedded-engine identities.
|
|
@@ -166,7 +166,7 @@ thresholds and sitting slightly above the 30.34x recorded for the 1.0.0
|
|
|
166
166
|
baseline.
|
|
167
167
|
|
|
168
168
|
Full evidence and methodology:
|
|
169
|
-
[benchmarks](https://github.com/
|
|
169
|
+
[benchmarks](https://github.com/Weavatrix/weavatrix/blob/main/docs/benchmarks.md).
|
|
170
170
|
|
|
171
171
|
## Safety
|
|
172
172
|
|
|
@@ -181,12 +181,12 @@ Full evidence and methodology:
|
|
|
181
181
|
|
|
182
182
|
## Links
|
|
183
183
|
|
|
184
|
-
- [Source and issues](https://github.com/
|
|
185
|
-
- [Engine API](https://github.com/
|
|
186
|
-
- [Tool reference](https://github.com/
|
|
187
|
-
- [Language support](https://github.com/
|
|
188
|
-
- [Architecture](https://github.com/
|
|
189
|
-
- [Benchmarks](https://github.com/
|
|
184
|
+
- [Source and issues](https://github.com/Weavatrix/weavatrix)
|
|
185
|
+
- [Engine API](https://github.com/Weavatrix/weavatrix-rust)
|
|
186
|
+
- [Tool reference](https://github.com/Weavatrix/weavatrix/blob/main/docs/tool-reference.md)
|
|
187
|
+
- [Language support](https://github.com/Weavatrix/weavatrix/blob/main/docs/language-support.md)
|
|
188
|
+
- [Architecture](https://github.com/Weavatrix/weavatrix/blob/main/docs/architecture.md)
|
|
189
|
+
- [Benchmarks](https://github.com/Weavatrix/weavatrix/blob/main/docs/benchmarks.md)
|
|
190
190
|
|
|
191
191
|
## License
|
|
192
192
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "weavatrix",
|
|
3
|
-
"version": "1.9.
|
|
4
|
-
"weavatrixEngineVersion": "2.7.
|
|
3
|
+
"version": "1.9.2",
|
|
4
|
+
"weavatrixEngineVersion": "2.7.3",
|
|
5
5
|
"description": "Native repository intelligence for coding agents: 43 read-only MCP operations backed by typed evidence graphs, impact, architecture, APIs, Git, search, semantics, and memory.",
|
|
6
6
|
"author": "Sergii Ziborov <sergii.ziborov@gmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"homepage": "https://weavatrix.com",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "git+https://github.com/
|
|
11
|
+
"url": "git+https://github.com/Weavatrix/weavatrix.git"
|
|
12
12
|
},
|
|
13
13
|
"bugs": {
|
|
14
|
-
"url": "https://github.com/
|
|
14
|
+
"url": "https://github.com/Weavatrix/weavatrix/issues"
|
|
15
15
|
},
|
|
16
|
-
"mcpName": "io.github.
|
|
16
|
+
"mcpName": "io.github.Weavatrix/weavatrix",
|
|
17
17
|
"type": "module",
|
|
18
18
|
"engines": {
|
|
19
19
|
"node": ">=18"
|
package/server.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
|
|
3
|
-
"name": "io.github.
|
|
3
|
+
"name": "io.github.Weavatrix/weavatrix",
|
|
4
4
|
"title": "Weavatrix",
|
|
5
5
|
"description": "Native Weavatrix MCP: 43 read-only repository tools across 24 code and configuration surfaces.",
|
|
6
6
|
"repository": {
|
|
7
|
-
"url": "https://github.com/
|
|
7
|
+
"url": "https://github.com/Weavatrix/weavatrix",
|
|
8
8
|
"source": "github"
|
|
9
9
|
},
|
|
10
|
-
"version": "1.9.
|
|
10
|
+
"version": "1.9.2",
|
|
11
11
|
"websiteUrl": "https://weavatrix.com",
|
|
12
12
|
"packages": [
|
|
13
13
|
{
|
|
14
14
|
"registryType": "npm",
|
|
15
15
|
"registryBaseUrl": "https://registry.npmjs.org",
|
|
16
16
|
"identifier": "weavatrix",
|
|
17
|
-
"version": "1.9.
|
|
17
|
+
"version": "1.9.2",
|
|
18
18
|
"runtimeHint": "npx",
|
|
19
19
|
"transport": {
|
|
20
20
|
"type": "stdio"
|
package/skill/SKILL.md
CHANGED
|
@@ -1,66 +1,47 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: weavatrix
|
|
3
|
-
description:
|
|
3
|
+
description: >-
|
|
4
|
+
Use the Weavatrix MCP when a repository task benefits from indexed evidence:
|
|
5
|
+
codebase orientation, symbol/source search, dependency or call graphs, change
|
|
6
|
+
impact, API/event tracing, architecture checks, Git/coverage evidence,
|
|
7
|
+
duplicates, dead-code review, or semantic context. Skip it for trivial
|
|
8
|
+
single-file edits or when a known source file and native tests already answer
|
|
9
|
+
the task.
|
|
4
10
|
---
|
|
5
11
|
|
|
6
12
|
# Weavatrix
|
|
7
13
|
|
|
8
|
-
Use Weavatrix as
|
|
9
|
-
|
|
10
|
-
|
|
14
|
+
Use Weavatrix on demand as a compact evidence layer. It is most useful when a
|
|
15
|
+
question crosses files, symbols, modules, revisions, repositories, or runtime
|
|
16
|
+
contracts. Do not call it merely because the server is available.
|
|
11
17
|
|
|
12
|
-
##
|
|
18
|
+
## Minimal workflow
|
|
13
19
|
|
|
14
20
|
1. Call `graph_stats` to confirm the active repository and graph revision.
|
|
15
21
|
2. Use `module_map` for orientation or `search_code` for a known literal.
|
|
16
|
-
3. Pin
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
-
|
|
38
|
-
|
|
39
|
-
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
Read [references/tool-routing.md](references/tool-routing.md) when selecting
|
|
43
|
-
among similar tools or reviewing transport evidence.
|
|
44
|
-
|
|
45
|
-
## Evidence rules
|
|
46
|
-
|
|
47
|
-
- Treat source spans, extractor identity, graph revision, relation type, and
|
|
48
|
-
confidence as part of every finding.
|
|
49
|
-
- Distinguish static reachability from measured coverage.
|
|
50
|
-
- Confirm dead-code and clone candidates in source and framework registration
|
|
51
|
-
points before editing.
|
|
52
|
-
- Preserve exact transport identity. Do not merge AMQP, RabbitMQ, NATS, Kafka,
|
|
53
|
-
SNS/SQS, JMS, GraphQL, or gRPC evidence merely because operations share
|
|
54
|
-
names such as `publish`, `send`, or `subscribe`.
|
|
55
|
-
- For dynamic JavaScript or Python dispatch, narrow with repository
|
|
56
|
-
configuration, imports, call receivers, literals, runtime evidence, and
|
|
57
|
-
source spans. Never guess a transport or call target.
|
|
58
|
-
- Use `output_format:"text"` for compact interaction and JSON for automation
|
|
59
|
-
or retained evidence.
|
|
60
|
-
|
|
61
|
-
## Safety
|
|
62
|
-
|
|
63
|
-
The core is read-only and offline: it may read local source, Git objects,
|
|
64
|
-
coverage, and derived graph state, but it does not edit source or perform
|
|
65
|
-
network security scans. Use `weavatrix-refactor` only for explicitly approved
|
|
66
|
-
write plans and `weavatrix-online` only for explicitly approved network work.
|
|
22
|
+
3. Pin decisive evidence with `inspect_symbol`, `context_bundle`, or
|
|
23
|
+
`read_source`.
|
|
24
|
+
4. Expand only when needed: `get_dependents` or `change_impact` for risk,
|
|
25
|
+
`trace_endpoint` or `trace_api_contract` for runtime contracts,
|
|
26
|
+
`verify_architecture` for policy, and `run_audit` for a broad health pass.
|
|
27
|
+
5. Use repository-native tests or benchmarks for behavioral proof.
|
|
28
|
+
|
|
29
|
+
Prefer `output_format:"text"` and a small `token_budget` for conversational
|
|
30
|
+
work. Use JSON only for automation or retained evidence. Call `rebuild_graph`
|
|
31
|
+
only when the repository changed before automatic refresh completed or when
|
|
32
|
+
deliberately changing graph mode.
|
|
33
|
+
|
|
34
|
+
Read [references/tool-routing.md](references/tool-routing.md) only when choosing
|
|
35
|
+
among similar tools, tracing cross-repository transports, or interpreting
|
|
36
|
+
audit and coverage results.
|
|
37
|
+
|
|
38
|
+
## Evidence and safety
|
|
39
|
+
|
|
40
|
+
- Keep source spans, graph revision, relation type, extractor, and confidence
|
|
41
|
+
attached to findings.
|
|
42
|
+
- Treat static reachability and audit output as candidates, not runtime proof.
|
|
43
|
+
- Preserve exact transport identity; do not merge Kafka, AMQP/RabbitMQ, NATS,
|
|
44
|
+
SNS/SQS, JMS, GraphQL, and gRPC evidence because operation names match.
|
|
45
|
+
- The core is local, offline, and read-only. Use `weavatrix-refactor` only for
|
|
46
|
+
an explicitly approved write plan and `weavatrix-online` only for explicitly
|
|
47
|
+
approved network work.
|
|
@@ -1,55 +1,66 @@
|
|
|
1
|
-
# Tool routing
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
- `
|
|
10
|
-
|
|
11
|
-
- `
|
|
12
|
-
- `
|
|
13
|
-
- `
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
- `
|
|
23
|
-
- `
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
- `
|
|
28
|
-
- `
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
- `
|
|
33
|
-
- `
|
|
34
|
-
across registered repositories.
|
|
35
|
-
- Select `transport:"event"` for Kafka, RabbitMQ/AMQP, NATS, SNS/SQS, and JMS;
|
|
36
|
-
retain the concrete transport, topic/queue/subject, operation, source span,
|
|
37
|
-
and producer/consumer direction from each evidence row.
|
|
1
|
+
# Tool routing index
|
|
2
|
+
|
|
3
|
+
Open only the card for the method you are about to call. Each card explains
|
|
4
|
+
when to use the method, its exact published inputs, and a minimal compact call.
|
|
5
|
+
The live MCP `tools/list` schema is authoritative.
|
|
6
|
+
|
|
7
|
+
## Graph, source, and orientation
|
|
8
|
+
|
|
9
|
+
- [`graph_stats`](tools/graph_stats.md) — Graph size, evidence and build freshness.
|
|
10
|
+
- [`get_node`](tools/get_node.md) — Resolve one exact graph node.
|
|
11
|
+
- [`get_neighbors`](tools/get_neighbors.md) — Direct typed incoming and outgoing relationships.
|
|
12
|
+
- [`query_graph`](tools/query_graph.md) — Bounded BFS or DFS around exact or textual seeds.
|
|
13
|
+
- [`god_nodes`](tools/god_nodes.md) — Rank high-connectivity production nodes.
|
|
14
|
+
- [`shortest_path`](tools/shortest_path.md) — Shortest typed dependency path between two nodes.
|
|
15
|
+
- [`get_community`](tools/get_community.md) — Return one weak graph component.
|
|
16
|
+
- [`list_communities`](tools/list_communities.md) — List deterministic weak graph components.
|
|
17
|
+
- [`module_map`](tools/module_map.md) — Production folder and dependency map.
|
|
18
|
+
- [`build_graph`](tools/build_graph.md) — Workspace, target and runner topology from manifest evidence.
|
|
19
|
+
- [`search_code`](tools/search_code.md) — Literal or Rust-regex repository search without ripgrep.
|
|
20
|
+
- [`read_source`](tools/read_source.md) — Bounded source context by node or repository path.
|
|
21
|
+
- [`inspect_symbol`](tools/inspect_symbol.md) — Definition, direct relationships and source evidence.
|
|
22
|
+
- [`context_bundle`](tools/context_bundle.md) — Compact graph and source bundle for one symbol.
|
|
23
|
+
- [`map_stacktrace`](tools/map_stacktrace.md) — Map stack-trace text onto repository files and symbols.
|
|
24
|
+
|
|
25
|
+
## Change impact and Git
|
|
26
|
+
|
|
27
|
+
- [`get_dependents`](tools/get_dependents.md) — Bounded transitive reverse blast radius.
|
|
28
|
+
- [`change_impact`](tools/change_impact.md) — Read-only Git change impact with graph evidence.
|
|
29
|
+
- [`select_tests`](tools/select_tests.md) — Select the test suites a change most plausibly needs to run.
|
|
30
|
+
- [`git_history`](tools/git_history.md) — Bounded direct Git history without launching git.
|
|
31
|
+
- [`cross_repo_git`](tools/cross_repo_git.md) — Parallel histories, shared commits, or diffs across local repositories.
|
|
32
|
+
- [`verified_change`](tools/verified_change.md) — Composite pre-commit evidence and conservative verdict.
|
|
33
|
+
- [`graph_diff`](tools/graph_diff.md) — Compare the current snapshot with an immutable Git revision.
|
|
38
34
|
|
|
39
35
|
## Quality and architecture
|
|
40
36
|
|
|
41
|
-
- `
|
|
42
|
-
- `find_dead_code
|
|
43
|
-
- `
|
|
44
|
-
- `coverage_map
|
|
45
|
-
- `hot_path_review
|
|
46
|
-
- `get_architecture_contract
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
37
|
+
- [`find_duplicates`](tools/find_duplicates.md) — Deterministic Type-1/2/3 clone families.
|
|
38
|
+
- [`find_dead_code`](tools/find_dead_code.md) — Conservative unreferenced-symbol review queue.
|
|
39
|
+
- [`run_audit`](tools/run_audit.md) — Repository structure and evidence completeness audit.
|
|
40
|
+
- [`coverage_map`](tools/coverage_map.md) — Measured coverage discovery or explicit static reachability.
|
|
41
|
+
- [`hot_path_review`](tools/hot_path_review.md) — Rank high-connectivity and large source symbols.
|
|
42
|
+
- [`get_architecture_contract`](tools/get_architecture_contract.md) — Read or preview the local target-architecture contract.
|
|
43
|
+
- [`prepare_change`](tools/prepare_change.md) — Select architecture rules for intended changed files.
|
|
44
|
+
- [`verify_architecture`](tools/verify_architecture.md) — Verify graph dependencies against the active contract.
|
|
45
|
+
- [`verify_capabilities`](tools/verify_capabilities.md) — Resolve declared capabilities against exposed endpoint evidence.
|
|
46
|
+
- [`explain_architecture_violation`](tools/explain_architecture_violation.md) — Explain one active contract violation.
|
|
47
|
+
- [`propose_architecture_exception`](tools/propose_architecture_exception.md) — Return a reviewable exception proposal without writing it.
|
|
48
|
+
|
|
49
|
+
## APIs and transports
|
|
50
|
+
|
|
51
|
+
- [`list_endpoints`](tools/list_endpoints.md) — Inventory statically extracted HTTP endpoints.
|
|
52
|
+
- [`trace_endpoint`](tools/trace_endpoint.md) — Resolve an endpoint and its bounded call neighborhood.
|
|
53
|
+
- [`trace_api_contract`](tools/trace_api_contract.md) — Cross-repository HTTP, GraphQL, gRPC and event-transport contract evidence.
|
|
54
|
+
|
|
55
|
+
## Repositories and refresh
|
|
56
|
+
|
|
57
|
+
- [`open_repo`](tools/open_repo.md) — Retarget to another local repository.
|
|
58
|
+
- [`list_known_repos`](tools/list_known_repos.md) — List repositories opened by this server process.
|
|
59
|
+
- [`rebuild_graph`](tools/rebuild_graph.md) — Rebuild the derived in-memory graph without source writes.
|
|
60
|
+
|
|
61
|
+
## Optional supplied-data analysis
|
|
62
|
+
|
|
63
|
+
- [`semantic_link`](tools/semantic_link.md) — Build inferred semantic graph evidence from supplied vectors.
|
|
64
|
+
- [`vector_search`](tools/vector_search.md) — Exact or bounded approximate nearest-neighbor search.
|
|
65
|
+
- [`seo_link_suggestions`](tools/seo_link_suggestions.md) — Directional SEO internal-link evidence from supplied page profiles.
|
|
66
|
+
- [`memory_context`](tools/memory_context.md) — Compile bounded temporal memory context from supplied events.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# `build_graph`
|
|
2
|
+
|
|
3
|
+
Workspace, target and runner topology from manifest evidence.
|
|
4
|
+
|
|
5
|
+
## When to use
|
|
6
|
+
|
|
7
|
+
Inspect workspace members, targets, aggregators, and runner topology extracted from manifests.
|
|
8
|
+
|
|
9
|
+
## Inputs
|
|
10
|
+
|
|
11
|
+
- `max_members` (integer, min 0).
|
|
12
|
+
- `output_format` ("text" | "json" | "structured", default "json") — text returns the concise text block only; json returns structured output and mirrors it into text for clients that read only content; structured drops that mirror, which is the larger copy, and is safe only where the client reads structuredContent.
|
|
13
|
+
|
|
14
|
+
## Minimal call
|
|
15
|
+
|
|
16
|
+
```json
|
|
17
|
+
{
|
|
18
|
+
"name": "build_graph",
|
|
19
|
+
"arguments": {
|
|
20
|
+
"output_format": "text"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Use `output_format:"text"` for compact agent interaction. The live MCP
|
|
26
|
+
`tools/list` schema remains authoritative for this installed version.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# `change_impact`
|
|
2
|
+
|
|
3
|
+
Read-only Git change impact with graph evidence.
|
|
4
|
+
|
|
5
|
+
## When to use
|
|
6
|
+
|
|
7
|
+
Map a working-tree diff, explicit files, or Git revisions onto affected graph nodes.
|
|
8
|
+
|
|
9
|
+
Static impact is not proof that selected behavior executed.
|
|
10
|
+
|
|
11
|
+
## Inputs
|
|
12
|
+
|
|
13
|
+
- `base` (string).
|
|
14
|
+
- `base_ref` (string).
|
|
15
|
+
- `depth` (integer, min 0).
|
|
16
|
+
- `diff` (string).
|
|
17
|
+
- `files` (array<string>).
|
|
18
|
+
- `head_ref` (string).
|
|
19
|
+
- `max_nodes` (integer, min 0).
|
|
20
|
+
- `max_references` (integer, min 0).
|
|
21
|
+
- `output_format` ("text" | "json" | "structured", default "json") — text returns the concise text block only; json returns structured output and mirrors it into text for clients that read only content; structured drops that mirror, which is the larger copy, and is safe only where the client reads structuredContent.
|
|
22
|
+
- `precision` ("graph").
|
|
23
|
+
- `timeout_ms` (integer, min 0).
|
|
24
|
+
|
|
25
|
+
## Minimal call
|
|
26
|
+
|
|
27
|
+
```json
|
|
28
|
+
{
|
|
29
|
+
"name": "change_impact",
|
|
30
|
+
"arguments": {
|
|
31
|
+
"output_format": "text"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Use `output_format:"text"` for compact agent interaction. The live MCP
|
|
37
|
+
`tools/list` schema remains authoritative for this installed version.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# `context_bundle`
|
|
2
|
+
|
|
3
|
+
Compact graph and source bundle for one symbol.
|
|
4
|
+
|
|
5
|
+
## When to use
|
|
6
|
+
|
|
7
|
+
Assemble a ranked, token-bounded workset around one task or target.
|
|
8
|
+
|
|
9
|
+
## Inputs
|
|
10
|
+
|
|
11
|
+
- `label` (string, required).
|
|
12
|
+
- `context_lines` (integer, min 0).
|
|
13
|
+
- `include_classified` (boolean).
|
|
14
|
+
- `max_reexports` (integer, min 0).
|
|
15
|
+
- `max_references` (integer, min 0).
|
|
16
|
+
- `max_related` (integer, min 0).
|
|
17
|
+
- `max_source_files` (integer, min 0).
|
|
18
|
+
- `output_format` ("text" | "json" | "structured", default "json") — text returns the concise text block only; json returns structured output and mirrors it into text for clients that read only content; structured drops that mirror, which is the larger copy, and is safe only where the client reads structuredContent.
|
|
19
|
+
- `precision` (string).
|
|
20
|
+
- `timeout_ms` (integer, min 0).
|
|
21
|
+
- `token_budget` (integer, min 1) — Approximate output ceiling in tokens (serialized bytes / 4); result arrays are trimmed from the tail to fit and the report states what was dropped.
|
|
22
|
+
|
|
23
|
+
## Minimal call
|
|
24
|
+
|
|
25
|
+
```json
|
|
26
|
+
{
|
|
27
|
+
"name": "context_bundle",
|
|
28
|
+
"arguments": {
|
|
29
|
+
"label": "<exact node label>",
|
|
30
|
+
"output_format": "text"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Use `output_format:"text"` for compact agent interaction. The live MCP
|
|
36
|
+
`tools/list` schema remains authoritative for this installed version.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# `coverage_map`
|
|
2
|
+
|
|
3
|
+
Measured coverage discovery or explicit static reachability.
|
|
4
|
+
|
|
5
|
+
## When to use
|
|
6
|
+
|
|
7
|
+
Attach measured coverage reports to graph nodes and keep static reachability separately labeled.
|
|
8
|
+
|
|
9
|
+
A missing measured report must not be described as clean coverage.
|
|
10
|
+
|
|
11
|
+
## Inputs
|
|
12
|
+
|
|
13
|
+
- `output_format` ("text" | "json" | "structured", default "json") — text returns the concise text block only; json returns structured output and mirrors it into text for clients that read only content; structured drops that mirror, which is the larger copy, and is safe only where the client reads structuredContent.
|
|
14
|
+
- `path` (string).
|
|
15
|
+
- `top_n` (integer, min 0).
|
|
16
|
+
|
|
17
|
+
## Minimal call
|
|
18
|
+
|
|
19
|
+
```json
|
|
20
|
+
{
|
|
21
|
+
"name": "coverage_map",
|
|
22
|
+
"arguments": {
|
|
23
|
+
"output_format": "text"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Use `output_format:"text"` for compact agent interaction. The live MCP
|
|
29
|
+
`tools/list` schema remains authoritative for this installed version.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# `cross_repo_git`
|
|
2
|
+
|
|
3
|
+
Parallel histories, shared commits, or diffs across local repositories.
|
|
4
|
+
|
|
5
|
+
## When to use
|
|
6
|
+
|
|
7
|
+
Compare histories, shared commits, or diffs across explicitly supplied local repository roots.
|
|
8
|
+
|
|
9
|
+
## Inputs
|
|
10
|
+
|
|
11
|
+
- `repositories` (array<object>, required).
|
|
12
|
+
- `action` ("histories" | "shared_commits" | "diff").
|
|
13
|
+
- `base_ref` (string).
|
|
14
|
+
- `first_parent` (boolean).
|
|
15
|
+
- `head_ref` (string).
|
|
16
|
+
- `left` (string).
|
|
17
|
+
- `max_commits` (integer, min 0).
|
|
18
|
+
- `output_format` ("text" | "json" | "structured", default "json") — text returns the concise text block only; json returns structured output and mirrors it into text for clients that read only content; structured drops that mirror, which is the larger copy, and is safe only where the client reads structuredContent.
|
|
19
|
+
- `revision` (string).
|
|
20
|
+
- `right` (string).
|
|
21
|
+
|
|
22
|
+
## Minimal call
|
|
23
|
+
|
|
24
|
+
```json
|
|
25
|
+
{
|
|
26
|
+
"name": "cross_repo_git",
|
|
27
|
+
"arguments": {
|
|
28
|
+
"repositories": [{}],
|
|
29
|
+
"output_format": "text"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Use `output_format:"text"` for compact agent interaction. The live MCP
|
|
35
|
+
`tools/list` schema remains authoritative for this installed version.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# `explain_architecture_violation`
|
|
2
|
+
|
|
3
|
+
Explain one active contract violation.
|
|
4
|
+
|
|
5
|
+
## When to use
|
|
6
|
+
|
|
7
|
+
Retrieve bounded evidence for one active architecture-violation fingerprint.
|
|
8
|
+
|
|
9
|
+
## Inputs
|
|
10
|
+
|
|
11
|
+
- `fingerprint` (string, required).
|
|
12
|
+
- `output_format` ("text" | "json" | "structured", default "json") — text returns the concise text block only; json returns structured output and mirrors it into text for clients that read only content; structured drops that mirror, which is the larger copy, and is safe only where the client reads structuredContent.
|
|
13
|
+
|
|
14
|
+
## Minimal call
|
|
15
|
+
|
|
16
|
+
```json
|
|
17
|
+
{
|
|
18
|
+
"name": "explain_architecture_violation",
|
|
19
|
+
"arguments": {
|
|
20
|
+
"fingerprint": "<violation fingerprint>",
|
|
21
|
+
"output_format": "text"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Use `output_format:"text"` for compact agent interaction. The live MCP
|
|
27
|
+
`tools/list` schema remains authoritative for this installed version.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# `find_dead_code`
|
|
2
|
+
|
|
3
|
+
Conservative unreferenced-symbol review queue.
|
|
4
|
+
|
|
5
|
+
## When to use
|
|
6
|
+
|
|
7
|
+
Build a conservative dead-code review queue with entry-point, test, config, dynamic, and external-use evidence.
|
|
8
|
+
|
|
9
|
+
Never delete from this result alone; confirm source and framework registration points.
|
|
10
|
+
|
|
11
|
+
## Inputs
|
|
12
|
+
|
|
13
|
+
- `include_classified` (boolean).
|
|
14
|
+
- `include_tests` (boolean).
|
|
15
|
+
- `kinds` (array<string>).
|
|
16
|
+
- `min_confidence` (integer, min 0, max 100).
|
|
17
|
+
- `output_format` ("text" | "json" | "structured", default "json") — text returns the concise text block only; json returns structured output and mirrors it into text for clients that read only content; structured drops that mirror, which is the larger copy, and is safe only where the client reads structuredContent.
|
|
18
|
+
- `path` (string).
|
|
19
|
+
- `top_n` (integer, min 0).
|
|
20
|
+
|
|
21
|
+
## Minimal call
|
|
22
|
+
|
|
23
|
+
```json
|
|
24
|
+
{
|
|
25
|
+
"name": "find_dead_code",
|
|
26
|
+
"arguments": {
|
|
27
|
+
"output_format": "text"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Use `output_format:"text"` for compact agent interaction. The live MCP
|
|
33
|
+
`tools/list` schema remains authoritative for this installed version.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# `find_duplicates`
|
|
2
|
+
|
|
3
|
+
Deterministic Type-1/2/3 clone families.
|
|
4
|
+
|
|
5
|
+
## When to use
|
|
6
|
+
|
|
7
|
+
Review bounded Type-1, Type-2, or Type-3 clone families before confirming candidates in source.
|
|
8
|
+
|
|
9
|
+
## Inputs
|
|
10
|
+
|
|
11
|
+
- `include_boilerplate` (boolean).
|
|
12
|
+
- `include_classified` (boolean).
|
|
13
|
+
- `include_declarative` (boolean, default true) — High-recall by default; false suppresses data-only catalogs but retains model, schema, and contract clones.
|
|
14
|
+
- `include_strings` (boolean, default false) — Also compare multi-line string payloads - inline SQL, templates, embedded scripts - which the code pass sees as a single token.
|
|
15
|
+
- `include_tests` (boolean).
|
|
16
|
+
- `min_similarity` (number, min 0, max 100) — 0..1 is a fraction; values above 1 through 100 are percentages.
|
|
17
|
+
- `min_tokens` (integer, min 0).
|
|
18
|
+
- `mode` ("strict" | "exact" | "renamed" | "near_miss").
|
|
19
|
+
- `output_format` ("text" | "json" | "structured", default "json") — text returns the concise text block only; json returns structured output and mirrors it into text for clients that read only content; structured drops that mirror, which is the larger copy, and is safe only where the client reads structuredContent.
|
|
20
|
+
- `top_n` (integer, min 0).
|
|
21
|
+
|
|
22
|
+
## Minimal call
|
|
23
|
+
|
|
24
|
+
```json
|
|
25
|
+
{
|
|
26
|
+
"name": "find_duplicates",
|
|
27
|
+
"arguments": {
|
|
28
|
+
"output_format": "text"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Use `output_format:"text"` for compact agent interaction. The live MCP
|
|
34
|
+
`tools/list` schema remains authoritative for this installed version.
|