@miraigent/free-ai-ops-mcp 0.1.39 → 0.1.41
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 +16 -0
- package/README.md +13 -0
- package/examples/prompt-risk-json-rpc-session/README.md +4 -0
- package/package.json +1 -1
- package/scripts/smoke-test.mjs +6 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.1.41] - 2026-07-17
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- Added an initialize response check to the public smoke-test path so MCP users
|
|
8
|
+
can confirm the protocol version, capabilities, and package version before
|
|
9
|
+
debugging desktop client configuration.
|
|
10
|
+
|
|
11
|
+
## [0.1.40] - 2026-07-16
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
|
|
15
|
+
- Added a public npm command to the prompt-risk JSON-RPC session example so
|
|
16
|
+
users can test the stop-before-AI-use path before cloning the repository or
|
|
17
|
+
connecting private workflow data.
|
|
18
|
+
|
|
3
19
|
## [0.1.39] - 2026-07-15
|
|
4
20
|
|
|
5
21
|
### Added
|
package/README.md
CHANGED
|
@@ -75,6 +75,15 @@ If only the desktop MCP client shows an older version after those checks pass,
|
|
|
75
75
|
restart the client and re-check its `command` and `args` path before changing
|
|
76
76
|
any private workflow data.
|
|
77
77
|
|
|
78
|
+
Quick initialize response check:
|
|
79
|
+
|
|
80
|
+
npx -y free-ai-ops-mcp@npm:@miraigent/free-ai-ops-mcp < examples/mcp-json-rpc-session/sample-session.jsonl | head -n 1
|
|
81
|
+
|
|
82
|
+
That first response should include `protocolVersion: "2024-11-05"`,
|
|
83
|
+
`capabilities.tools`, and `serverInfo.version`. If those fields appear in the
|
|
84
|
+
terminal but not in a desktop MCP client, debug the client restart/config path
|
|
85
|
+
before changing private workflow data.
|
|
86
|
+
|
|
78
87
|
If the result is unclear, open a Tried It feedback issue with synthetic input
|
|
79
88
|
only. A useful issue can be as small as:
|
|
80
89
|
|
|
@@ -350,6 +359,10 @@ The session sends three JSON-RPC messages:
|
|
|
350
359
|
- tools/list: confirms the four public alpha tools are visible.
|
|
351
360
|
- tools/call: runs human_review_gate with synthetic support-reply data.
|
|
352
361
|
|
|
362
|
+
The first response should include `protocolVersion: "2024-11-05"`,
|
|
363
|
+
`capabilities.tools`, and a `serverInfo.version` value that matches
|
|
364
|
+
`package.json` and the public npm registry version.
|
|
365
|
+
|
|
353
366
|
If you open a GitHub issue, copy only synthetic input shapes and returned status
|
|
354
367
|
fields. Do not paste private customer records, secrets, tokens, internal policy
|
|
355
368
|
text, or MIRAI Memory behavior.
|
|
@@ -13,6 +13,10 @@ From the repository root:
|
|
|
13
13
|
|
|
14
14
|
npm run mcp < examples/prompt-risk-json-rpc-session/sample-session.jsonl
|
|
15
15
|
|
|
16
|
+
From the public npm package:
|
|
17
|
+
|
|
18
|
+
npx -y free-ai-ops-mcp@npm:@miraigent/free-ai-ops-mcp < examples/prompt-risk-json-rpc-session/sample-session.jsonl
|
|
19
|
+
|
|
16
20
|
You should receive three JSON-RPC response lines. The final response should
|
|
17
21
|
include a `prompt_risk_review` result with:
|
|
18
22
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@miraigent/free-ai-ops-mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.41",
|
|
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",
|
package/scripts/smoke-test.mjs
CHANGED
|
@@ -119,6 +119,8 @@ async function runServerWithRequests(requestLines) {
|
|
|
119
119
|
|
|
120
120
|
const responses = await runServerWithRequests(requests.map((request) => JSON.stringify(request)));
|
|
121
121
|
assert.equal(responses.length, requests.length);
|
|
122
|
+
assert.equal(responses[0].result.protocolVersion, '2024-11-05');
|
|
123
|
+
assert.deepEqual(responses[0].result.capabilities, { tools: {} });
|
|
122
124
|
assert.equal(responses[0].result.serverInfo.name, 'miraigent-free-ai-ops-mcp');
|
|
123
125
|
assert.equal(responses[0].result.serverInfo.version, packageJson.version);
|
|
124
126
|
assert.equal(responses[1].result.tools.length, 4);
|
|
@@ -166,6 +168,8 @@ const sampleSession = await readFile(
|
|
|
166
168
|
const sampleLines = sampleSession.trim().split('\n');
|
|
167
169
|
const sampleResponses = await runServerWithRequests(sampleLines);
|
|
168
170
|
assert.equal(sampleResponses.length, 3);
|
|
171
|
+
assert.equal(sampleResponses[0].result.protocolVersion, '2024-11-05');
|
|
172
|
+
assert.deepEqual(sampleResponses[0].result.capabilities, { tools: {} });
|
|
169
173
|
assert.equal(sampleResponses[0].result.serverInfo.name, 'miraigent-free-ai-ops-mcp');
|
|
170
174
|
assert.equal(sampleResponses[0].result.serverInfo.version, packageJson.version);
|
|
171
175
|
assert.equal(sampleResponses[1].result.tools.length, 4);
|
|
@@ -188,6 +192,8 @@ const promptRiskSession = await readFile(
|
|
|
188
192
|
);
|
|
189
193
|
const promptRiskResponses = await runServerWithRequests(promptRiskSession.trim().split('\n'));
|
|
190
194
|
assert.equal(promptRiskResponses.length, 3);
|
|
195
|
+
assert.equal(promptRiskResponses[0].result.protocolVersion, '2024-11-05');
|
|
196
|
+
assert.deepEqual(promptRiskResponses[0].result.capabilities, { tools: {} });
|
|
191
197
|
assert.equal(promptRiskResponses[0].result.serverInfo.name, 'miraigent-free-ai-ops-mcp');
|
|
192
198
|
assert.equal(promptRiskResponses[0].result.serverInfo.version, packageJson.version);
|
|
193
199
|
assert.equal(promptRiskResponses[1].result.tools.length, 4);
|