mcp-mqtt-plc
Version:
MCP server for MQTT-PLC communication with real-time industrial PLC data collection and control
80 lines (79 loc) • 2.21 kB
JSON
{
"name": "mcp-mqtt-plc",
"version": "1.0.3",
"type": "module",
"description": "MCP server for MQTT-PLC communication with real-time industrial PLC data collection and control",
"main": "dist/server.js",
"bin": {
"mcp-mqtt-plc": "./dist/server.js"
},
"files": [
"dist/**/*",
"examples/",
"docs/",
"README.md",
"LICENSE"
],
"directories": {
"test": "tests"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^0.5.0",
"dotenv": "^17.2.1",
"mqtt": "^5.14.0"
},
"devDependencies": {
"@types/mqtt": "^0.0.34",
"@types/node": "^20.0.0",
"typescript": "^5.0.0"
},
"scripts": {
"build": "tsc",
"start": "node dist/server.js",
"dev": "tsc && node dist/server.js",
"watch": "tsc --watch",
"test-mqtt": "tsc && node tests/test-mqtt.js",
"mock-plc": "node tests/mock-plc.js",
"dev-helper": "node scripts/dev.js",
"clean": "node scripts/dev.js clean",
"check": "node scripts/dev.js check",
"service:start": "node scripts/mqtt-service.js start",
"service:stop": "node scripts/mqtt-service.js stop",
"service:status": "node scripts/mqtt-service.js status",
"service:restart": "node scripts/mqtt-service.js restart",
"service:logs": "node scripts/mqtt-service.js logs",
"prepublishOnly": "npm run build && npm test 2>/dev/null || echo 'Tests skipped during publish'",
"publish:patch": "npm version patch && npm publish",
"publish:minor": "npm version minor && npm publish",
"publish:major": "npm version major && npm publish",
"pack": "npm run build && npm pack",
"test-install": "node tests/test-installation.js"
},
"engines": {
"node": ">=18.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Manusevl/mcp-mqtt-plc.git"
},
"keywords": [
"mcp",
"mqtt",
"plc",
"industrial",
"automation",
"model-context-protocol",
"iot",
"scada",
"real-time",
"vscode",
"llm",
"ai-assistant"
],
"author": "Manusevl",
"license": "MIT",
"bugs": {
"url": "https://github.com/Manusevl/mcp-mqtt-plc/issues"
},
"homepage": "https://github.com/Manusevl/mcp-mqtt-plc#readme"
}