Skip to content

Commit 7c09f9e

Browse files
fix: upgrade deps for MCP security score and make server zero-config
- Upgrade systeminformation ^5.23.5 → ^5.31.2 (root + mcp) — resolves 4 High CVEs - Upgrade @modelcontextprotocol/sdk ^1.12.1 → ^1.27.1 — resolves 3 High CVEs - Remove environmentVariables from mcp/server.json — defaults are hardcoded, MCP now works out of the box without any env var configuration - Fix MCP server version announcement 0.1.0 → 0.2.0 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent a334677 commit 7c09f9e

6 files changed

Lines changed: 14 additions & 36 deletions

File tree

mcp/package-lock.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mcp/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@
4040
"node": ">=20"
4141
},
4242
"dependencies": {
43-
"@modelcontextprotocol/sdk": "^1.12.1",
43+
"@modelcontextprotocol/sdk": "^1.27.1",
4444
"@supabase/supabase-js": "^2.98.0",
4545
"chalk": "^5.3.0",
4646
"cli-table3": "^0.6.5",
4747
"commander": "^12.1.0",
4848
"ollama": "^0.5.12",
4949
"ora": "^8.1.1",
5050
"posthog-node": "^5.26.0",
51-
"systeminformation": "^5.23.5",
51+
"systeminformation": "^5.31.2",
5252
"zod": "^3.24.4"
5353
},
5454
"devDependencies": {

mcp/server.json

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -16,29 +16,7 @@
1616
"transport": {
1717
"type": "stdio"
1818
},
19-
"environmentVariables": [
20-
{
21-
"description": "Supabase project URL for uploading results to the leaderboard",
22-
"isRequired": false,
23-
"format": "string",
24-
"isSecret": false,
25-
"name": "METRILLM_SUPABASE_URL"
26-
},
27-
{
28-
"description": "Supabase anonymous key for uploading results",
29-
"isRequired": false,
30-
"format": "string",
31-
"isSecret": true,
32-
"name": "METRILLM_SUPABASE_ANON_KEY"
33-
},
34-
{
35-
"description": "Base URL for public result pages",
36-
"isRequired": false,
37-
"format": "string",
38-
"isSecret": false,
39-
"name": "METRILLM_PUBLIC_RESULT_BASE_URL"
40-
}
41-
]
19+
"environmentVariables": []
4220
}
4321
]
4422
}

mcp/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import {
2020

2121
const server = new McpServer({
2222
name: "metrillm",
23-
version: "0.1.0",
23+
version: "0.2.0",
2424
});
2525

2626
// Register tools

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"ollama": "^0.5.12",
5050
"ora": "^8.1.1",
5151
"posthog-node": "^5.26.0",
52-
"systeminformation": "^5.23.5"
52+
"systeminformation": "^5.31.2"
5353
},
5454
"devDependencies": {
5555
"@types/node": "^22.10.0",

0 commit comments

Comments
 (0)