@miraigent/free-ai-ops-mcp 0.1.10 → 0.1.11

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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.1.11] - 2026-06-15
4
+
5
+ ### Added
6
+
7
+ - Added a copy-ready faq_candidate_review example so developers can test the
8
+ repeated-support-question to FAQ candidate path before opening workflow
9
+ requests or connecting private support data.
10
+
3
11
  ## [0.1.10] - 2026-06-14
4
12
 
5
13
  ### Changed
package/README.md CHANGED
@@ -19,8 +19,17 @@ examples/human-review-gate/.
19
19
  For a complete public-safe MCP session that covers initialize, tools/list, and
20
20
  one tool call, see examples/mcp-json-rpc-session/.
21
21
 
22
- If you are not a developer and only want the spreadsheet/checklist version
23
- first, download the free review kit:
22
+ If the result is unclear, open a Tried It feedback issue with synthetic input
23
+ only. A useful issue can be as small as:
24
+
25
+ - the tool you ran
26
+ - the returned status or field that was confusing
27
+ - the review rule, risk flag, or example that would make the next run easier
28
+
29
+ https://github.com/Miraigent/miraigent-free-ai-ops-mcp/issues/new?template=tried_it_feedback.md
30
+
31
+ If you are not a developer and only want the spreadsheet/checklist version after
32
+ seeing the MCP example, download the free review kit:
24
33
 
25
34
  https://miraigent.gumroad.com/l/human-review-gate-ai-drafts?utm_source=github&utm_medium=readme&utm_campaign=free-ai-ops-mcp-013
26
35
 
@@ -65,16 +74,25 @@ Start with the tool that matches the first unsafe handoff in your workflow:
65
74
  `ai_safe_crm_note`.
66
75
  - A prompt may touch customer data or public output: use `prompt_risk_review`.
67
76
 
77
+ Copy-ready examples:
78
+
79
+ - Human review gate: `npm run example:human-review-gate`
80
+ - FAQ candidate review: `npm run example:faq-candidate-review`
81
+ - Prompt risk review: `npm run example:prompt-risk-review`
82
+
68
83
  All examples use synthetic data. Keep private customer records, secrets,
69
84
  internal policy text, and paid product files out of public issues and screenshots.
70
85
 
71
86
  ## What To Do Next
72
87
 
73
88
  - Try one tool with synthetic data.
89
+ - If you ran `npx @miraigent/free-ai-ops-mcp`, paste the public-safe result
90
+ shape into the Tried It feedback issue.
74
91
  - Share what happened in the Tried It feedback issue if setup, JSON-RPC input,
75
92
  or the returned gate decision was unclear.
76
93
  - Open a workflow request if a risk flag, status, or output field is missing.
77
- - Use the Gumroad kit only if you want CSV/checklist files instead of npm.
94
+ - Use the Gumroad kit after the MCP example if you want CSV/checklist files
95
+ instead of npm.
78
96
  - Adapt the review-gate fields before connecting private systems or real users.
79
97
 
80
98
  Issue entry points:
@@ -207,6 +225,10 @@ Run the prompt risk review example:
207
225
 
208
226
  npm run example:prompt-risk-review
209
227
 
228
+ Run the FAQ candidate review example:
229
+
230
+ npm run example:faq-candidate-review
231
+
210
232
  ## npm Package
211
233
 
212
234
  Package name: @miraigent/free-ai-ops-mcp
@@ -0,0 +1,33 @@
1
+ # FAQ Candidate Review Example
2
+
3
+ This example shows how to call the public faq_candidate_review MCP tool when a
4
+ support question keeps repeating.
5
+
6
+ Use it before turning repeated inquiry patterns into a public FAQ, internal FAQ,
7
+ or human-review rule.
8
+
9
+ ## Run
10
+
11
+ From the repository root:
12
+
13
+ npm run example:faq-candidate-review
14
+
15
+ The example sends sample-request.jsonl to the MCP server and prints the
16
+ faq_candidate_review result.
17
+
18
+ ## What To Look For
19
+
20
+ The sample uses a low-risk pricing-plan question, so the tool should return:
21
+
22
+ - recommendedStatus: public_faq_candidate
23
+ - faqOutline: a question pattern and answer-scope hint
24
+ - reviewSignals: frequency, response cost, and risk level
25
+
26
+ ## Safe Use
27
+
28
+ Use synthetic examples only. Do not paste private customer records, contracts,
29
+ payment details, internal policy text, or support inbox exports into public
30
+ issues, examples, or screenshots.
31
+
32
+ This is an operations review helper. It does not publish FAQ pages or send
33
+ customer replies.
@@ -0,0 +1,28 @@
1
+ import { spawn } from 'node:child_process';
2
+ import fs from 'node:fs';
3
+
4
+ const child = spawn(process.execPath, ['mcp/free-ai-ops-server.mjs'], {
5
+ stdio: ['pipe', 'pipe', 'inherit']
6
+ });
7
+
8
+ const request = fs.readFileSync('examples/faq-candidate-review/sample-request.jsonl', 'utf8');
9
+ let stdout = '';
10
+
11
+ child.stdout.on('data', (chunk) => {
12
+ stdout += chunk;
13
+ });
14
+
15
+ child.stdin.write(request.trim() + '\n');
16
+ child.stdin.end();
17
+
18
+ await new Promise((resolve, reject) => {
19
+ child.on('error', reject);
20
+ child.on('close', (code) => {
21
+ if (code !== 0) reject(new Error('server exited with ' + code));
22
+ else resolve();
23
+ });
24
+ });
25
+
26
+ const response = JSON.parse(stdout.trim());
27
+ const payload = JSON.parse(response.result.content[0].text);
28
+ console.log(JSON.stringify(payload, null, 2));
@@ -0,0 +1 @@
1
+ {"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"faq_candidate_review","arguments":{"inquiryPattern":"customers ask which pricing plan includes setup support","frequency":"high","responseCost":"medium","riskLevel":"low","currentAnswer":"Setup support is included in the team plan. Solo plans use the public setup checklist."}}}
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const serverInfo = { name: 'miraigent-free-ai-ops-mcp', version: '0.1.10' };
3
+ const serverInfo = { name: 'miraigent-free-ai-ops-mcp', version: '0.1.11' };
4
4
 
5
5
  const tools = [
6
6
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@miraigent/free-ai-ops-mcp",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "Free MCP server for developers adding human review gates, prompt risk checks, FAQ review, and CRM note safety to AI tools.",
5
5
  "homepage": "https://github.com/Miraigent/miraigent-free-ai-ops-mcp",
6
6
  "type": "module",
@@ -25,6 +25,7 @@
25
25
  "test": "node scripts/smoke-test.mjs",
26
26
  "example:human-review-gate": "node examples/human-review-gate/run-example.mjs",
27
27
  "example:prompt-risk-review": "node examples/prompt-risk-review/run-example.mjs",
28
+ "example:faq-candidate-review": "node examples/faq-candidate-review/run-example.mjs",
28
29
  "mcp": "node mcp/free-ai-ops-server.mjs"
29
30
  },
30
31
  "keywords": [