@miraigent/free-ai-ops-mcp 0.1.36 → 0.1.37

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,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.1.37] - 2026-07-12
4
+
5
+ ### Added
6
+
7
+ - Added smoke-test coverage that verifies unsupported JSON-RPC methods return a
8
+ request-scoped error instead of a successful result.
9
+
3
10
  ## [0.1.36] - 2026-07-11
4
11
 
5
12
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@miraigent/free-ai-ops-mcp",
3
- "version": "0.1.36",
3
+ "version": "0.1.37",
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",
@@ -218,3 +218,16 @@ assert.equal(unknownToolResponses.length, 1);
218
218
  assert.equal(unknownToolResponses[0].id, 7);
219
219
  assert.equal(unknownToolResponses[0].error.code, -32000);
220
220
  assert.equal(unknownToolResponses[0].error.message, 'Unknown tool: unknown_public_tool');
221
+
222
+ const unsupportedMethodResponses = await runServerWithRequests([
223
+ JSON.stringify({
224
+ jsonrpc: '2.0',
225
+ id: 8,
226
+ method: 'resources/list',
227
+ params: {}
228
+ })
229
+ ]);
230
+ assert.equal(unsupportedMethodResponses.length, 1);
231
+ assert.equal(unsupportedMethodResponses[0].id, 8);
232
+ assert.equal(unsupportedMethodResponses[0].error.code, -32000);
233
+ assert.equal(unsupportedMethodResponses[0].error.message, 'Unsupported method: resources/list');