cli-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ALLOWED_DIR | Yes | Base directory for command execution (Required) | |
| ALLOWED_FLAGS | No | Comma-separated list of allowed flags or 'all' | -l,-a,--help |
| COMMAND_TIMEOUT | No | Command execution timeout (seconds) | 30 |
| ALLOWED_COMMANDS | No | Comma-separated list of allowed commands or 'all' | ls,cat,pwd |
| MAX_COMMAND_LENGTH | No | Maximum command string length | 1024 |
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
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| run_commandA | Allows command (CLI) execution in the directory: /app Available commands: pwd, ls, cat Available flags: -l, --help, -a Shell operators (&&, ||, |, >, >>, <, <<, ;) are not supported. Set ALLOW_SHELL_OPERATORS=true to enable. |
| show_security_rulesB | Show what commands and operations are allowed in this environment. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/MladenSU/cli-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server