MCP server providing bash command execution, file operations, and LSP-powered semantic code analysis
Single tool (bash_tool) with clear schema and adequate description. Tool has a proper JSON Schema with required fields and descriptions for both parameters. Description is action-oriented (86 chars, within 10-1024 baseline). However, naming does not follow verb_noun convention (should be 'execute_bash' or 'run_bash_command'), and critical issues exist around security, destructiveness, and error handling. The tool exposes a destructive capability (arbitrary bash execution) without confirmation patterns, dry-run support, or meaningful recovery guidance. No error classification (retryable vs fatal) is documented.
🐚 Execute bash commands with context description for logging and debugging
Tool name 'bash_tool' does not follow verb_noun convention. Should be 'execute_bash_command', 'run_bash', or similar action verb to help LLMs infer intent from name alone.
DESTRUCTIVE tool lacks confirmation/dry-run pattern. bash_tool can delete files, modify systems, or cause irreversible damage. No dry-run mode, no confirmation step, no 'what-if' option. Agents will execute dangerous commands without safeguards.
Error handling provides no recovery guidance. If command fails, the tool returns exit_code and stderr but does not categorize the error as retryable, user-fixable, or fatal. No actionable next steps for the agent.
No input validation or injection protection. Tool accepts arbitrary bash strings in the 'command' parameter. Agents can be tricked via prompt injection to pass malicious payloads (e.g., command injection, path traversal). No sanitization visible in source.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 56 | <=2025-11-25 | v2 |
| 2026-03-09 | F | 43 | 2024-11-05+ | v1 |
No permission gating or audit trail visible. Tool executes as the current process user with no checks on who invoked it, when, or why. No audit logging of command execution for compliance or incident response.
Parameter 'description' serves only as logging context, not as a safeguard. The description field (why the command is run) could help with confirmation logic, but is not integrated into any safety pattern.