mcp-shell-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ALLOW_COMMANDS | No | Comma-separated list of commands that are allowed to be executed (e.g., 'ls,cat,pwd,grep,wc,touch,find') | |
| ALLOWED_COMMANDS | No | Alias for ALLOW_COMMANDS - comma-separated list of commands that are allowed to be executed |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| shell_executeA | Execute an allowed command as an argv array on the MCP server host. Allowed commands run with the server process's OS authority; the allowlist controls executable names, not what an allowed program does. Allowed commands: pwd, ls, wc, grep, cat Allowed patterns: Default timeout: 30s; maximum timeout: 300s; output cap: 1048576 bytes |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 1 tool
With only one tool, there is no possibility of misselection between tools; the single tool's purpose (execute an allowlisted command as argv array) is unambiguous within the set.
A single tool name, shell_execute, cannot violate consistency; it follows a readable verb_noun-style convention that would extend predictably to peers.
A count of 1 is deliberately minimal for a shell server, which is a valid design (one generic executor), but the surface is thin—no way to list/inspect the allowlist or manage sessions, so it sits at the borderline of 'too few.'
The core operation (execute an allowlisted command with timeout and output cap) is covered, but there is no tooling to discover the allowed commands or patterns at runtime, nor any read/write scoping, forcing agents to guess from the description.