weavatrix 1.11.0 → 1.14.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 CHANGED
@@ -10,9 +10,13 @@
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 60 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, and Dify YAML apps. Those parsers are domains on Weavatrix
17
+ Core, not new MCP products. See
18
+ [n8n](https://weavatrix.com/n8n), [Dify](https://weavatrix.com/dify), and
19
+ [parsers](https://weavatrix.com/parsers).
16
20
 
17
21
  It does not answer from a larger grep or an invented confidence score. Every
18
22
  bounded result can carry the repository revision, file, line, extractor,
@@ -42,21 +46,44 @@ weavatrix mcp .
42
46
  ```toml
43
47
  [mcp_servers.weavatrix]
44
48
  command = "npx"
45
- args = ["-y", "weavatrix", "mcp", "."]
49
+ args = ["-y", "weavatrix@1.14.2", "mcp", "."]
46
50
  ```
47
51
 
52
+ Pass an absolute repository path when the Codex process cwd is not the project
53
+ you intend to analyze.
54
+
48
55
  ### Claude Code
49
56
 
50
57
  ```sh
51
- claude mcp add weavatrix -- npx -y weavatrix mcp .
58
+ claude mcp add weavatrix -- npx -y weavatrix@1.14.2 mcp .
59
+ ```
60
+
61
+ ### Cursor
62
+
63
+ Prefer the plugin, or pin the open workspace explicitly and do not also enable
64
+ the plugin for the same server name:
65
+
66
+ ```json
67
+ {
68
+ "mcpServers": {
69
+ "weavatrix": {
70
+ "command": "npx",
71
+ "args": ["-y", "weavatrix@1.14.2", "mcp", "${workspaceFolder}"]
72
+ }
73
+ }
74
+ }
52
75
  ```
53
76
 
54
77
  Profiles expose bounded views of the same engine:
55
78
 
56
79
  ```sh
57
- npx -y weavatrix mcp . --profile=all
58
- npx -y weavatrix mcp . --profile=code
59
- npx -y weavatrix mcp . --profile=seo
80
+ npx -y weavatrix@1.14.2 mcp . --profile=all
81
+ npx -y weavatrix@1.14.2 mcp . --profile=code
82
+ npx -y weavatrix@1.14.2 mcp . --profile=seo
83
+ npx -y weavatrix@1.14.2 mcp . --profile=n8n
84
+ npx -y weavatrix@1.14.2 mcp . --profile=dify
85
+ npx -y weavatrix@1.14.2 mcp . --profile=agent
86
+ npx -y weavatrix@1.14.2 mcp . --profile=diagram
60
87
  ```
61
88
 
62
89
  The package contains native binaries for Windows x64/arm64, macOS x64/arm64,
@@ -94,6 +121,8 @@ Find every GraphQL, gRPC, Kafka, RabbitMQ, NATS, JMS, SQS, or SNS
94
121
  contract affected by this branch.
95
122
  Build the smallest source bundle needed to edit this symbol safely.
96
123
  Show me this file as it was two commits ago, without a checkout.
124
+ If I change the email recipient in this exported n8n workflow, who reads it?
125
+ If I change start_node.query in this Dify YAML, which nodes consume it?
97
126
  ```
98
127
 
99
128
  ## See it answer
@@ -124,10 +153,12 @@ answered:
124
153
  }
125
154
  ```
126
155
 
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.
156
+ Every answer carries that `repository_context` block. From **1.11.1**, each MCP
157
+ process pins its launch root for the session: `open_repo` to another path is
158
+ refused unless you started with `--allow-retarget`, and omitted
159
+ `expected_repository` is filled from that pin. Still pass
160
+ `"expected_repository": "weavatrix"` when you already know the folder name — a
161
+ mismatched server fails loudly instead of answering about the wrong repository.
131
162
 
132
163
  **Blast radius before you edit:**
133
164
 
@@ -169,7 +200,7 @@ Three commits before `ec8bf30` this package was 1.9.2; the agent reads that
169
200
  follow-up to a diff without touching the worktree. Binary blobs fail closed
170
201
  instead of being decoded into garbage.
171
202
 
172
- ## The 47 read-only operations
203
+ ## The 60 read-only operations
173
204
 
174
205
  | Workflow | Operations |
175
206
  | --- | --- |
@@ -181,6 +212,10 @@ instead of being decoded into garbage.
181
212
  | Architecture | `get_architecture_contract`, `verify_architecture`, `verify_capabilities`, `explain_architecture_violation`, `propose_architecture_exception` |
182
213
  | Git and repositories | `git_history`, `git_read_blob`, `cross_repo_git`, `open_repo`, `list_known_repos`, `rebuild_graph` |
183
214
  | Native extensions | `vector_search`, `semantic_link`, `seo_link_suggestions`, `memory_context` |
215
+ | n8n workflows | `n8n_inventory`, `n8n_trace`, `n8n_context` |
216
+ | Dify apps | `dify_inventory`, `dify_trace`, `dify_context` |
217
+ | Agent packages | `agent_inventory`, `agent_trace`, `agent_context`, `agent_change_impact` |
218
+ | Mermaid diagrams | `diagram_inventory`, `diagram_trace`, `diagram_context` |
184
219
 
185
220
  Every operation is read-only with respect to the analyzed repository.
186
221
  Pagination and explicit limits bound large neighborhoods, histories, searches,
@@ -191,13 +226,39 @@ and contract inventories.
191
226
  | Group | Surfaces |
192
227
  | --- | --- |
193
228
  | 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 |
229
+ | Contracts and configuration | GraphQL; Protobuf/gRPC; JSON/JSONC (n8n after parse); YAML/Kubernetes (Dify after parse); Terraform/HCL; XML |
195
230
  | Documents and UI | HTML/Vue/Svelte; CSS/SCSS/Sass/Less; Markdown/MDX; reStructuredText; AsciiDoc |
196
231
 
197
232
  Cross-surface analysis connects HTTP, GraphQL, gRPC, Kafka, RabbitMQ/AMQP,
198
233
  JMS, NATS, SQS, and SNS evidence. Dynamic dispatch that cannot be proved stays
199
234
  unresolved; static reachability is never presented as measured coverage.
200
235
 
236
+ ## Workflow export domains
237
+
238
+ n8n and Dify are after-parse domains on the same graph, not new MCP servers.
239
+
240
+ ```text
241
+ export in git → existing JSON/YAML parse → typed domain → inventory / trace / context
242
+ ```
243
+
244
+ | Domain | Tools | Status |
245
+ | --- | --- | --- |
246
+ | [n8n](https://weavatrix.com/n8n) | `n8n_inventory`, `n8n_trace`, `n8n_context` | Product 1.12.0 |
247
+ | [Dify](https://weavatrix.com/dify) | `dify_inventory`, `dify_trace`, `dify_context` | Product 1.13.0 |
248
+ | Agent packages | `agent_inventory`, `agent_trace`, `agent_context`, `agent_change_impact` | Product 1.14.0 |
249
+ | Mermaid diagrams | `diagram_inventory`, `diagram_trace`, `diagram_context` | Product 1.14.0 |
250
+
251
+ | Need | Use |
252
+ | --- | --- |
253
+ | Change impact on an export in git | Weavatrix `n8n_*` / `dify_*` |
254
+ | Live n8n instance | [n8n-mcp](https://github.com/czlonkowski/n8n-mcp) |
255
+ | Live Dify console | [dify-mcp](https://github.com/alexjiaguo/dify-mcp) |
256
+ | CI lint/diff of Dify YAML | [difyctl](https://github.com/JSLEEKR/difyctl) |
257
+
258
+ No invented n8n/Dify millisecond benches. Those tools share the measured
259
+ installed MCP boundary (2026-08-03): cold **32.21x** (157.34 ms vs 5,068.22 ms)
260
+ and warm **36.85x** (7.94 ms vs 292.55 ms) versus `weavatrix-js` 0.3.15.
261
+
201
262
  ## Product and engine are separate
202
263
 
203
264
  ```text
@@ -205,12 +266,12 @@ coding agent
205
266
  |
206
267
  | MCP over stdio
207
268
  v
208
- weavatrix 1.11.0
269
+ weavatrix 1.14.2
209
270
  profile catalog · refresh · watcher · MCP framing
210
271
  |
211
272
  v
212
- weavatrix-rust 2.10.0
213
- typed graph · analysis · 47 read-only operations
273
+ weavatrix-rust 2.14.3
274
+ typed graph · analysis · 60 product operations including n8n, Dify, agent packages, and Mermaid
214
275
  ```
215
276
 
216
277
  This npm product owns MCP transport and native distribution. The
@@ -276,6 +337,7 @@ Full evidence and methodology:
276
337
  - [Tool reference](https://github.com/Weavatrix/weavatrix/blob/main/docs/tool-reference.md)
277
338
  - [Language support](https://github.com/Weavatrix/weavatrix/blob/main/docs/language-support.md)
278
339
  - [Architecture](https://github.com/Weavatrix/weavatrix/blob/main/docs/architecture.md)
340
+ - [n8n](https://weavatrix.com/n8n) · [Dify](https://weavatrix.com/dify) · [parsers](https://weavatrix.com/parsers)
279
341
  - [Benchmarks](https://github.com/Weavatrix/weavatrix/blob/main/docs/benchmarks.md)
280
342
 
281
343
  ## 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.0",
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.14.2",
4
+ "weavatrixEngineVersion": "2.14.3",
5
+ "description": "Native repository intelligence for coding agents: 60 read-only MCP operations backed by typed evidence graphs, impact, architecture, APIs, Git, search, semantics, memory, n8n workflows, Dify apps, agent packages, and Mermaid diagrams.",
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: 60 read-only tools for code, n8n, Dify, agent packages, and Mermaid.",
6
6
  "repository": {
7
7
  "url": "https://github.com/Weavatrix/weavatrix",
8
8
  "source": "github"
9
9
  },
10
- "version": "1.11.0",
10
+ "version": "1.14.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.11.0",
17
+ "version": "1.14.2",
18
18
  "runtimeHint": "npx",
19
19
  "transport": {
20
20
  "type": "stdio"
package/skill/SKILL.md CHANGED
@@ -4,7 +4,9 @@ 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, or Mermaid flowcharts. Skip it for trivial
8
10
  single-file edits or when a known source file and native tests already answer
9
11
  the task.
10
12
  ---
@@ -17,15 +19,28 @@ contracts. Do not call it merely because the server is available.
17
19
 
18
20
  ## Minimal workflow
19
21
 
20
- 1. Call `graph_stats` to confirm the active repository and graph revision.
22
+ 1. Call `graph_stats` and confirm `repository_context.root` matches the workspace
23
+ you intend. The MCP process is pinned to its launch root; it will not silently
24
+ answer for another repository.
21
25
  2. Use `module_map` for orientation or `search_code` for a known literal.
22
26
  3. Pin decisive evidence with `inspect_symbol`, `go_to_definition`,
23
27
  `find_references`, `context_bundle`, or `read_source`.
24
28
  4. Expand only when needed: `get_dependents` or `change_impact` for risk,
25
29
  `trace_endpoint` or `trace_api_contract` for runtime contracts,
26
- `verify_architecture` for policy, and `run_audit` for a broad health pass.
30
+ `verify_architecture` for policy, `run_audit` for a broad health pass,
31
+ `n8n_inventory` / `n8n_trace` / `n8n_context` for exported n8n
32
+ workflows, and `dify_inventory` / `dify_trace` / `dify_context` for
33
+ exported Dify YAML, and `agent_inventory` / `agent_trace` /
34
+ `agent_context` / `agent_change_impact` for Agent Plugins, Skills, and
35
+ supplied MCP catalogs, and `diagram_inventory` / `diagram_trace` /
36
+ `diagram_context` for Mermaid flowcharts. Those paths are static graph
37
+ evidence, not a live n8n, Dify, MCP, or Mermaid runtime.
27
38
  5. Use repository-native tests or benchmarks for behavioral proof.
28
39
 
40
+ Do not call `open_repo` "just in case". Cross-repository tools take explicit
41
+ roots in their arguments. Multi-root retarget requires launching with
42
+ `--allow-retarget`.
43
+
29
44
  Prefer `output_format:"text"` and a small `token_budget` for conversational
30
45
  work. Use JSON only for automation or retained evidence. Call `rebuild_graph`
31
46
  only when the repository changed before automatic refresh completed or when
@@ -3,8 +3,10 @@
3
3
  Open only the card for the method you are about to call. Each card explains
4
4
  when to use the method, its exact published inputs, and a minimal compact call.
5
5
  The live MCP `tools/list` schema is authoritative. Every answer carries
6
- `repository_context` (root, scan revision, Git HEAD, graph age); pass
7
- `expected_repository` to fail fast when the active repository differs.
6
+ `repository_context` (root, scan revision, Git HEAD, graph age). The process
7
+ pins its launch root and injects `expected_repository` when omitted, so answers
8
+ cannot silently switch to another repository. Pass an explicit
9
+ `expected_repository` to fail fast when you already know the intended folder.
8
10
 
9
11
  ## Graph, source, and orientation
10
12
 
@@ -60,7 +62,7 @@ The live MCP `tools/list` schema is authoritative. Every answer carries
60
62
 
61
63
  ## Repositories and refresh
62
64
 
63
- - [`open_repo`](tools/open_repo.md) — Retarget to another local repository. Graphs unused for 20 minutes unload; asking for one again rescans that folder.
65
+ - [`open_repo`](tools/open_repo.md) — Retarget to another local repository. Default launches refuse this unless started with `--allow-retarget`. Graphs unused for 20 minutes unload; asking for one again rescans that folder.
64
66
  - [`list_known_repos`](tools/list_known_repos.md) — List repositories with an in-process graph.
65
67
  - [`rebuild_graph`](tools/rebuild_graph.md) — Rebuild the derived in-memory graph without source writes.
66
68
 
@@ -70,3 +72,38 @@ The live MCP `tools/list` schema is authoritative. Every answer carries
70
72
  - [`vector_search`](tools/vector_search.md) — Exact or bounded approximate nearest-neighbor search.
71
73
  - [`seo_link_suggestions`](tools/seo_link_suggestions.md) — Directional SEO internal-link evidence from supplied page profiles.
72
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.
@@ -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.