@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 +7 -0
- package/package.json +1 -1
- package/scripts/smoke-test.mjs +13 -0
package/CHANGELOG.md
CHANGED
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.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",
|
package/scripts/smoke-test.mjs
CHANGED
|
@@ -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');
|