bash-vet-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| vet_commandA | Vet a single shell command for destructive patterns BEFORE execution. Detects rm -rf nested in chains, package-manager glob removal (apt remove 'nvidia'), dd/mkfs/wipefs filesystem destruction, chmod 777 on system paths, curl|bash network-exfil, chained shutdown/reboot, git destructive ops (push --force, reset --hard), and DROP DATABASE / TRUNCATE via cli. Returns verdict (CLEAN / CAUTION / REVIEW / BLOCK / UNVERIFIED), risk_score (0-100), and per-finding rule_id + severity + recommendation. Sub-second, local, no API key. Use inline before approving any agent-proposed command. |
| vet_command_chainA | Vet a chained / multi-statement shell command — same rules as |
| list_detection_rulesA | Return the catalog of every detection rule the scanner applies — rule_id, severity, pattern_kind, description, example_match. Use this to audit coverage, document detection scope to your compliance/security team, or build a custom allowlist. 30 rules across 8 families: DESTRUCTIVE / PACKAGE / PRIVILEGED / SHUTDOWN / EXFIL / DATABASE / GIT / SUSPICIOUS. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| vet-this-command | Vet the most recent shell command in the conversation, explain each finding's risk, and recommend a specific action — refuse, sandbox-test, edit, or proceed with caveats. |
| audit-script | Audit a multi-line shell script line by line — calls vet_command on every non-trivial line and produces a per-line risk report. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Demo: clean command | Sample input demonstrating a CLEAN verdict (no destructive patterns) |
| Demo: dangerous command | Sample input with package-glob removal + chained reboot + curl|bash — demonstrates a BLOCK verdict |
| Demo: sneaky chained command | Sample input mimicking the r/LocalLLaMA failure mode — benign-looking lede + rm -rf with env-var nested deep in the chain. Demonstrates chain-mode escalation. |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/temurkhan13/bash-vet-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server