Safe Terminal Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Safe Terminal Mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
A secure, controlled terminal MCP server with strict command whitelisting and multiple safety layers.
npm installnpm run buildnpm startsafe-terminal-mcp/
├── src/
│ └── index.ts # Main server code
├── dist/ # Compiled JavaScript (generated)
├── package.json # Project dependencies
├── tsconfig.json # TypeScript configuration
└── README.md # This filels, pwd, cat, head, tail, find, grep, wcdate, whoami, uname, df, free, uptimegit, npm, node, python (requires allowDangerous)These require allowDangerous: true:
touch, mkdir, cp, mv, rmping, curl, wgetnode, python, npmchmod, chownAdd to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"safe-terminal": {
"command": "node",
"args": ["/absolute/path/to/safe-terminal-mcp/dist/index.js"]
}
}
}run_safe_commandExecute whitelisted commands with safety checks.
Parameters:
command (required): The command to executeallowDangerous (optional): Allow dangerous commands (default: false)workingDir (optional): Working directory (relative to server root)Example:
{
"command": "ls -la",
"allowDangerous": false,
"workingDir": "src"
}list_safe_commandsList all available commands and their danger levels.
read_fileSafely read text files with extension checking.
Parameters:
path (required): File path to readlist_directoryList directory contents safely.
Parameters:
path (optional): Directory path (default: current directory)Only pre-approved commands in SAFE_COMMANDS are allowed. Each command is categorized as safe or dangerous.
Blocks dangerous shell patterns:
;, &, |, ` `, $, (), {}`../etc/, /var/, /usr/bin/sudo, su>, <All file paths are resolved and checked to ensure they stay within the working directory.
Test the server manually:
# Start the server
npm start
# In another terminal, test with MCP inspector
npx @modelcontextprotocol/inspector node dist/index.jsYou can easily customize the server by:
SAFE_COMMANDSDANGEROUS_PATTERNS for additional blockingCONFIG~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.