MCP.so
登录

Shell Execution MCP Server

@samihalawa

基本信息

分类

开发工具

传输方式

stdio

作者

samihalawa

关于 Shell Execution MCP Server

Shell Execution MCP Server for Claude and other MCP-compatible AI assistants

Shell Execution MCP Server 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

Shell Execution MCP Server 工具

工具列表暂未提供

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

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

概览

What is Shell Execution MCP Server?

A Model Context Protocol (MCP) server that provides persistent shell command execution capabilities for Claude and other MCP-compatible AI assistants.

How to use Shell Execution MCP Server?

Install via git clone and npm install. Start the server with npm start. Add the server to your MCP configuration as a JSON entry with the command pointing to Node.js and the server.js file. Available tools: execute-command (with parameters command, runInBackground, timeoutMs) and reset-shell (no parameters).

Key features of Shell Execution MCP Server

  • Persistent shell session across commands
  • Background execution with process management
  • Cross-platform support (macOS, Linux, Windows)
  • Configurable command execution timeout
  • Shell session reset capability

Use cases of Shell Execution MCP Server

  • Maintain working directory and environment variables across multiple commands
  • Run long‑running tasks in the background while continuing other operations
  • Automate system administration tasks via an MCP‑compatible AI assistant

常见问题

1

What are the system requirements?

Node.js 14 or later. Compatible with Claude Desktop, Cursor, and other MCP‑compatible applications.

2

Does the server work on Windows?

Yes, it works on Windows with the appropriate shell. Use the Windows‑specific configuration format with absolute paths.

3

How do I prevent commands from hanging?

Use the `timeoutMs` parameter to set a custom timeout (default 30 seconds). The server provides timeout control as a built-in feature.

4

How can I reset the shell session?

Call the `reset-shell` tool with no parameters. This kills the current session and starts a new one.

5

What should I do if I see "Tool execution failed"?

Check that the server is running, your configuration uses absolute paths, and restart the client application after changing the configuration. Test the server directly with a pipe‑based command.

评论

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