MCP.so
登录
S

Shell Mcp Server

@ZHAN2006

关于 Shell Mcp Server

暂无概览

基本信息

分类

开发工具

传输方式

stdio

发布者

ZHAN2006

提交者

zhan

配置

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

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

工具

未检测到工具

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

概览

What is Shell Mcp Server?

Shell Mcp Server is an MCP (Model Context Protocol) server that allows you to execute shell commands. It supports multiple terminal types (cmd, PowerShell) and is built on the MCP SDK. Designed for developers and AI agents needing command execution via the MCP protocol.

How to use Shell Mcp Server?

You can run it directly with npx -y shell-mcp-server, install it globally (npm install -g shell-mcp-server and run shell-mcp-server), or add it as a project dependency. For MCP client configuration, use the provided JSON to point to the server. Programmatically, import startServer and call it with options like port.

Key features of Shell Mcp Server

  • Securely executes shell commands
  • Supports cmd and PowerShell terminals
  • Built on the Model Context Protocol SDK
  • One‑command run via npx
  • Configurable as an MCP server

Use cases of Shell Mcp Server

  • Run system commands from an MCP‑enabled AI agent
  • Integrate shell operations into MCP workflows
  • Provide a command‑line interface as an MCP tool
  • Automate terminal tasks through MCP clients

FAQ from Shell Mcp Server

What is the main purpose of Shell Mcp Server?

It lets MCP clients execute shell commands safely, supporting different terminal environments like cmd and PowerShell.

Can I use it without installing Node.js?

No, because it is distributed via npm and runs on Node.js. You need Node.js to run npx or to install the package.

How do I configure it for my MCP client?

Add the following JSON to your mcpServers configuration:

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

What transport protocol does it use?

The README does not specify the transport; it simply uses the MCP SDK’s default server setup.

Can I restrict which commands can be executed?

The README only states “safe execution of shell commands” but provides no details on restrictions or sandboxing.

评论

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