local-model-suitability-mcp 1.1.13 → 1.1.15
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 +6 -0
- package/icon.svg +5 -0
- package/package.json +1 -1
- package/src/server.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.1.15] - 2026-06-11
|
|
4
|
+
- feat: add /.well-known/mcp/server-card.json static metadata endpoint
|
|
5
|
+
|
|
6
|
+
## [1.1.14] - 2026-06-11
|
|
7
|
+
- fix: bump version past existing npm publish (1.1.13 already on registry)
|
|
8
|
+
|
|
3
9
|
## [1.1.13] - 2026-06-11
|
|
4
10
|
- feat: per-tool kill switch + per-minute rate limiting on AI tools
|
|
5
11
|
|
package/icon.svg
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="32" height="32">
|
|
2
|
+
<rect width="32" height="32" rx="6" fill="#080A0F"/>
|
|
3
|
+
<circle cx="16" cy="16" r="10" fill="none" stroke="#00E5C3" stroke-width="2"/>
|
|
4
|
+
<polyline points="11,16 14.5,19.5 21,12.5" fill="none" stroke="#00E5C3" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
+
</svg>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "local-model-suitability-mcp",
|
|
3
3
|
"mcpName": "io.github.OjasKord/local-model-suitability-mcp",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.15",
|
|
5
5
|
"description": "AI model router for agents. Checks whether a local model can handle the task before calling cloud inference. LOCAL/CLOUD verdict saves cost on every call.",
|
|
6
6
|
"main": "src/server.js",
|
|
7
7
|
"type": "module",
|
package/src/server.js
CHANGED
|
@@ -3,7 +3,7 @@ import { createHmac, timingSafeEqual } from 'crypto';
|
|
|
3
3
|
import { readFileSync, writeFileSync } from 'fs';
|
|
4
4
|
import Anthropic from '@anthropic-ai/sdk';
|
|
5
5
|
|
|
6
|
-
const VERSION = '1.1.
|
|
6
|
+
const VERSION = '1.1.15';
|
|
7
7
|
const PRO_UPGRADE_URL = 'https://buy.stripe.com/cNibJ08wd7zf6NS0h2ebu0p';
|
|
8
8
|
const ENTERPRISE_UPGRADE_URL = 'https://buy.stripe.com/28E9AS27PbPvfkoe7Sebu0q';
|
|
9
9
|
const PERSIST_FILE = '/tmp/lms_stats.json';
|
|
@@ -503,7 +503,7 @@ const server = createServer(async (req, res) => {
|
|
|
503
503
|
// Server card (Smithery)
|
|
504
504
|
if (req.url === '/.well-known/mcp/server-card.json') {
|
|
505
505
|
res.writeHead(200, { ...cors, 'Content-Type': 'application/json' });
|
|
506
|
-
res.end(JSON.stringify({ name: 'local-model-suitability-mcp', version: VERSION
|
|
506
|
+
res.end(JSON.stringify({ serverInfo: { name: 'local-model-suitability-mcp', version: VERSION }, tools: [{ name: TOOL_DEFINITION.name, description: TOOL_DEFINITION.description.slice(0, 150) }], resources: [], prompts: [] }));
|
|
507
507
|
return;
|
|
508
508
|
}
|
|
509
509
|
|