weavatrix 1.11.1 → 1.15.0

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 CHANGED
@@ -10,9 +10,14 @@
10
10
  **Give your coding agent repository evidence before it starts guessing.**
11
11
 
12
12
  Weavatrix is the native MCP product for repository intelligence. It gives
13
- Codex, Claude Code, and other coding agents 47 read-only operations over one
13
+ Codex, Claude Code, and other coding agents 64 read-only operations over one
14
14
  revision-bound evidence graph: impact, architecture, APIs, Git history,
15
- duplicates, dead code, search, semantic links, and temporal memory.
15
+ duplicates, dead code, search, semantic links, temporal memory, exported
16
+ n8n workflows, Dify YAML apps, Agent packages, Mermaid flowcharts, and
17
+ Web3 ABI/consumer impact. Those parsers are domains on Weavatrix
18
+ Core, not new MCP products. See
19
+ [n8n](https://weavatrix.com/n8n), [Dify](https://weavatrix.com/dify), and
20
+ [parsers](https://weavatrix.com/parsers).
16
21
 
17
22
  It does not answer from a larger grep or an invented confidence score. Every
18
23
  bounded result can carry the repository revision, file, line, extractor,
@@ -42,21 +47,45 @@ weavatrix mcp .
42
47
  ```toml
43
48
  [mcp_servers.weavatrix]
44
49
  command = "npx"
45
- args = ["-y", "weavatrix", "mcp", "."]
50
+ args = ["-y", "weavatrix@1.15.0", "mcp", "."]
46
51
  ```
47
52
 
53
+ Pass an absolute repository path when the Codex process cwd is not the project
54
+ you intend to analyze.
55
+
48
56
  ### Claude Code
49
57
 
50
58
  ```sh
51
- claude mcp add weavatrix -- npx -y weavatrix mcp .
59
+ claude mcp add weavatrix -- npx -y weavatrix@1.15.0 mcp .
60
+ ```
61
+
62
+ ### Cursor
63
+
64
+ Prefer the plugin, or pin the open workspace explicitly and do not also enable
65
+ the plugin for the same server name:
66
+
67
+ ```json
68
+ {
69
+ "mcpServers": {
70
+ "weavatrix": {
71
+ "command": "npx",
72
+ "args": ["-y", "weavatrix@1.15.0", "mcp", "${workspaceFolder}"]
73
+ }
74
+ }
75
+ }
52
76
  ```
53
77
 
54
78
  Profiles expose bounded views of the same engine:
55
79
 
56
80
  ```sh
57
- npx -y weavatrix mcp . --profile=all
58
- npx -y weavatrix mcp . --profile=code
59
- npx -y weavatrix mcp . --profile=seo
81
+ npx -y weavatrix@1.15.0 mcp . --profile=all
82
+ npx -y weavatrix@1.15.0 mcp . --profile=code
83
+ npx -y weavatrix@1.15.0 mcp . --profile=seo
84
+ npx -y weavatrix@1.15.0 mcp . --profile=n8n
85
+ npx -y weavatrix@1.15.0 mcp . --profile=dify
86
+ npx -y weavatrix@1.15.0 mcp . --profile=agent
87
+ npx -y weavatrix@1.15.0 mcp . --profile=diagram
88
+ npx -y weavatrix@1.15.0 mcp . --profile=web3
60
89
  ```
61
90
 
62
91
  The package contains native binaries for Windows x64/arm64, macOS x64/arm64,
@@ -94,6 +123,8 @@ Find every GraphQL, gRPC, Kafka, RabbitMQ, NATS, JMS, SQS, or SNS
94
123
  contract affected by this branch.
95
124
  Build the smallest source bundle needed to edit this symbol safely.
96
125
  Show me this file as it was two commits ago, without a checkout.
126
+ If I change the email recipient in this exported n8n workflow, who reads it?
127
+ If I change start_node.query in this Dify YAML, which nodes consume it?
97
128
  ```
98
129
 
99
130
  ## See it answer
@@ -124,10 +155,12 @@ answered:
124
155
  }
125
156
  ```
126
157
 
127
- Every answer carries that `repository_context` block. Add
128
- `"expected_repository": "weavatrix"` to any call and a server that was
129
- retargeted elsewhere fails loudly instead of answering about the wrong
130
- repository.
158
+ Every answer carries that `repository_context` block. From **1.11.1**, each MCP
159
+ process pins its launch root for the session: `open_repo` to another path is
160
+ refused unless you started with `--allow-retarget`, and omitted
161
+ `expected_repository` is filled from that pin. Still pass
162
+ `"expected_repository": "weavatrix"` when you already know the folder name — a
163
+ mismatched server fails loudly instead of answering about the wrong repository.
131
164
 
132
165
  **Blast radius before you edit:**
133
166
 
@@ -169,7 +202,7 @@ Three commits before `ec8bf30` this package was 1.9.2; the agent reads that
169
202
  follow-up to a diff without touching the worktree. Binary blobs fail closed
170
203
  instead of being decoded into garbage.
171
204
 
172
- ## The 47 read-only operations
205
+ ## The 64 read-only operations
173
206
 
174
207
  | Workflow | Operations |
175
208
  | --- | --- |
@@ -181,6 +214,11 @@ instead of being decoded into garbage.
181
214
  | Architecture | `get_architecture_contract`, `verify_architecture`, `verify_capabilities`, `explain_architecture_violation`, `propose_architecture_exception` |
182
215
  | Git and repositories | `git_history`, `git_read_blob`, `cross_repo_git`, `open_repo`, `list_known_repos`, `rebuild_graph` |
183
216
  | Native extensions | `vector_search`, `semantic_link`, `seo_link_suggestions`, `memory_context` |
217
+ | n8n workflows | `n8n_inventory`, `n8n_trace`, `n8n_context` |
218
+ | Dify apps | `dify_inventory`, `dify_trace`, `dify_context` |
219
+ | Agent packages | `agent_inventory`, `agent_trace`, `agent_context`, `agent_change_impact` |
220
+ | Mermaid diagrams | `diagram_inventory`, `diagram_trace`, `diagram_context` |
221
+ | Web3 integration | `web3_inventory`, `web3_trace`, `web3_impact`, `web3_context` |
184
222
 
185
223
  Every operation is read-only with respect to the analyzed repository.
186
224
  Pagination and explicit limits bound large neighborhoods, histories, searches,
@@ -191,13 +229,40 @@ and contract inventories.
191
229
  | Group | Surfaces |
192
230
  | --- | --- |
193
231
  | Code | Rust; JavaScript/JSX; TypeScript/TSX; Python; Go; Java; C#; C; C++; SQL; Bash/Zsh; Swift; Solidity |
194
- | Contracts and configuration | GraphQL; Protobuf/gRPC; JSON/JSONC; YAML/Kubernetes; Terraform/HCL; XML |
232
+ | Contracts and configuration | GraphQL; Protobuf/gRPC; JSON/JSONC (n8n after parse); YAML/Kubernetes (Dify after parse); Terraform/HCL; XML |
195
233
  | Documents and UI | HTML/Vue/Svelte; CSS/SCSS/Sass/Less; Markdown/MDX; reStructuredText; AsciiDoc |
196
234
 
197
235
  Cross-surface analysis connects HTTP, GraphQL, gRPC, Kafka, RabbitMQ/AMQP,
198
236
  JMS, NATS, SQS, and SNS evidence. Dynamic dispatch that cannot be proved stays
199
237
  unresolved; static reachability is never presented as measured coverage.
200
238
 
239
+ ## Workflow export domains
240
+
241
+ n8n and Dify are after-parse domains on the same graph, not new MCP servers.
242
+
243
+ ```text
244
+ export in git → existing JSON/YAML parse → typed domain → inventory / trace / context
245
+ ```
246
+
247
+ | Domain | Tools | Status |
248
+ | --- | --- | --- |
249
+ | [n8n](https://weavatrix.com/n8n) | `n8n_inventory`, `n8n_trace`, `n8n_context` | Product 1.12.0 |
250
+ | [Dify](https://weavatrix.com/dify) | `dify_inventory`, `dify_trace`, `dify_context` | Product 1.13.0 |
251
+ | Agent packages | `agent_inventory`, `agent_trace`, `agent_context`, `agent_change_impact` | Product 1.14.0 |
252
+ | Mermaid diagrams | `diagram_inventory`, `diagram_trace`, `diagram_context` | Product 1.14.0 |
253
+ | Web3 integration | `web3_inventory`, `web3_trace`, `web3_impact`, `web3_context` | Product 1.15.0 |
254
+
255
+ | Need | Use |
256
+ | --- | --- |
257
+ | Change impact on an export in git | Weavatrix `n8n_*` / `dify_*` |
258
+ | Live n8n instance | [n8n-mcp](https://github.com/czlonkowski/n8n-mcp) |
259
+ | Live Dify console | [dify-mcp](https://github.com/alexjiaguo/dify-mcp) |
260
+ | CI lint/diff of Dify YAML | [difyctl](https://github.com/JSLEEKR/difyctl) |
261
+
262
+ No invented n8n/Dify millisecond benches. Those tools share the measured
263
+ installed MCP boundary (2026-08-03): cold **32.21x** (157.34 ms vs 5,068.22 ms)
264
+ and warm **36.85x** (7.94 ms vs 292.55 ms) versus `weavatrix-js` 0.3.15.
265
+
201
266
  ## Product and engine are separate
202
267
 
203
268
  ```text
@@ -205,12 +270,12 @@ coding agent
205
270
  |
206
271
  | MCP over stdio
207
272
  v
208
- weavatrix 1.11.1
273
+ weavatrix 1.15.0
209
274
  profile catalog · refresh · watcher · MCP framing
210
275
  |
211
276
  v
212
- weavatrix-rust 2.10.0
213
- typed graph · analysis · 47 read-only operations
277
+ weavatrix-rust 2.15.1
278
+ typed graph · analysis · 64 product operations including n8n, Dify, agent packages, Mermaid, and Web3
214
279
  ```
215
280
 
216
281
  This npm product owns MCP transport and native distribution. The
@@ -276,6 +341,7 @@ Full evidence and methodology:
276
341
  - [Tool reference](https://github.com/Weavatrix/weavatrix/blob/main/docs/tool-reference.md)
277
342
  - [Language support](https://github.com/Weavatrix/weavatrix/blob/main/docs/language-support.md)
278
343
  - [Architecture](https://github.com/Weavatrix/weavatrix/blob/main/docs/architecture.md)
344
+ - [n8n](https://weavatrix.com/n8n) · [Dify](https://weavatrix.com/dify) · [parsers](https://weavatrix.com/parsers)
279
345
  - [Benchmarks](https://github.com/Weavatrix/weavatrix/blob/main/docs/benchmarks.md)
280
346
 
281
347
  ## License
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "weavatrix",
3
- "version": "1.11.1",
4
- "weavatrixEngineVersion": "2.10.0",
5
- "description": "Native repository intelligence for coding agents: 47 read-only MCP operations backed by typed evidence graphs, impact, architecture, APIs, Git, search, semantics, and memory.",
3
+ "version": "1.15.0",
4
+ "weavatrixEngineVersion": "2.15.1",
5
+ "description": "Native repository intelligence for coding agents: 64 read-only MCP operations backed by typed evidence graphs, impact, architecture, APIs, Git, search, semantics, memory, n8n workflows, Dify apps, agent packages, Mermaid diagrams, and Web3 ABIs.",
6
6
  "author": "Sergii Ziborov <sergii.ziborov@gmail.com>",
7
7
  "license": "MIT",
8
8
  "homepage": "https://weavatrix.com",
package/server.json CHANGED
@@ -2,19 +2,19 @@
2
2
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3
3
  "name": "io.github.Weavatrix/weavatrix",
4
4
  "title": "Weavatrix",
5
- "description": "Native Weavatrix MCP: 47 read-only repository tools across 24 code and configuration surfaces.",
5
+ "description": "Native Weavatrix MCP: 64 read-only tools for code, n8n, Dify, agents, Mermaid, and Web3.",
6
6
  "repository": {
7
7
  "url": "https://github.com/Weavatrix/weavatrix",
8
8
  "source": "github"
9
9
  },
10
- "version": "1.11.1",
10
+ "version": "1.15.0",
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.11.1",
17
+ "version": "1.15.0",
18
18
  "runtimeHint": "npx",
19
19
  "transport": {
20
20
  "type": "stdio"
package/skill/SKILL.md CHANGED
@@ -4,7 +4,10 @@ description: >-
4
4
  Use the Weavatrix MCP when a repository task benefits from indexed evidence:
5
5
  codebase orientation, symbol/source search, dependency or call graphs, change
6
6
  impact, API/event tracing, architecture checks, Git/coverage evidence,
7
- duplicates, dead-code review, or semantic context. Skip it for trivial
7
+ duplicates, dead-code review, semantic context, exported n8n
8
+ workflows, exported Dify YAML, Agent Plugins/Skills/MCP
9
+ catalogs, Mermaid flowcharts, or Web3 ABI and client
10
+ bindings. Skip it for trivial
8
11
  single-file edits or when a known source file and native tests already answer
9
12
  the task.
10
13
  ---
@@ -25,7 +28,16 @@ contracts. Do not call it merely because the server is available.
25
28
  `find_references`, `context_bundle`, or `read_source`.
26
29
  4. Expand only when needed: `get_dependents` or `change_impact` for risk,
27
30
  `trace_endpoint` or `trace_api_contract` for runtime contracts,
28
- `verify_architecture` for policy, and `run_audit` for a broad health pass.
31
+ `verify_architecture` for policy, `run_audit` for a broad health pass,
32
+ `n8n_inventory` / `n8n_trace` / `n8n_context` for exported n8n
33
+ workflows, and `dify_inventory` / `dify_trace` / `dify_context` for
34
+ exported Dify YAML, and `agent_inventory` / `agent_trace` /
35
+ `agent_context` / `agent_change_impact` for Agent Plugins, Skills, and
36
+ supplied MCP catalogs, and `diagram_inventory` / `diagram_trace` /
37
+ `diagram_context` for Mermaid flowcharts, and `web3_inventory` /
38
+ `web3_trace` / `web3_impact` / `web3_context` for supplied ABI,
39
+ artifacts, and static viem/wagmi consumers. Those paths are static graph
40
+ evidence, not a live n8n, Dify, MCP, Mermaid, or blockchain runtime.
29
41
  5. Use repository-native tests or benchmarks for behavioral proof.
30
42
 
31
43
  Do not call `open_repo` "just in case". Cross-repository tools take explicit
@@ -72,3 +72,49 @@ cannot silently switch to another repository. Pass an explicit
72
72
  - [`vector_search`](tools/vector_search.md) — Exact or bounded approximate nearest-neighbor search.
73
73
  - [`seo_link_suggestions`](tools/seo_link_suggestions.md) — Directional SEO internal-link evidence from supplied page profiles.
74
74
  - [`memory_context`](tools/memory_context.md) — Compile bounded temporal memory context from supplied events.
75
+
76
+ ## n8n workflows
77
+
78
+ - [`n8n_inventory`](tools/n8n_inventory.md) — List exported workflows, nodes, entries, and coverage.
79
+ - [`n8n_trace`](tools/n8n_trace.md) — Bounded flow, output-dependency, error, and subworkflow walk.
80
+ - [`n8n_context`](tools/n8n_context.md) — Bounded context for one node or workflow, without secrets.
81
+
82
+ ## Dify apps
83
+
84
+ Local YAML export only. Not the Dify console API. Shipped in product 1.13.0
85
+ on engine `weavatrix-rust` 2.13.2. See [weavatrix.com/dify](https://weavatrix.com/dify).
86
+
87
+ - [`dify_inventory`](tools/dify_inventory.md) — List exported apps, nodes, modes, and coverage.
88
+ - [`dify_trace`](tools/dify_trace.md) — Bounded control and data walk, including iteration scope.
89
+ - [`dify_context`](tools/dify_context.md) — Bounded context for one node or app, without secrets.
90
+
91
+ ## Agent packages
92
+
93
+ Local plugin, skill, catalog, and observation files only. Not a plugin
94
+ runtime, gateway, or policy authority. Requires engine `weavatrix-rust`
95
+ 2.14.3.
96
+
97
+ - [`agent_inventory`](tools/agent_inventory.md) — List plugins, skills, MCP bindings, catalog tools, and supplied observations.
98
+ - [`agent_trace`](tools/agent_trace.md) — Declared origin, profile, transport, and package bindings for one identity.
99
+ - [`agent_context`](tools/agent_context.md) — Bounded context; `allowed-tools` is not a grant.
100
+ - [`agent_change_impact`](tools/agent_change_impact.md) — Compare two catalog snapshots; a known inject transform can keep one exposure compatible.
101
+
102
+ ## Mermaid diagrams
103
+
104
+ Local flowchart files and Markdown fences only. Not a renderer. Requires
105
+ engine `weavatrix-rust` 2.14.3.
106
+
107
+ - [`diagram_inventory`](tools/diagram_inventory.md) — List diagrams, native elements, and explicit sidecar bindings.
108
+ - [`diagram_trace`](tools/diagram_trace.md) — Walk `declared_architecture` arrows only.
109
+ - [`diagram_context`](tools/diagram_context.md) — Fragments and binding status; display names are not IDs.
110
+
111
+ ## Web3 integration
112
+
113
+ Local ABI JSON, supplied solc/Foundry artifacts, and static viem/wagmi
114
+ sources only. Not a compiler, RPC client, or wallet. Requires engine
115
+ `weavatrix-rust` 2.15.1.
116
+
117
+ - [`web3_inventory`](tools/web3_inventory.md) — List ABIs, artifacts, and static consumers.
118
+ - [`web3_trace`](tools/web3_trace.md) — Walk proven ABI, artifact, and consumer bindings.
119
+ - [`web3_impact`](tools/web3_impact.md) — Interface deltas and consumer-specific effects, including silent event misdecode.
120
+ - [`web3_context`](tools/web3_context.md) — Bounded fragments plus explicit deployment gaps.
@@ -0,0 +1,33 @@
1
+ # `agent_change_impact`
2
+
3
+ Compare two supplied MCP catalog snapshots and report contract changes,
4
+ adapter compensation, and declared consumers.
5
+
6
+ ## When to use
7
+
8
+ After adding `before` and `after` catalog JSON files to the repository. A
9
+ known inject transform can keep one exposure compatible while the upstream
10
+ required list grew. Incomplete pagination is not a deletion.
11
+
12
+ ## Inputs
13
+
14
+ - `before` (string, required) — repository-relative previous catalog snapshot.
15
+ - `after` (string, required) — repository-relative current catalog snapshot.
16
+ - `max_results` (number, optional) — change page size, 1–500, default 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
+
19
+ ## Minimal call
20
+
21
+ ```json
22
+ {
23
+ "name": "agent_change_impact",
24
+ "arguments": {
25
+ "before": "catalogs/before.json",
26
+ "after": "catalogs/after.json",
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,32 @@
1
+ # `agent_context`
2
+
3
+ Bounded context for one agent package node: declared bindings, source
4
+ fragments, and explicit authorization gaps.
5
+
6
+ ## When to use
7
+
8
+ Inspect one plugin, skill, or server after `agent_inventory` or `agent_trace`.
9
+ `allowed-tools` stays a declaration. Commands are not executed.
10
+
11
+ ## Inputs
12
+
13
+ - `label` (string, required) — exact node id or an unambiguous label.
14
+ - `task` (string, optional) — what the caller intends to change or inspect.
15
+ - `max_related` (number, optional) — relation page size, 1–200, default 24.
16
+ - `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.
17
+
18
+ ## Minimal call
19
+
20
+ ```json
21
+ {
22
+ "name": "agent_context",
23
+ "arguments": {
24
+ "label": "lookup",
25
+ "task": "inspect",
26
+ "output_format": "text"
27
+ }
28
+ }
29
+ ```
30
+
31
+ Use `output_format:"text"` for compact agent interaction. The live MCP
32
+ `tools/list` schema remains authoritative for this installed version.
@@ -0,0 +1,30 @@
1
+ # `agent_inventory`
2
+
3
+ List Agent Plugins, Skills, MCP server bindings, catalog exposures, and
4
+ supplied observations from local package files.
5
+
6
+ ## When to use
7
+
8
+ Orient on plugin packages, `SKILL.md`, `mcp.json`, or a supplied catalog
9
+ snapshot already in the repository. This does not launch servers or grant
10
+ permissions.
11
+
12
+ ## Inputs
13
+
14
+ - `path` (string, optional) — repository-relative package file or path fragment.
15
+ - `max_results` (number, optional) — inventory page size, 1–500, default 200.
16
+ - `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.
17
+
18
+ ## Minimal call
19
+
20
+ ```json
21
+ {
22
+ "name": "agent_inventory",
23
+ "arguments": {
24
+ "output_format": "text"
25
+ }
26
+ }
27
+ ```
28
+
29
+ Use `output_format:"text"` for compact agent interaction. The live MCP
30
+ `tools/list` schema remains authoritative for this installed version.
@@ -0,0 +1,30 @@
1
+ # `agent_trace`
2
+
3
+ Show the declared origin, profile, transport, and package bindings for one
4
+ plugin, skill, MCP server, catalog tool, or observation.
5
+
6
+ ## When to use
7
+
8
+ After `agent_inventory`, when a visible name is not enough: the same `search`
9
+ label can belong to two packages. Use an exact id if the label is ambiguous.
10
+
11
+ ## Inputs
12
+
13
+ - `label` (string, required) — exact node id or an unambiguous label.
14
+ - `max_related` (number, optional) — relation page size, 1–200, default 48.
15
+ - `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.
16
+
17
+ ## Minimal call
18
+
19
+ ```json
20
+ {
21
+ "name": "agent_trace",
22
+ "arguments": {
23
+ "label": "search-a",
24
+ "output_format": "text"
25
+ }
26
+ }
27
+ ```
28
+
29
+ Use `output_format:"text"` for compact agent interaction. The live MCP
30
+ `tools/list` schema remains authoritative for this installed version.
@@ -0,0 +1,32 @@
1
+ # `diagram_context`
2
+
3
+ Bounded Mermaid context: source fragments, explicit bindings, and gaps.
4
+
5
+ ## When to use
6
+
7
+ Inspect one diagram or element after inventory. Exact implementation
8
+ bindings come from `.weavatrix/diagram-links.json`, never from a shared
9
+ display name.
10
+
11
+ ## Inputs
12
+
13
+ - `label` (string, required) — graph id or unique native element label.
14
+ - `task` (string, optional) — what the caller intends to change or inspect.
15
+ - `max_related` (number, optional) — related row cap, 1–200, default 24.
16
+ - `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.
17
+
18
+ ## Minimal call
19
+
20
+ ```json
21
+ {
22
+ "name": "diagram_context",
23
+ "arguments": {
24
+ "label": "ORDERS",
25
+ "task": "change createOrder",
26
+ "output_format": "text"
27
+ }
28
+ }
29
+ ```
30
+
31
+ Use `output_format:"text"` for compact agent interaction. The live MCP
32
+ `tools/list` schema remains authoritative for this installed version.
@@ -0,0 +1,29 @@
1
+ # `diagram_inventory`
2
+
3
+ List Mermaid flowchart diagrams, native elements, and explicit sidecar
4
+ bindings.
5
+
6
+ ## When to use
7
+
8
+ Orient on `.mmd`, `.mermaid`, or fenced Mermaid already in the repository.
9
+ Drawn arrows are declared architecture, not production calls.
10
+
11
+ ## Inputs
12
+
13
+ - `path` (string, optional) — repository-relative diagram file or path fragment.
14
+ - `max_results` (number, optional) — inventory page size, 1–500, default 200.
15
+ - `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.
16
+
17
+ ## Minimal call
18
+
19
+ ```json
20
+ {
21
+ "name": "diagram_inventory",
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,31 @@
1
+ # `diagram_trace`
2
+
3
+ Walk `declared_architecture` arrows inside one Mermaid diagram.
4
+
5
+ ## When to use
6
+
7
+ Follow drawn paths from a native element id. This does not treat the arrow
8
+ as a production `calls` edge.
9
+
10
+ ## Inputs
11
+
12
+ - `label` (string, required) — graph id or unique native element label.
13
+ - `depth` (number, optional) — walk depth, 1–32, default 8.
14
+ - `max_nodes` (number, optional) — page size, 1–500, default 100.
15
+ - `cursor` (string, optional) — opaque page token from a previous page.
16
+ - `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.
17
+
18
+ ## Minimal call
19
+
20
+ ```json
21
+ {
22
+ "name": "diagram_trace",
23
+ "arguments": {
24
+ "label": "ORDERS",
25
+ "output_format": "text"
26
+ }
27
+ }
28
+ ```
29
+
30
+ Use `output_format:"text"` for compact agent interaction. The live MCP
31
+ `tools/list` schema remains authoritative for this installed version.
@@ -0,0 +1,32 @@
1
+ # `dify_context`
2
+
3
+ Bounded Dify context for one node: proven consumers, selector sites, and explicit gaps.
4
+
5
+ ## When to use
6
+
7
+ Inspect one exported Dify node or variable after `dify_inventory` or
8
+ `dify_trace`. Answers include source fragments and consumer lists for impact
9
+ tasks. Secrets stay omitted.
10
+
11
+ ## Inputs
12
+
13
+ - `label` (string, required) — node, app, or variable id or graph label.
14
+ - `task` (string, optional) — `explain` or `impact`. Impact adds consumer lists.
15
+ - `max_related` (number, optional) — related-item page size.
16
+ - `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.
17
+
18
+ ## Minimal call
19
+
20
+ ```json
21
+ {
22
+ "name": "dify_context",
23
+ "arguments": {
24
+ "label": "LLM",
25
+ "task": "impact",
26
+ "output_format": "text"
27
+ }
28
+ }
29
+ ```
30
+
31
+ Use `output_format:"text"` for compact agent interaction. The live MCP
32
+ `tools/list` schema remains authoritative for this installed version.
@@ -0,0 +1,28 @@
1
+ # `dify_inventory`
2
+
3
+ List Dify apps, nodes, modes, and analysis bounds from exported YAML.
4
+
5
+ ## When to use
6
+
7
+ Orient on one or more exported Dify apps already in the repository. This does
8
+ not call a live Dify console API.
9
+
10
+ ## Inputs
11
+
12
+ - `path` (string, optional) — repository-relative YAML file or path fragment.
13
+ - `max_results` (number, optional) — inventory page size, 1–500, default 200.
14
+ - `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.
15
+
16
+ ## Minimal call
17
+
18
+ ```json
19
+ {
20
+ "name": "dify_inventory",
21
+ "arguments": {
22
+ "output_format": "text"
23
+ }
24
+ }
25
+ ```
26
+
27
+ Use `output_format:"text"` for compact agent interaction. The live MCP
28
+ `tools/list` schema remains authoritative for this installed version.
@@ -0,0 +1,32 @@
1
+ # `dify_trace`
2
+
3
+ Upstream and downstream Dify port flow, selectors, and typed data relations.
4
+
5
+ ## When to use
6
+
7
+ Walk declared control flow and typed data edges from one exported Dify node
8
+ or app. A DAG merge is a merge, not a cycle. Missing consumers stay missing.
9
+
10
+ ## Inputs
11
+
12
+ - `label` (string, required) — node or app id, title, or graph label.
13
+ - `depth` (number, optional) — hop limit, 1–32, default 8.
14
+ - `max_nodes` (number, optional) — page size, 1–500, default 100.
15
+ - `cursor` (string, optional) — `v1:<offset>` or `v1:<offset>:<revision>`.
16
+ - `direction` ("outgoing" | "incoming", optional) — walk direction.
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
+
19
+ ## Minimal call
20
+
21
+ ```json
22
+ {
23
+ "name": "dify_trace",
24
+ "arguments": {
25
+ "label": "LLM",
26
+ "output_format": "text"
27
+ }
28
+ }
29
+ ```
30
+
31
+ Use `output_format:"text"` for compact agent interaction. The live MCP
32
+ `tools/list` schema remains authoritative for this installed version.
@@ -0,0 +1,33 @@
1
+ # `n8n_context`
2
+
3
+ Bounded n8n context for one node: proven dependencies, expression sites, and
4
+ explicit gaps.
5
+
6
+ ## When to use
7
+
8
+ Inspect one exported node or workflow before changing it. Secrets, cookies,
9
+ auth headers, URL credentials, `pinData`, `staticData`, and `$env` values are
10
+ not placed on the default context.
11
+
12
+ ## Inputs
13
+
14
+ - `label` (string, required) — exact node or workflow identity.
15
+ - `task` (string, optional) — what the caller intends to change or inspect.
16
+ - `max_related` (number, optional) — related-item bound, default 24.
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
+
19
+ ## Minimal call
20
+
21
+ ```json
22
+ {
23
+ "name": "n8n_context",
24
+ "arguments": {
25
+ "label": "Send Invoice",
26
+ "task": "change email recipient",
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,28 @@
1
+ # `n8n_inventory`
2
+
3
+ List n8n workflows, nodes, entry points, and analysis bounds from exported JSON.
4
+
5
+ ## When to use
6
+
7
+ Orient on one or more exported n8n workflows already in the repository. This
8
+ does not call a live n8n API.
9
+
10
+ ## Inputs
11
+
12
+ - `path` (string, optional) — repository-relative workflow file or path fragment.
13
+ - `max_results` (number, optional) — inventory page size, 1–500, default 200.
14
+ - `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.
15
+
16
+ ## Minimal call
17
+
18
+ ```json
19
+ {
20
+ "name": "n8n_inventory",
21
+ "arguments": {
22
+ "output_format": "text"
23
+ }
24
+ }
25
+ ```
26
+
27
+ Use `output_format:"text"` for compact agent interaction. The live MCP
28
+ `tools/list` schema remains authoritative for this installed version.
@@ -0,0 +1,33 @@
1
+ # `n8n_trace`
2
+
3
+ Upstream and downstream n8n port flow, output dependencies, and static
4
+ subworkflow links.
5
+
6
+ ## When to use
7
+
8
+ Walk `flows_to`, `depends_on_output`, `handles_error_with`, and
9
+ `calls_workflow` from one node. Do not treat those relations as the same
10
+ walk. Missing subworkflows are not provided, not deleted.
11
+
12
+ ## Inputs
13
+
14
+ - `label` (string, required) — exact node or workflow identity.
15
+ - `depth` (number, optional) — hop bound, 1–32, default 8.
16
+ - `max_nodes` (number, optional) — page size, 1–500, default 100.
17
+ - `cursor` (string, optional) — opaque `v1:<offset>` token from `page.next_cursor`.
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
+
20
+ ## Minimal call
21
+
22
+ ```json
23
+ {
24
+ "name": "n8n_trace",
25
+ "arguments": {
26
+ "label": "Send Invoice",
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,33 @@
1
+ # `web3_context`
2
+
3
+ Bounded Web3 context: changed ABI fragment, proven call or decoder sites,
4
+ and explicit deployment gaps.
5
+
6
+ ## When to use
7
+
8
+ Inspect one ABI member or consumer after inventory. The `task` argument
9
+ changes selection: event work needs filters and decoders; output work
10
+ needs result consumers. A live chain is never queried.
11
+
12
+ ## Inputs
13
+
14
+ - `label` (string, required) — graph id or unique Web3 member / consumer label.
15
+ - `task` (string, optional) — what the caller intends to change or inspect.
16
+ - `max_related` (number, optional) — related row cap, 1–200, default 24.
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
+
19
+ ## Minimal call
20
+
21
+ ```json
22
+ {
23
+ "name": "web3_context",
24
+ "arguments": {
25
+ "label": "Deposit(address,uint256)",
26
+ "task": "change-event",
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,35 @@
1
+ # `web3_impact`
2
+
3
+ Compare supplied ABI revisions and report consumer-specific interface
4
+ deltas, including silent event misdecode risk.
5
+
6
+ ## When to use
7
+
8
+ A contract ABI changed and a client still binds an older copy. An indexed
9
+ mask change can decode without throwing. Deployment state stays
10
+ `not_provided` unless a runtime observation was supplied.
11
+
12
+ ## Inputs
13
+
14
+ - `path` (string, optional) — repository-relative path fragment used when baseline/candidate are omitted.
15
+ - `baseline` (string, optional) — repository-relative consumer or previous ABI path.
16
+ - `candidate` (string, optional) — repository-relative provider or new ABI path.
17
+ - `provider` (string, optional) — alias for candidate.
18
+ - `task` (string, optional) — selection hint such as `change-event`, `change-input`, or `change-output`.
19
+ - `max_results` (number, optional) — change page size, 1–200, default 50.
20
+ - `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.
21
+
22
+ ## Minimal call
23
+
24
+ ```json
25
+ {
26
+ "name": "web3_impact",
27
+ "arguments": {
28
+ "task": "change-event",
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,29 @@
1
+ # `web3_inventory`
2
+
3
+ List supplied contract ABIs, compiler artifacts, and static viem/wagmi
4
+ consumers without touching a chain.
5
+
6
+ ## When to use
7
+
8
+ Orient on ABI JSON, solc/Foundry artifacts, and client call sites already
9
+ in the repository. ABI equality is not a deployment proof.
10
+
11
+ ## Inputs
12
+
13
+ - `path` (string, optional) — repository-relative ABI, artifact, or consumer path fragment.
14
+ - `max_results` (number, optional) — inventory page size, 1–500, default 200.
15
+ - `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.
16
+
17
+ ## Minimal call
18
+
19
+ ```json
20
+ {
21
+ "name": "web3_inventory",
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,32 @@
1
+ # `web3_trace`
2
+
3
+ Walk proven ABI, artifact, and consumer bindings for one Web3 member or
4
+ call site.
5
+
6
+ ## When to use
7
+
8
+ After `web3_inventory`, when a function or event name is not enough: follow
9
+ the exact occurrence to its ABI member and static client binding.
10
+
11
+ ## Inputs
12
+
13
+ - `label` (string, required) — graph id or unique Web3 member / consumer label.
14
+ - `depth` (number, optional) — walk depth, 1–32, default 8.
15
+ - `max_nodes` (number, optional) — page size, 1–200, default 64.
16
+ - `cursor` (string, optional) — opaque page token from a previous page.
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
+
19
+ ## Minimal call
20
+
21
+ ```json
22
+ {
23
+ "name": "web3_trace",
24
+ "arguments": {
25
+ "label": "Deposit(address,uint256)",
26
+ "output_format": "text"
27
+ }
28
+ }
29
+ ```
30
+
31
+ Use `output_format:"text"` for compact agent interaction. The live MCP
32
+ `tools/list` schema remains authoritative for this installed version.