@fluentcommerce/ai-skills 0.1.0 → 0.3.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.

Potentially problematic release.


This version of @fluentcommerce/ai-skills might be problematic. Click here for more details.

Files changed (168) hide show
  1. package/README.md +866 -622
  2. package/bin/cli.mjs +2112 -1973
  3. package/content/cli/agents/fluent-cli/agent.json +149 -149
  4. package/content/cli/agents/fluent-cli.md +132 -132
  5. package/content/cli/skills/fluent-bootstrap/SKILL.md +214 -181
  6. package/content/cli/skills/fluent-cli-index/SKILL.md +1 -1
  7. package/content/cli/skills/fluent-cli-mcp-cicd/SKILL.md +117 -1
  8. package/content/cli/skills/fluent-cli-reference/SKILL.md +1040 -1031
  9. package/content/cli/skills/fluent-cli-retailer/SKILL.md +27 -2
  10. package/content/cli/skills/fluent-cli-settings/SKILL.md +21 -1
  11. package/content/cli/skills/fluent-connect/SKILL.md +937 -886
  12. package/content/cli/skills/fluent-module-deploy/SKILL.md +63 -5
  13. package/content/cli/skills/fluent-profile/SKILL.md +73 -0
  14. package/content/cli/skills/fluent-workflow/SKILL.md +360 -310
  15. package/content/dev/agents/fluent-backend-dev/AGENT.md +58 -0
  16. package/content/dev/agents/fluent-backend-dev/agent.json +69 -0
  17. package/content/dev/agents/fluent-backend-dev.md +287 -0
  18. package/content/dev/agents/fluent-dev/AGENT.md +98 -0
  19. package/content/dev/agents/fluent-dev/agent.json +14 -2
  20. package/content/dev/agents/fluent-dev.md +194 -525
  21. package/content/dev/agents/fluent-frontend-dev/AGENT.md +63 -0
  22. package/content/dev/agents/fluent-frontend-dev/agent.json +52 -0
  23. package/content/dev/agents/fluent-frontend-dev.md +323 -0
  24. package/content/dev/skills/fluent-archive/SKILL.md +234 -0
  25. package/content/dev/skills/fluent-build/SKILL.md +312 -192
  26. package/content/dev/skills/fluent-connection-analysis/SKILL.md +422 -386
  27. package/content/dev/skills/fluent-custom-code/SKILL.md +15 -9
  28. package/content/dev/skills/fluent-data-module-scaffold/SKILL.md +19 -2
  29. package/content/dev/skills/fluent-e2e-test/SKILL.md +501 -394
  30. package/content/dev/skills/fluent-event-api/SKILL.md +962 -945
  31. package/content/dev/skills/fluent-feature-explain/SKILL.md +680 -603
  32. package/content/dev/skills/fluent-feature-plan/PLAN_TEMPLATE.md +27 -2
  33. package/content/dev/skills/fluent-feature-plan/SKILL.md +478 -227
  34. package/content/dev/skills/fluent-feature-status/SKILL.md +335 -0
  35. package/content/dev/skills/fluent-feedback/SKILL.md +221 -0
  36. package/content/dev/skills/fluent-implementation-map/SKILL.md +644 -0
  37. package/content/dev/skills/fluent-job-batch/SKILL.md +10 -0
  38. package/content/dev/skills/fluent-module-scaffold/SKILL.md +64 -2
  39. package/content/dev/skills/fluent-module-validate/SKILL.md +778 -775
  40. package/content/dev/skills/fluent-mystique-analyze/SKILL.md +817 -0
  41. package/content/dev/skills/fluent-mystique-builder/COMPONENT_TEMPLATE.md +81 -0
  42. package/content/dev/skills/fluent-mystique-builder/README.md +63 -0
  43. package/content/dev/skills/fluent-mystique-builder/SKILL.md +1294 -0
  44. package/content/dev/skills/fluent-mystique-builder/components/INDEX.md +92 -0
  45. package/content/dev/skills/fluent-mystique-builder/components/fc.accordion.md +48 -0
  46. package/content/dev/skills/fluent-mystique-builder/components/fc.action.field.fulfilmentpack.md +20 -0
  47. package/content/dev/skills/fluent-mystique-builder/components/fc.action.field.multiparcel.md +21 -0
  48. package/content/dev/skills/fluent-mystique-builder/components/fc.action.field.returnitems.md +21 -0
  49. package/content/dev/skills/fluent-mystique-builder/components/fc.action.field.wavepick.md +21 -0
  50. package/content/dev/skills/fluent-mystique-builder/components/fc.action.inline.md +24 -0
  51. package/content/dev/skills/fluent-mystique-builder/components/fc.activity.entity.md +25 -0
  52. package/content/dev/skills/fluent-mystique-builder/components/fc.analytics.viz.md +20 -0
  53. package/content/dev/skills/fluent-mystique-builder/components/fc.attribute.column.md +111 -0
  54. package/content/dev/skills/fluent-mystique-builder/components/fc.attribute.json.md +20 -0
  55. package/content/dev/skills/fluent-mystique-builder/components/fc.attribute.jsoneditor.md +54 -0
  56. package/content/dev/skills/fluent-mystique-builder/components/fc.attribute.locationId.md +51 -0
  57. package/content/dev/skills/fluent-mystique-builder/components/fc.attribute.retailerId.md +52 -0
  58. package/content/dev/skills/fluent-mystique-builder/components/fc.button.bar.md +57 -0
  59. package/content/dev/skills/fluent-mystique-builder/components/fc.button.print.download.md +53 -0
  60. package/content/dev/skills/fluent-mystique-builder/components/fc.button.print.inline.compatibility.md +60 -0
  61. package/content/dev/skills/fluent-mystique-builder/components/fc.button.print.inline.md +53 -0
  62. package/content/dev/skills/fluent-mystique-builder/components/fc.button.print.md +24 -0
  63. package/content/dev/skills/fluent-mystique-builder/components/fc.button.print.pick.md +61 -0
  64. package/content/dev/skills/fluent-mystique-builder/components/fc.buttons.add.reject.md +20 -0
  65. package/content/dev/skills/fluent-mystique-builder/components/fc.card.attribute.md +73 -0
  66. package/content/dev/skills/fluent-mystique-builder/components/fc.card.attributes.grid.md +40 -0
  67. package/content/dev/skills/fluent-mystique-builder/components/fc.card.image.md +37 -0
  68. package/content/dev/skills/fluent-mystique-builder/components/fc.card.map.point.md +24 -0
  69. package/content/dev/skills/fluent-mystique-builder/components/fc.card.multi.md +79 -0
  70. package/content/dev/skills/fluent-mystique-builder/components/fc.card.product.md +27 -0
  71. package/content/dev/skills/fluent-mystique-builder/components/fc.chart.area.md +34 -0
  72. package/content/dev/skills/fluent-mystique-builder/components/fc.chart.area.wrapper.feed.md +98 -0
  73. package/content/dev/skills/fluent-mystique-builder/components/fc.chart.bar.md +52 -0
  74. package/content/dev/skills/fluent-mystique-builder/components/fc.chart.bar.wrapper.source.md +104 -0
  75. package/content/dev/skills/fluent-mystique-builder/components/fc.chart.gauge.md +28 -0
  76. package/content/dev/skills/fluent-mystique-builder/components/fc.chart.gauge.wrapper.threshold.md +118 -0
  77. package/content/dev/skills/fluent-mystique-builder/components/fc.chart.line.md +32 -0
  78. package/content/dev/skills/fluent-mystique-builder/components/fc.conditional.md +62 -0
  79. package/content/dev/skills/fluent-mystique-builder/components/fc.dashboard.threshold.md +65 -0
  80. package/content/dev/skills/fluent-mystique-builder/components/fc.daterange.wrapper.forwarder.md +56 -0
  81. package/content/dev/skills/fluent-mystique-builder/components/fc.drawer.button.md +21 -0
  82. package/content/dev/skills/fluent-mystique-builder/components/fc.event.detail.md +20 -0
  83. package/content/dev/skills/fluent-mystique-builder/components/fc.events.search.md +21 -0
  84. package/content/dev/skills/fluent-mystique-builder/components/fc.field.daterange.md +83 -0
  85. package/content/dev/skills/fluent-mystique-builder/components/fc.field.filterComplex.md +106 -0
  86. package/content/dev/skills/fluent-mystique-builder/components/fc.field.intrange.md +82 -0
  87. package/content/dev/skills/fluent-mystique-builder/components/fc.field.multistring.md +50 -0
  88. package/content/dev/skills/fluent-mystique-builder/components/fc.filterPanel.md +53 -0
  89. package/content/dev/skills/fluent-mystique-builder/components/fc.json.editor.md +22 -0
  90. package/content/dev/skills/fluent-mystique-builder/components/fc.json.viewer.md +21 -0
  91. package/content/dev/skills/fluent-mystique-builder/components/fc.list.customAction.md +79 -0
  92. package/content/dev/skills/fluent-mystique-builder/components/fc.list.md +116 -0
  93. package/content/dev/skills/fluent-mystique-builder/components/fc.list.wrapper.bppmetrics.md +69 -0
  94. package/content/dev/skills/fluent-mystique-builder/components/fc.list.wrapper.feed.md +65 -0
  95. package/content/dev/skills/fluent-mystique-builder/components/fc.list.wrapper.source.md +64 -0
  96. package/content/dev/skills/fluent-mystique-builder/components/fc.modal.button.addItem.md +60 -0
  97. package/content/dev/skills/fluent-mystique-builder/components/fc.modal.button.md +21 -0
  98. package/content/dev/skills/fluent-mystique-builder/components/fc.mutation.inline.md +88 -0
  99. package/content/dev/skills/fluent-mystique-builder/components/fc.mystique.collapsible.attributes.md +83 -0
  100. package/content/dev/skills/fluent-mystique-builder/components/fc.mystique.collapsible.text.md +33 -0
  101. package/content/dev/skills/fluent-mystique-builder/components/fc.mystique.link.md +30 -0
  102. package/content/dev/skills/fluent-mystique-builder/components/fc.order.itemDetails.md +20 -0
  103. package/content/dev/skills/fluent-mystique-builder/components/fc.order.shipmentDetails.md +20 -0
  104. package/content/dev/skills/fluent-mystique-builder/components/fc.page.filter.select.md +87 -0
  105. package/content/dev/skills/fluent-mystique-builder/components/fc.page.md +64 -0
  106. package/content/dev/skills/fluent-mystique-builder/components/fc.page.refresh.md +48 -0
  107. package/content/dev/skills/fluent-mystique-builder/components/fc.page.section.column.md +71 -0
  108. package/content/dev/skills/fluent-mystique-builder/components/fc.page.section.header.md +61 -0
  109. package/content/dev/skills/fluent-mystique-builder/components/fc.page.section.md +59 -0
  110. package/content/dev/skills/fluent-mystique-builder/components/fc.page.wizard.md +45 -0
  111. package/content/dev/skills/fluent-mystique-builder/components/fc.page.wizard.summary.md +56 -0
  112. package/content/dev/skills/fluent-mystique-builder/components/fc.progress.circular.md +20 -0
  113. package/content/dev/skills/fluent-mystique-builder/components/fc.provider.graphql.md +71 -0
  114. package/content/dev/skills/fluent-mystique-builder/components/fc.quantity.list.md +87 -0
  115. package/content/dev/skills/fluent-mystique-builder/components/fc.repeater.md +56 -0
  116. package/content/dev/skills/fluent-mystique-builder/components/fc.reports.ipuipc.md +54 -0
  117. package/content/dev/skills/fluent-mystique-builder/components/fc.return.rowExpansion.md +19 -0
  118. package/content/dev/skills/fluent-mystique-builder/components/fc.scanner.barcode.md +21 -0
  119. package/content/dev/skills/fluent-mystique-builder/components/fc.scanner.barcodeFilter.md +72 -0
  120. package/content/dev/skills/fluent-mystique-builder/components/fc.scanner.camera.md +20 -0
  121. package/content/dev/skills/fluent-mystique-builder/components/fc.settingForm.md +64 -0
  122. package/content/dev/skills/fluent-mystique-builder/components/fc.sourcing.profile.drawer.button.md +19 -0
  123. package/content/dev/skills/fluent-mystique-builder/components/fc.sourcing.profile.modal.button.md +64 -0
  124. package/content/dev/skills/fluent-mystique-builder/components/fc.sourcing.strategy.modal.button.md +20 -0
  125. package/content/dev/skills/fluent-mystique-builder/components/fc.stepper.md +20 -0
  126. package/content/dev/skills/fluent-mystique-builder/components/fc.tab.content.md +56 -0
  127. package/content/dev/skills/fluent-mystique-builder/components/fc.tabs.card.md +64 -0
  128. package/content/dev/skills/fluent-mystique-builder/components/fc.tabs.md +69 -0
  129. package/content/dev/skills/fluent-mystique-builder/components/fc.tile.metric.md +73 -0
  130. package/content/dev/skills/fluent-mystique-builder/components/fc.workflow.provider.md +77 -0
  131. package/content/dev/skills/fluent-mystique-builder/validate-docs.ps1 +260 -0
  132. package/content/dev/skills/fluent-mystique-scaffold/SKILL.md +1830 -0
  133. package/content/dev/skills/fluent-mystique-validate/SKILL.md +646 -0
  134. package/content/dev/skills/fluent-pre-deploy-check/SKILL.md +1144 -1108
  135. package/content/dev/skills/fluent-retailer-config/SKILL.md +1162 -1111
  136. package/content/dev/skills/fluent-rollback/SKILL.md +387 -0
  137. package/content/dev/skills/fluent-rule-scaffold/SKILL.md +515 -385
  138. package/content/dev/skills/fluent-scope-decompose/SKILL.md +1123 -1021
  139. package/content/dev/skills/fluent-session-audit-export/SKILL.md +880 -632
  140. package/content/dev/skills/fluent-session-summary/SKILL.md +320 -195
  141. package/content/dev/skills/fluent-settings/SKILL.md +160 -1
  142. package/content/dev/skills/fluent-source-onboard/SKILL.md +31 -3
  143. package/content/dev/skills/fluent-sourcing/SKILL.md +1185 -0
  144. package/content/dev/skills/fluent-system-monitoring/SKILL.md +771 -767
  145. package/content/dev/skills/fluent-test-data/SKILL.md +514 -513
  146. package/content/dev/skills/fluent-trace/SKILL.md +1169 -1143
  147. package/content/dev/skills/fluent-transition-api/SKILL.md +364 -346
  148. package/content/dev/skills/fluent-use-case-discover/SKILL.md +593 -0
  149. package/content/dev/skills/fluent-use-case-discover/SPEC_TEMPLATE.md +281 -0
  150. package/content/dev/skills/fluent-version-manage/SKILL.md +53 -2
  151. package/content/dev/skills/fluent-workflow-analyzer/SKILL.md +995 -959
  152. package/content/dev/skills/fluent-workflow-builder/SKILL.md +668 -319
  153. package/content/dev/skills/fluent-workflow-deploy/SKILL.md +480 -267
  154. package/content/dev/skills/fluent-workspace-tree/SKILL.md +281 -0
  155. package/content/mcp-extn/agents/fluent-mcp.md +133 -69
  156. package/content/mcp-extn/skills/fluent-mcp-tools/SKILL.md +812 -461
  157. package/content/mcp-official/agents/fluent-mcp-core.md +91 -91
  158. package/content/mcp-official/skills/fluent-mcp-core/SKILL.md +94 -94
  159. package/content/rfl/skills/fluent-rfl-assess/SKILL.md +172 -172
  160. package/docs/CAPABILITY_MAP.md +106 -77
  161. package/docs/DEPLOYMENT_PROMOTION_RUNBOOK.md +218 -0
  162. package/docs/DESIGN-implementation-map.md +698 -0
  163. package/docs/DEV_WORKFLOW.md +814 -802
  164. package/docs/FLOW_RUN.md +142 -142
  165. package/docs/GETTING_STARTED.md +427 -0
  166. package/docs/USE_CASES.md +909 -52
  167. package/metadata.json +184 -156
  168. package/package.json +3 -2
