MCP Command Server
@Andrew-Beniash
About MCP Command Server
No overview available yet
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-command-server": {
"command": "uv",
"args": [
"pip",
"install",
"mcp-command-server"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is MCP Command Server?
MCP Command Server is a secure Model Context Protocol (MCP) server for executing system commands through LLM applications like Claude. It is designed for users who need to run controlled shell commands via AI assistants while maintaining security.
How to use MCP Command Server?
Install with uv pip install mcp-command-server, set the ALLOWED_COMMANDS environment variable (e.g., export ALLOWED_COMMANDS="ls,pwd,echo"), then add the server to Claude Desktop configuration by providing the command uv run python -m mcp_command_server and the environment variable.
Key features of MCP Command Server
- Secure command execution with a whitelist
- User confirmation required for all commands
- Comprehensive audit logging
- Input validation and sanitization
- Direct Claude Desktop integration
Use cases of MCP Command Server
- Allowing Claude to run safe system commands (e.g., list files, print working directory)
- Adding controlled command execution to AI workflows without exposing full shell access
- Auditing all command invocations from an LLM application
FAQ from MCP Command Server
Which commands can be executed?
Only commands explicitly listed in the ALLOWED_COMMANDS environment variable (e.g., ls, pwd, echo) are permitted.
Is user confirmation required for every command?
Yes, user confirmation is required for all commands before execution.
How does MCP Command Server integrate with Claude Desktop?
It is configured as an MCP server in Claude Desktop’s claude_desktop_config.json with the command uv run python -m mcp_command_server and the ALLOWED_COMMANDS environment variable.
What security measures are implemented?
The server enforces a command whitelist, performs input validation and sanitization, and maintains comprehensive audit logs of all command executions.
Frequently asked questions
Which commands can be executed?
Only commands explicitly listed in the `ALLOWED_COMMANDS` environment variable (e.g., `ls`, `pwd`, `echo`) are permitted.
Is user confirmation required for every command?
Yes, user confirmation is required for all commands before execution.
How does MCP Command Server integrate with Claude Desktop?
It is configured as an MCP server in Claude Desktop’s `claude_desktop_config.json` with the command `uv run python -m mcp_command_server` and the `ALLOWED_COMMANDS` environment variable.
What security measures are implemented?
The server enforces a command whitelist, performs input validation and sanitization, and maintains comprehensive audit logs of all command executions.
Basic information
More Other MCP servers
Website
FunnyWolfAdversary simulation and Red teaming platform with AI
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
🪟 Windows-MCP
CursorTouchMCP Server for Computer Use in Windows
Comments