MCP.so
登录

shell-command-mcp

@egoist

关于 shell-command-mcp

MCP server for executing shell commands.

基本信息

分类

开发工具

运行时

node

传输方式

stdio

发布者

egoist

配置

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

{
  "mcpServers": {
    "shell-command-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "shell-command-mcp"
      ]
    }
  }
}

工具

未检测到工具

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

概览

What is shell-command-mcp?

shell-command-mcp is an MCP server for executing shell commands, sponsored by ChatWise.

How to use shell-command-mcp?

Configure the server via JSON using the command npx -y shell-command-mcp. Use the ALLOWED_COMMANDS environment variable to explicitly allow commands (comma-separated) or * to allow any command.

Key features of shell-command-mcp

  • Executes shell commands via an MCP server.
  • Restricts commands using the ALLOWED_COMMANDS environment variable.
  • Supports wildcard * to allow any command (potentially dangerous).
  • Sponsored by ChatWise.
  • Simple stdio-based transport.

Use cases of shell-command-mcp

  • Allowing an LLM to run basic shell commands like ls, cat, and echo.
  • Integrating shell command execution into MCP-compatible applications.

FAQ from shell-command-mcp

What does shell-command-mcp do?

It is an MCP server for executing shell commands.

How can I restrict which commands are allowed?

Set the ALLOWED_COMMANDS environment variable with a comma-separated list of allowed commands. Use * to allow any.

Is it safe to allow all commands?

Allowing all commands with * is potentially dangerous.

How do I run shell-command-mcp?

Execute npx -y shell-command-mcp from the command line. You can also configure it in a JSON configuration file under mcpServers.

评论

开发工具 分类下的更多 MCP 服务器