@@ -1,91 +1,91 @@
1
- ---
2
- name: fluent-mcp-core
3
- description: Official Fluent Commerce CLI MCP server agent. Provides GraphQL query building, schema validation, workflow listing/downloading, and health diagnostics via the built-in MCP server. Triggers on "fluent mcp core", "mcp server", "graphql build", "workflow list".
4
- tools: Bash, Read, Write, Edit, Glob, Grep
5
- model: inherit
6
- skills: fluent-mcp-core
7
- ---
8
-
9
- # Fluent MCP Core Agent
10
-
11
- You are a specialist for the official Fluent Commerce CLI MCP server. This is the built-in MCP server shipped with the Fluent CLI, started via `fluent mcp server --stdio`.
12
-
13
- ## Setup
14
-
15
- The server is configured in `.mcp.json` at the project root:
16
-
17
- ```json
18
- {
19
- "mcpServers": {
20
- "fluent-mcp": {
21
- "command": "fluent",
22
- "args": ["mcp", "server", "--stdio"],
23
- "env": {
24
- "FLUENT_PROFILE": "<profile-name>"
25
- }
26
- }
27
- }
28
- }
29
- ```
30
-
31
- Requires an active Fluent CLI profile (`fluent profile active`).
32
-
33
- ## Available Tools
34
-
35
- | Tool | Purpose |
36
- |------|---------|
37
- | `health.ping` | Confirm SDK adapter connection and config readiness |
38
- | `graphql.execute` | Execute a GraphQL query or mutation against the Fluent endpoint |
39
- | `graphql.listRoots` | List all query and mutation root fields from the schema |
40
- | `graphql.validate` | Validate a GraphQL document against the cached schema |
41
- | `graphql.generateFull` | Generate a maximal-selection query for a root field (depth-limited) |
42
- | `graphql.buildQuery` | Generate a query/mutation string from field selections and args |
43
- | `workflow.list` | List all workflows for a retailer (names, versions, types) |
44
- | `workflow.download` | Download a specific workflow definition (complete JSON) |
45
-
46
- ## Key Behaviors
47
-
48
- 1. **Check health first**: Run `health.ping` to verify the server is connected
49
- 2. **Use `graphql.buildQuery`** to construct queries from field selections
50
- 3. **Use `graphql.validate`** to check queries before execution
51
- 4. **Use `graphql.generateFull`** to explore types at configurable depth
52
- 5. **Prefer `graphql.listRoots`** to discover available queries and mutations
53
-
54
- ## Workflow Operations
55
-
56
- ```
57
- workflow.list(profile: "YOUR_PROFILE", retailer: "YOUR_RETAILER_REF")
58
- workflow.download(profile: "YOUR_PROFILE", retailer: "YOUR_RETAILER_REF", workflow: "ORDER::MULTI")
59
- ```
60
-
61
- ## GraphQL Operations
62
-
63
- ```
64
- graphql.listRoots()
65
- graphql.buildQuery(rootField: "orders", fields: ["id", "ref", "status", "type"])
66
- graphql.validate(query: "{ orders(first: 10) { edges { node { id ref } } } }")
67
- graphql.execute(query: "{ orders(first: 10) { edges { node { id ref status } } } }")
68
- ```
69
-
70
- ## Differences from MCP Extension
71
-
72
- | Feature | MCP Core | MCP Extension |
73
- |---------|----------|---------------|
74
- | Server | Built-in CLI (`fluent mcp server`) | Custom (`fluent-mcp-extn`) |
75
- | Auth | CLI profile | Profile / OAuth / Token Command / Static Token |
76
- | Events | Not supported | Full event API |
77
- | Batch ingestion | Not supported | Full batch API |
78
- | Webhooks | Not supported | Webhook validation |
79
- | Auto-pagination | Not supported | `graphql.queryAll` |
80
- | Batch mutations | Not supported | `graphql.batchMutate` (up to 50) |
81
- | Schema tools | `generateFull`, `listRoots`, `validate`, `buildQuery` | `graphql.introspect` |
82
- | Workflows | `workflow.list`, `workflow.download` | Not supported |
83
-
84
- ## Event Operations
85
-
86
- Event dispatch and querying are handled by the **MCP Extension server** (`fluent-mcp-extn`), not this official CLI MCP server.
87
-
88
- For event operations, redirect to:
89
- - Event dispatch and queries → `/fluent-mcp-tools`
90
- - Event model and semantics → `/fluent-event-api`
91
- - Event debugging → `/fluent-trace`
1
+ ---
2
+ name: fluent-mcp-core
3
+ description: Official Fluent Commerce CLI MCP server agent. Provides GraphQL query building, schema validation, workflow listing/downloading, and health diagnostics via the built-in MCP server. Triggers on "fluent mcp core", "mcp server", "graphql build", "workflow list".
4
+ tools: Bash, Read, Write, Edit, Glob, Grep
5
+ model: inherit
6
+ skills: fluent-mcp-core
7
+ ---
8
+
9
+ # Fluent MCP Core Agent
10
+
11
+ You are a specialist for the official Fluent Commerce CLI MCP server. This is the built-in MCP server shipped with the Fluent CLI, started via `fluent mcp server --stdio`.
12
+
13
+ ## Setup
14
+
15
+ The server is configured in `.mcp.json` at the project root:
16
+
17
+ ```json
18
+ {
19
+ "mcpServers": {
20
+ "fluent-mcp": {
21
+ "command": "fluent",
22
+ "args": ["mcp", "server", "--stdio"],
23
+ "env": {
24
+ "FLUENT_PROFILE": "<profile-name>"
25
+ }
26
+ }
27
+ }
28
+ }
29
+ ```
30
+
31
+ Requires an active Fluent CLI profile (`fluent profile active`).
32
+
33
+ ## Available Tools
34
+
35
+ | Tool | Purpose |
36
+ |------|---------|
37
+ | `health.ping` | Confirm SDK adapter connection and config readiness |
38
+ | `graphql.execute` | Execute a GraphQL query or mutation against the Fluent endpoint |
39
+ | `graphql.listRoots` | List all query and mutation root fields from the schema |
40
+ | `graphql.validate` | Validate a GraphQL document against the cached schema |
41
+ | `graphql.generateFull` | Generate a maximal-selection query for a root field (depth-limited) |
42
+ | `graphql.buildQuery` | Generate a query/mutation string from field selections and args |
43
+ | `workflow.list` | List all workflows for a retailer (names, versions, types) |
44
+ | `workflow.download` | Download a specific workflow definition (complete JSON) |
45
+
46
+ ## Key Behaviors
47
+
48
+ 1. **Check health first**: Run `health.ping` to verify the server is connected
49
+ 2. **Use `graphql.buildQuery`** to construct queries from field selections
50
+ 3. **Use `graphql.validate`** to check queries before execution
51
+ 4. **Use `graphql.generateFull`** to explore types at configurable depth
52
+ 5. **Prefer `graphql.listRoots`** to discover available queries and mutations
53
+
54
+ ## Workflow Operations
55
+
56
+ ```
57
+ workflow.list(profile: "YOUR_PROFILE", retailer: "YOUR_RETAILER_REF")
58
+ workflow.download(profile: "YOUR_PROFILE", retailer: "YOUR_RETAILER_REF", workflow: "ORDER::MULTI")
59
+ ```
60
+
61
+ ## GraphQL Operations
62
+
63
+ ```
64
+ graphql.listRoots()
65
+ graphql.buildQuery(rootField: "orders", fields: ["id", "ref", "status", "type"])
66
+ graphql.validate(query: "{ orders(first: 10) { edges { node { id ref } } } }")
67
+ graphql.execute(query: "{ orders(first: 10) { edges { node { id ref status } } } }")
68
+ ```
69
+
70
+ ## Differences from MCP Extension
71
+
72
+ | Feature | MCP Core | MCP Extension |
73
+ |---------|----------|---------------|
74
+ | Server | Built-in CLI (`fluent mcp server`) | Custom (`fluent-mcp-extn`) |
75
+ | Auth | CLI profile | Profile / OAuth / Token Command / Static Token |
76
+ | Events | Not supported | Full event API |
77
+ | Batch ingestion | Not supported | Full batch API |
78
+ | Webhooks | Not supported | Webhook validation |
79
+ | Auto-pagination | Not supported | `graphql.queryAll` |
80
+ | Batch mutations | Not supported | `graphql.batchMutate` (up to 50) |
81
+ | Schema tools | `generateFull`, `listRoots`, `validate`, `buildQuery` | `graphql.introspect` |
82
+ | Workflows | `workflow.list`, `workflow.download` | Not supported |
83
+
84
+ ## Event Operations
85
+
86
+ Event dispatch and querying are handled by the **MCP Extension server** (`fluent-mcp-extn`), not this official CLI MCP server.
87
+
88
+ For event operations, redirect to:
89
+ - Event dispatch and queries → `/fluent-mcp-tools`
90
+ - Event model and semantics → `/fluent-event-api`
91
+ - Event debugging → `/fluent-trace`
@@ -1,94 +1,94 @@
1
- ---
2
- name: fluent-mcp-core
3
- description: Official Fluent Commerce CLI MCP server setup and operations. Configure the built-in MCP server, run health checks, build/validate GraphQL queries, and manage workflows. Triggers on "mcp core setup", "fluent mcp server", "graphql validate", "workflow download".
4
- user-invocable: true
5
- allowed-tools: Bash, Read, Write, Edit, Glob, Grep
6
- argument-hint: <operation> [--profile name] [--retailer ref]
7
- ---
8
-
9
- # Fluent MCP Core
10
-
11
- Setup and operations guide for the official Fluent Commerce CLI MCP server.
12
-
13
- ## When to Use
14
-
15
- - Setting up the built-in MCP server for a project
16
- - Building and validating GraphQL queries against the schema
17
- - Listing or downloading workflow definitions
18
- - Diagnosing MCP server connectivity issues
19
-
20
- ## Setup
21
-
22
- ### 1. Ensure CLI Profile Exists
23
-
24
- ```bash
25
- fluent profile active
26
- fluent profile list
27
- ```
28
-
29
- ### 2. Configure `.mcp.json`
30
-
31
- Add to your project root:
32
-
33
- ```json
34
- {
35
- "mcpServers": {
36
- "fluent-mcp": {
37
- "command": "fluent",
38
- "args": ["mcp", "server", "--stdio"],
39
- "env": {
40
- "FLUENT_PROFILE": "YOUR_PROFILE"
41
- }
42
- }
43
- }
44
- }
45
- ```
46
-
47
- ### 3. Verify Connection
48
-
49
- Use `health.ping` tool to confirm the server is connected and the profile is valid.
50
-
51
- ## Operations
52
-
53
- ### Health Check
54
-
55
- Run `health.ping` to confirm config readiness and SDK adapter status.
56
-
57
- ### GraphQL
58
-
59
- | Operation | Tool | Description |
60
- |-----------|------|-------------|
61
- | Discover fields | `graphql.listRoots` | List all query/mutation root fields |
62
- | Explore type | `graphql.generateFull` | Generate maximal query for a root field |
63
- | Build query | `graphql.buildQuery` | Create query from field selections |
64
- | Validate | `graphql.validate` | Check query against schema |
65
- | Execute | `graphql.execute` | Run query/mutation |
66
-
67
- ### Workflows
68
-
69
- | Operation | Tool | Description |
70
- |-----------|------|-------------|
71
- | List | `workflow.list` | All workflows for a retailer |
72
- | Download | `workflow.download` | Full workflow JSON with rulesets |
73
-
74
- ## Troubleshooting
75
-
76
- | Symptom | Cause | Fix |
77
- |---------|-------|-----|
78
- | `health.ping` fails | No active profile | Run `fluent profile active` |
79
- | Auth error | Expired token | Run `fluent auth login -p <PROFILE>` |
80
- | Empty workflow list | Wrong retailer ref | Check `fluent retailer list -p <PROFILE>` |
81
- | Server won't start | CLI not in PATH | `npm i -g @fluentcommerce/cli` |
82
-
83
- ## MCP Core vs MCP Extension
84
-
85
- Use **MCP Core** when you need:
86
- - Query building and schema validation
87
- - Workflow listing and downloading
88
- - Simple GraphQL with CLI profile auth
89
-
90
- Use **MCP Extension** (`mcp` group) when you need:
91
- - Event dispatch (build, send, verify)
92
- - Auto-paginated queries
93
- - Batch mutations and data ingestion
94
- - Webhook validation
1
+ ---
2
+ name: fluent-mcp-core
3
+ description: Official Fluent Commerce CLI MCP server setup and operations. Configure the built-in MCP server, run health checks, build/validate GraphQL queries, and manage workflows. Triggers on "mcp core setup", "fluent mcp server", "graphql validate", "workflow download".
4
+ user-invocable: true
5
+ allowed-tools: Bash, Read, Write, Edit, Glob, Grep
6
+ argument-hint: <operation> [--profile name] [--retailer ref]
7
+ ---
8
+
9
+ # Fluent MCP Core
10
+
11
+ Setup and operations guide for the official Fluent Commerce CLI MCP server.
12
+
13
+ ## When to Use
14
+
15
+ - Setting up the built-in MCP server for a project
16
+ - Building and validating GraphQL queries against the schema
17
+ - Listing or downloading workflow definitions
18
+ - Diagnosing MCP server connectivity issues
19
+
20
+ ## Setup
21
+
22
+ ### 1. Ensure CLI Profile Exists
23
+
24
+ ```bash
25
+ fluent profile active
26
+ fluent profile list
27
+ ```
28
+
29
+ ### 2. Configure `.mcp.json`
30
+
31
+ Add to your project root:
32
+
33
+ ```json
34
+ {
35
+ "mcpServers": {
36
+ "fluent-mcp": {
37
+ "command": "fluent",
38
+ "args": ["mcp", "server", "--stdio"],
39
+ "env": {
40
+ "FLUENT_PROFILE": "YOUR_PROFILE"
41
+ }
42
+ }
43
+ }
44
+ }
45
+ ```
46
+
47
+ ### 3. Verify Connection
48
+
49
+ Use `health.ping` tool to confirm the server is connected and the profile is valid.
50
+
51
+ ## Operations
52
+
53
+ ### Health Check
54
+
55
+ Run `health.ping` to confirm config readiness and SDK adapter status.
56
+
57
+ ### GraphQL
58
+
59
+ | Operation | Tool | Description |
60
+ |-----------|------|-------------|
61
+ | Discover fields | `graphql.listRoots` | List all query/mutation root fields |
62
+ | Explore type | `graphql.generateFull` | Generate maximal query for a root field |
63
+ | Build query | `graphql.buildQuery` | Create query from field selections |
64
+ | Validate | `graphql.validate` | Check query against schema |
65
+ | Execute | `graphql.execute` | Run query/mutation |
66
+
67
+ ### Workflows
68
+
69
+ | Operation | Tool | Description |
70
+ |-----------|------|-------------|
71
+ | List | `workflow.list` | All workflows for a retailer |
72
+ | Download | `workflow.download` | Full workflow JSON with rulesets |
73
+
74
+ ## Troubleshooting
75
+
76
+ | Symptom | Cause | Fix |
77
+ |---------|-------|-----|
78
+ | `health.ping` fails | No active profile | Run `fluent profile active` |
79
+ | Auth error | Expired token | Run `fluent auth login -p <PROFILE>` |
80
+ | Empty workflow list | Wrong retailer ref | Check `fluent retailer list -p <PROFILE>` |
81
+ | Server won't start | CLI not in PATH | `npm i -g @fluentcommerce/cli` |
82
+
83
+ ## MCP Core vs MCP Extension
84
+
85
+ Use **MCP Core** when you need:
86
+ - Query building and schema validation
87
+ - Workflow listing and downloading
88
+ - Simple GraphQL with CLI profile auth
89
+
90
+ Use **MCP Extension** (`mcp` group) when you need:
91
+ - Event dispatch (build, send, verify)
92
+ - Auto-paginated queries
93
+ - Batch mutations and data ingestion
94
+ - Webhook validation