UNPKG

safe-commander-mcp

Version:

A secure MCP server for executing whitelisted development commands with comprehensive security controls and resource limits

65 lines (64 loc) 1.81 kB
{ "name": "safe-commander-mcp", "version": "1.1.4", "description": "A secure MCP server for executing whitelisted development commands with comprehensive security controls and resource limits", "main": "dist/src/index.js", "bin": { "safe-commander-mcp": "dist/src/index.js" }, "files": [ "dist/**/*", "README.md", "LICENSE", "CHANGELOG.md" ], "keywords": [ "mcp", "model-context-protocol", "security", "command-execution", "ai-tools", "claude", "development-tools", "safe-execution", "typescript" ], "homepage": "https://github.com/nonameb3/safe-commander-mcp#readme", "repository": { "type": "git", "url": "git+https://github.com/nonameb3/safe-commander-mcp.git" }, "bugs": { "url": "https://github.com/nonameb3/safe-commander-mcp/issues" }, "author": "roonnapai <roonnapai.dev@gmail.com>", "license": "MIT", "engines": { "node": ">=18.0.0" }, "scripts": { "build": "tsc", "build:clean": "rm -rf dist && npm run build", "start": "node dist/src/index.js", "dev": "tsx src/index.ts", "dev:watch": "tsx watch src/index.ts", "start:mcp": "npm run build && ALLOWED_PATH=/tmp npx @modelcontextprotocol/inspector node dist/src/index.js", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "lint": "tsc --noEmit", "prepublishOnly": "npm run build", "postinstall": "echo 'Safe Commander MCP installed successfully. See README.md for configuration instructions.'" }, "dependencies": { "@modelcontextprotocol/sdk": "^1.12.0", "@types/node": "^22.15.21", "typescript": "^5.8.3" }, "devDependencies": { "@types/jest": "^29.5.14", "jest": "^29.7.0", "ts-jest": "^29.1.1", "tsx": "^4.19.3" } }