npm normalizes the bare https URL to git+https://….git at publish time and warns about it on every package. Storing the canonical form removes the warning and matches what npm's trusted-publisher check compares against the repository.
59 lines
2 KiB
JSON
59 lines
2 KiB
JSON
{
|
|
"name": "@modelcontextprotocol/server-system-monitor",
|
|
"version": "2.0.0",
|
|
"type": "module",
|
|
"description": "System monitor MCP App Server with real-time stats",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/modelcontextprotocol/ext-apps.git",
|
|
"directory": "examples/system-monitor-server"
|
|
},
|
|
"license": "MIT",
|
|
"main": "dist/server.js",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc --noEmit && cross-env INPUT=mcp-app.html vite build && tsc -p tsconfig.server.json && bun build server.ts --outdir dist --target node && bun build main.ts --outfile dist/index.js --target node --external \"./server.js\" --banner \"#!/usr/bin/env node\"",
|
|
"watch": "cross-env INPUT=mcp-app.html vite build --watch",
|
|
"serve:http": "bun --watch main.ts",
|
|
"serve:stdio": "bun main.ts --stdio",
|
|
"start": "npm run start:http",
|
|
"start:http": "cross-env NODE_ENV=development npm run build && npm run serve:http",
|
|
"start:stdio": "cross-env NODE_ENV=development npm run build 1>&2 && npm run serve:stdio",
|
|
"dev": "cross-env NODE_ENV=development concurrently \"npm run watch\" \"npm run serve:http\"",
|
|
"prepublishOnly": "npm run build",
|
|
"serve": "bun --watch main.ts"
|
|
},
|
|
"dependencies": {
|
|
"@modelcontextprotocol/express": "2.0.0",
|
|
"@modelcontextprotocol/ext-apps": "^2.0.0",
|
|
"@modelcontextprotocol/node": "2.0.0",
|
|
"@modelcontextprotocol/server": "2.0.0",
|
|
"chart.js": "^4.4.0",
|
|
"cors": "^2.8.5",
|
|
"express": "^5.1.0",
|
|
"systeminformation": "^5.31.6",
|
|
"zod": "^4.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/cors": "^2.8.19",
|
|
"@types/express": "^5.0.0",
|
|
"@types/node": "22.10.0",
|
|
"concurrently": "^9.2.1",
|
|
"cross-env": "^10.1.0",
|
|
"typescript": "^5.9.3",
|
|
"vite": "^6.0.0",
|
|
"vite-plugin-singlefile": "^2.3.0"
|
|
},
|
|
"types": "dist/server.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/server.d.ts",
|
|
"default": "./dist/server.js"
|
|
}
|
|
},
|
|
"bin": {
|
|
"mcp-system-monitor-server": "dist/index.js"
|
|
}
|
|
}
|