local-model-suitability-mcp 1.0.0 → 1.0.1
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/package.json +3 -2
- package/server.json +24 -20
- package/src/server.js +14 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "local-model-suitability-mcp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "AI-powered MCP tool that evaluates whether a local model is suitable for a specific task — helps agents decide between local inference and cloud APIs based on cost, privacy, latency, and quality requirements.",
|
|
5
5
|
"main": "src/server.js",
|
|
6
6
|
"type": "module",
|
|
@@ -34,5 +34,6 @@
|
|
|
34
34
|
"type": "git",
|
|
35
35
|
"url": "https://github.com/OjasKord/local-model-suitability-mcp"
|
|
36
36
|
},
|
|
37
|
-
"homepage": "https://kordagencies.com"
|
|
37
|
+
"homepage": "https://kordagencies.com",
|
|
38
|
+
"mcpName": "io.github.OjasKord/local-model-suitability-mcp"
|
|
38
39
|
}
|
package/server.json
CHANGED
|
@@ -1,27 +1,31 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"description": "AI-powered tool that evaluates whether a local model (Ollama, LM Studio, etc.) is suitable for a specific task — helping agents make intelligent decisions about cost, privacy, latency, and quality without guessing.",
|
|
2
|
+
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
|
|
3
|
+
"name": "io.github.OjasKord/local-model-suitability-mcp",
|
|
5
4
|
"version": "1.0.0",
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
},
|
|
5
|
+
"description": "AI-powered evaluation of local model suitability for agents.",
|
|
6
|
+
"title": "Local Model Suitability MCP",
|
|
7
|
+
"websiteUrl": "https://kordagencies.com",
|
|
10
8
|
"repository": {
|
|
11
|
-
"
|
|
12
|
-
"
|
|
9
|
+
"url": "https://github.com/OjasKord/local-model-suitability-mcp",
|
|
10
|
+
"source": "github"
|
|
13
11
|
},
|
|
14
|
-
"
|
|
15
|
-
"license": "MIT",
|
|
16
|
-
"keywords": ["mcp", "agent", "local-llm", "ollama", "model-routing", "privacy", "cost-optimisation"],
|
|
17
|
-
"categories": ["ai", "infrastructure", "developer-tools"],
|
|
18
|
-
"tools": [
|
|
12
|
+
"packages": [
|
|
19
13
|
{
|
|
20
|
-
"
|
|
21
|
-
"
|
|
14
|
+
"registryType": "npm",
|
|
15
|
+
"registryBaseUrl": "https://registry.npmjs.org",
|
|
16
|
+
"identifier": "local-model-suitability-mcp",
|
|
17
|
+
"version": "1.0.0",
|
|
18
|
+
"transport": {
|
|
19
|
+
"type": "stdio"
|
|
20
|
+
},
|
|
21
|
+
"environmentVariables": [
|
|
22
|
+
{
|
|
23
|
+
"name": "ANTHROPIC_API_KEY",
|
|
24
|
+
"description": "Anthropic API key required to power AI-based evaluations",
|
|
25
|
+
"isRequired": true,
|
|
26
|
+
"isSecret": true
|
|
27
|
+
}
|
|
28
|
+
]
|
|
22
29
|
}
|
|
23
|
-
]
|
|
24
|
-
"installation": {
|
|
25
|
-
"npm": "local-model-suitability-mcp"
|
|
26
|
-
}
|
|
30
|
+
]
|
|
27
31
|
}
|
package/src/server.js
CHANGED
|
@@ -406,6 +406,20 @@ const httpServer = createServer((req, res) => {
|
|
|
406
406
|
return;
|
|
407
407
|
}
|
|
408
408
|
|
|
409
|
+
if (req.url === '/.well-known/mcp/server-card.json') {
|
|
410
|
+
res.writeHead(200);
|
|
411
|
+
res.end(JSON.stringify({
|
|
412
|
+
name: 'local-model-suitability-mcp',
|
|
413
|
+
version: VERSION,
|
|
414
|
+
description: 'AI-powered evaluation of whether a local model is suitable for a specific task. Helps agents decide between local inference and cloud APIs based on cost, privacy, latency, and quality.',
|
|
415
|
+
tools: [TOOL_DEFINITION],
|
|
416
|
+
transport: 'stdio',
|
|
417
|
+
homepage: 'https://kordagencies.com',
|
|
418
|
+
author: 'ojas1'
|
|
419
|
+
}));
|
|
420
|
+
return;
|
|
421
|
+
}
|
|
422
|
+
|
|
409
423
|
if (req.url === '/stats') {
|
|
410
424
|
const statsKey = req.headers['x-stats-key'];
|
|
411
425
|
if (statsKey !== process.env.STATS_KEY) {
|