About shell-server
shell-server is an MCP server published by git+ZHAN2006 in the Developer Tools category: a simple bash mcp server - used to allow an LLM to access bash.
The repository has 22 stars and 0 forks.
Install
npx shell-mcp-serverclaude mcp add shell-mcp-server -- npx -y shell-mcp-servernpx -y shell-mcp-serverThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (1)
execute_shell_command在服务端操作系统中执行Shell命令,支持不同终端类型。可用于文件操作、系统信息查询、程序运行等场景。注意:具有潜在安全风险,应限制敏感命令执行。
Parameters not published.
Ask AI
Ask AI about shell-server
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
4 checks have not been run yet.
README
shell-mcp-server
MCP Server for executing shell commands
快速开始
通过npx直接运行
npx -y shell-mcp-server
作为MCP服务器配置
{
"mcpServers": {
"shell-mcp-server": {
"command": "npx",
"args": ["-y", "shell-mcp-server"]
}
}
}
安装为全局命令
npm install -g shell-mcp-server
shell-mcp-server
作为项目依赖安装
npm install shell-mcp-server
使用方法
直接运行
npx -y shell-mcp-server
# 或安装后
shell-mcp-server
编程方式使用
import { startServer } from 'shell-mcp-server';
startServer({
port: 3000
});
功能特性
- 安全执行Shell命令
- 支持多种终端类型(cmd, powershell)
- 基于Model Context Protocol (MCP) SDK构建
- 支持npx一键运行
- 可作为MCP服务器配置
许可证
MIT
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.