feat: Implement NUT client library and initial project scaffolding for UPS communication.

This commit is contained in:
2026-02-08 00:27:34 +08:00
commit 20f15ac025
11 changed files with 2179 additions and 0 deletions

33
package.json Normal file
View File

@@ -0,0 +1,33 @@
{
"name": "nut-ups-mcp",
"version": "1.0.0",
"description": "MCP Server for Network UPS Tools (NUT) integration",
"type": "module",
"main": "dist/index.js",
"bin": {
"nut-ups-mcp": "./dist/index.js"
},
"scripts": {
"build": "tsc",
"start": "node dist/index.js",
"dev": "tsc --watch"
},
"keywords": [
"mcp",
"nut",
"ups",
"network-ups-tools",
"llm",
"ai"
],
"author": "",
"license": "MIT",
"dependencies": {
"@modelcontextprotocol/sdk": "^1.0.0",
"dotenv": "^16.3.1"
},
"devDependencies": {
"@types/node": "^20.10.0",
"typescript": "^5.3.0"
}
}