MCP.so
登录

MCP Command Server

@Andrew-Beniash

基本信息

分类

其他

传输方式

stdio

作者

Andrew-Beniash

关于 MCP Command Server

暂无概览

MCP Command Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-command-server": {
      "command": "uv",
      "args": [
        "pip",
        "install",
        "mcp-command-server"
      ]
    }
  }
}

MCP Command Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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

常见问题

1

Which commands can be executed?

Only commands explicitly listed in the `ALLOWED_COMMANDS` environment variable (e.g., `ls`, `pwd`, `echo`) are permitted.

2

Is user confirmation required for every command?

Yes, user confirmation is required for all commands before execution.

3

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.

4

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.

评论

其他 分类下的更多 MCP 服务器