Learn shell execution, MCP tools, resources, and security risks with this example server.
Copy the install command and let the AI configure it · recommended for beginners
No copy-paste install info for "mcp-shell-server-example" yet — see the docs or source repo.
Use this MCP tool to run `pwd` in sh and return the current working directory.
Returns the shell command output, such as the current directory path.
Run commands to list files in the current directory using both PowerShell and sh, then explain the syntax differences.
Provides outputs from both shells and a brief comparison of command syntax.
Use this example server to explain MCP tool poisoning risks and give safety reminders based on its shell execution capability.
Outputs a brief explanation of tool poisoning risks and precautions when using shell tools.
Developers or students can use it to observe how an MCP server exposes shell command execution and understand the basics of tool invocation. It is suitable for teaching, demos, and local experimentation.
In cross-platform scripting lessons, users can run commands in both PowerShell and sh to directly see differences between the two shells.
For security training or internal knowledge sharing, this example can illustrate why MCP tools with command execution require caution and highlight risks such as tool poisoning.
This is an educational MCP example server that exposes shell command execution for PowerShell and sh. It also includes a benign example tool for learning about MCP tools, resources, and security risks.
Based on the provided description, it can execute PowerShell and sh commands. For exact command scope and limitations, see the source repository.
The provided materials do not include installation steps or runtime prerequisites. It will typically involve an MCP runtime and PowerShell or sh, but see the source repository for exact requirements.
Safely run whitelisted shell commands with timeouts, pipelines, and audit logs.
Execute shell commands securely over MCP for controlled dev and ops workflows.
Execute shell commands for automation, DevOps tasks, and developer workflows.
Securely manage remote servers via persistent SSH with commands, files, and monitoring.
Extend an MCP server with JavaScript tools and safer command execution.
Run macOS shell commands with sessions, background jobs, caching, and semantic search.