⚠️ IMPORTANT SECURITY WARNING: This MCP server grants AI assistants unrestricted ability to execute terminal commands on your system. Only use in controlled environments like virtual machines (VMs) or development systems you can afford to rebuild.
An MCP server that empowers AI assistants to execute terminal commands on your system. Due to the unrestricted access this provides, it's crucial to use this software responsibly and be fully aware of the security risks involved.
Note: This server is compatible with any AI assistant that supports the Model Context Protocol (MCP). The provided configuration and setup instructions are specifically tailored for Claude Desktop, which offers comprehensive support for all MCP features.
command
(string): Command to executedirectory
(string, optional): Working directoryInstall Prerequisites:
Option A - Using winget (if available on your system):
winget install python git
Option B - Manual installation (recommended):
Install uv:
Open Command Prompt (cmd.exe
) as administrator and run:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
If you encounter any issues, you may need to restart your terminal or computer for the changes to take effect.
Clone and set up the project:
git clone https://github.com/Zelaron/Pandoras-Shell.git
cd Pandoras-Shell
Then create a virtual environment. Try these commands in order until one works:
python -m venv venv
If that doesn't work, try:
python3 -m venv venv
Then activate the environment:
venv\Scripts\activate
Install dependencies:
uv pip install mcp
pip install -e .
Note: If you installed Python from python.org, you'll typically use python
. If you installed via winget or from the Microsoft Store, you might need to use python3
. Try both commands if one doesn't work.
Install Prerequisites:
brew install python git uv
Clone and set up the project:
git clone https://github.com/Zelaron/Pandoras-Shell.git
cd Pandoras-Shell
python3 -m venv venv
source venv/bin/activate
Install dependencies:
uv pip install mcp
pip install -e .
Locate the correct configuration directory - try these paths in order:
%APPDATA%\Claude\
(typically C:\Users\[YourUsername]\AppData\Roaming\Claude\
)%LOCALAPPDATA%\AnthropicClaude\
(typically C:\Users\[YourUsername]\AppData\Local\AnthropicClaude\
)Create or edit claude_desktop_config.json
in the correct directory:
{
"mcpServers": {
"pandoras-shell": {
"command": "C:/path/to/cloned/Pandoras-Shell/venv/Scripts/python.exe",
"args": [
"C:/path/to/cloned/Pandoras-Shell/src/pandoras_shell/executor.py"
],
"env": {
"PYTHONPATH": "C:/path/to/cloned/Pandoras-Shell/src"
}
}
}
}
/
) in paths, not backslashes (\
)[YourUsername]
with your actual Windows usernameclaude_desktop_config.json
Create or edit ~/Library/Application Support/Claude/claude_desktop_config.json
:
{
"mcpServers": {
"pandoras-shell": {
"command": "/path/to/cloned/Pandoras-Shell/venv/bin/python",
"args": [
"/path/to/cloned/Pandoras-Shell/src/pandoras_shell/executor.py"
],
"env": {
"PYTHONPATH": "/path/to/cloned/Pandoras-Shell/src"
}
}
}
}
[YourUsername]
with your actual username$HOME
instead of /Users/[YourUsername]
if preferredclaude_desktop_config.json
command
path should point to the Python interpreter inside your virtual environment (venv/bin/python
), not the system Python%APPDATA%\Claude\Logs\mcp*.log
or %LOCALAPPDATA%\AnthropicClaude\Logs\mcp*.log
~/Library/Logs/Claude/mcp*.log
This server executes commands with your user privileges. Take these precautions:
Disclaimer: The developers are not responsible for any damages or losses resulting from the use of this software. Use it at your own risk.
If you encounter issues:
Check logs:
%APPDATA%\Claude\Logs\mcp*.log
or %LOCALAPPDATA%\AnthropicClaude\Logs\mcp*.log
~/Library/Logs/Claude/mcp*.log
Verify installation:
uv
is properly installed and in your PATH.mcp
package is installed: pip show mcp
.Configuration issues:
claude_desktop_config.json
.Environment issues:
virtualenv
is activated if using one.PYTHONPATH
is set correctly.Test server manually:
# First, make sure you're in the Pandoras-Shell directory:
cd /path/to/cloned/Pandoras-Shell
# For macOS:
./venv/bin/python src/pandoras_shell/executor.py
# For Windows:
.\venv\Scripts\python.exe src\pandoras_shell\executor.py
# The executor will appear to hang with no output - this is normal.
# It's waiting for connections from Claude Desktop.
# Use Ctrl+C to stop it.
Connection issues:
/path/to/cloned/Pandoras-Shell/venv/bin/python
C:/path/to/cloned/Pandoras-Shell/venv/Scripts/python.exe
After setup, try these commands in Claude Desktop:
Can you run 'pwd' and tell me what directory we're in?
or
Can you list the files in my home directory? Which of them are larger than 200 MB?
Seamless access to top MCP servers powering the future of AI integration.