@miraigent/free-ai-ops-mcp 0.1.34 → 0.1.36
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 +12 -0
- package/examples/mcp-json-rpc-session/README.md +9 -0
- package/package.json +1 -1
- package/scripts/smoke-test.mjs +13 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.1.36] - 2026-07-11
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Added smoke-test coverage that verifies unknown MCP tool calls return a
|
|
8
|
+
JSON-RPC error with the request ID instead of being treated as a successful
|
|
9
|
+
tool result.
|
|
10
|
+
|
|
11
|
+
## [0.1.35] - 2026-07-10
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
|
|
15
|
+
- Added a README version mismatch checklist so npm and GitHub users can compare
|
|
16
|
+
the registry version, npx help output, and MCP initialize response before
|
|
17
|
+
changing desktop client configuration.
|
|
18
|
+
|
|
3
19
|
## [0.1.34] - 2026-07-09
|
|
4
20
|
|
|
5
21
|
### Changed
|
package/README.md
CHANGED
|
@@ -63,6 +63,18 @@ public registry version before changing private client configuration:
|
|
|
63
63
|
The version printed by `npm view` should match the version shown in the package
|
|
64
64
|
help output and in the MCP `initialize` response.
|
|
65
65
|
|
|
66
|
+
Quick version mismatch check:
|
|
67
|
+
|
|
68
|
+
1. Run `npm view @miraigent/free-ai-ops-mcp version`.
|
|
69
|
+
2. Run `npx -y free-ai-ops-mcp@npm:@miraigent/free-ai-ops-mcp --help` and
|
|
70
|
+
confirm the header shows the same version.
|
|
71
|
+
3. Run the one-command smoke test and confirm the `initialize` response includes
|
|
72
|
+
the same `serverInfo.version`.
|
|
73
|
+
|
|
74
|
+
If only the desktop MCP client shows an older version after those checks pass,
|
|
75
|
+
restart the client and re-check its `command` and `args` path before changing
|
|
76
|
+
any private workflow data.
|
|
77
|
+
|
|
66
78
|
If the result is unclear, open a Tried It feedback issue with synthetic input
|
|
67
79
|
only. A useful issue can be as small as:
|
|
68
80
|
|
|
@@ -44,6 +44,15 @@ In raw JSON-RPC output, the tool result is wrapped by MCP as `content[0].text`.
|
|
|
44
44
|
Parse that text value as JSON, then check `gateStatus` before connecting a real
|
|
45
45
|
workflow or changing a desktop client config.
|
|
46
46
|
|
|
47
|
+
For a terminal-only check, you can read just the final response line from the
|
|
48
|
+
public sample and print the parsed tool result:
|
|
49
|
+
|
|
50
|
+
npm run mcp < examples/mcp-json-rpc-session/sample-session.jsonl | tail -n 1 | node -e 'process.stdin.on("data", c => { const r = JSON.parse(c); console.log(JSON.parse(r.result.content[0].text)); })'
|
|
51
|
+
|
|
52
|
+
That should print a public synthetic `human_review_gate` result with
|
|
53
|
+
`gateStatus: "stop"`. Use only the bundled sample input for this quick check,
|
|
54
|
+
not private customer records or desktop client logs.
|
|
55
|
+
|
|
47
56
|
If those fields appear in the terminal but not in Claude Desktop, Cursor, or
|
|
48
57
|
another client, the package is likely running and the next thing to check is the
|
|
49
58
|
client config, restart behavior, or command path.
|
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.36",
|
|
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
|
@@ -205,3 +205,16 @@ assert.equal(
|
|
|
205
205
|
promptRiskToolResult.boundary,
|
|
206
206
|
'This tool is a prompt risk helper. It is not legal advice and does not call an AI API.'
|
|
207
207
|
);
|
|
208
|
+
|
|
209
|
+
const unknownToolResponses = await runServerWithRequests([
|
|
210
|
+
JSON.stringify({
|
|
211
|
+
jsonrpc: '2.0',
|
|
212
|
+
id: 7,
|
|
213
|
+
method: 'tools/call',
|
|
214
|
+
params: { name: 'unknown_public_tool', arguments: {} }
|
|
215
|
+
})
|
|
216
|
+
]);
|
|
217
|
+
assert.equal(unknownToolResponses.length, 1);
|
|
218
|
+
assert.equal(unknownToolResponses[0].id, 7);
|
|
219
|
+
assert.equal(unknownToolResponses[0].error.code, -32000);
|
|
220
|
+
assert.equal(unknownToolResponses[0].error.message, 'Unknown tool: unknown_public_tool');
|