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

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,21 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.1.12] - 2026-06-16
4
+
5
+ ### Changed
6
+
7
+ - Added a README success-check section so first-time npm/npx and GitHub users
8
+ can verify the MCP server, visible tools, and returned gate statuses before
9
+ opening feedback issues or connecting private workflows.
10
+
11
+ ## [0.1.11] - 2026-06-15
12
+
13
+ ### Added
14
+
15
+ - Added a copy-ready faq_candidate_review example so developers can test the
16
+ repeated-support-question to FAQ candidate path before opening workflow
17
+ requests or connecting private support data.
18
+
3
19
  ## [0.1.10] - 2026-06-14
4
20
 
5
21
  ### 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
 
@@ -46,6 +55,26 @@ Claude Desktop config location:
46
55
  - macOS: `~/Library/Application Support/Claude/claude_desktop_config.json`
47
56
  - Windows: `%APPDATA%\Claude\claude_desktop_config.json`
48
57
 
58
+ ## What Success Looks Like
59
+
60
+ Use this quick check before connecting private systems or opening an issue:
61
+
62
+ - The MCP client starts `miraigent-free-ai-ops-mcp` without credentials.
63
+ - `tools/list` shows four public alpha tools:
64
+ `human_review_gate`, `faq_candidate_review`, `ai_safe_crm_note`, and
65
+ `prompt_risk_review`.
66
+ - A support-reply review returns one of `auto_ok`, `review_required`, or
67
+ `stop`, plus a `boundary` note that confirms the package does not send
68
+ messages.
69
+ - A prompt review returns `proceed_with_checklist`,
70
+ `human_review_required`, or `stop_before_ai_use` before any real customer
71
+ data is used.
72
+
73
+ If one of those checks fails, open a Tried It feedback issue with the command
74
+ you ran, the public-safe input shape, and the returned status field. Do not
75
+ paste private customer records, secrets, internal policy text, or paid product
76
+ files.
77
+
49
78
  ## Who This Helps
50
79
 
51
80
  - Developers adding review gates to AI agents or MCP tools.
@@ -65,16 +94,25 @@ Start with the tool that matches the first unsafe handoff in your workflow:
65
94
  `ai_safe_crm_note`.
66
95
  - A prompt may touch customer data or public output: use `prompt_risk_review`.
67
96
 
97
+ Copy-ready examples:
98
+
99
+ - Human review gate: `npm run example:human-review-gate`
100
+ - FAQ candidate review: `npm run example:faq-candidate-review`
101
+ - Prompt risk review: `npm run example:prompt-risk-review`
102
+
68
103
  All examples use synthetic data. Keep private customer records, secrets,
69
104
  internal policy text, and paid product files out of public issues and screenshots.
70
105
 
71
106
  ## What To Do Next
72
107
 
73
108
  - Try one tool with synthetic data.
109
+ - If you ran `npx @miraigent/free-ai-ops-mcp`, paste the public-safe result
110
+ shape into the Tried It feedback issue.
74
111
  - Share what happened in the Tried It feedback issue if setup, JSON-RPC input,
75
112
  or the returned gate decision was unclear.
76
113
  - 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.
114
+ - Use the Gumroad kit after the MCP example if you want CSV/checklist files
115
+ instead of npm.
78
116
  - Adapt the review-gate fields before connecting private systems or real users.
79
117
 
80
118
  Issue entry points:
@@ -207,6 +245,10 @@ Run the prompt risk review example:
207
245
 
208
246
  npm run example:prompt-risk-review
209
247
 
248
+ Run the FAQ candidate review example:
249
+
250
+ npm run example:faq-candidate-review
251
+
210
252
  ## npm Package
211
253
 
212
254
  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.12' };
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.12",
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": [