windows-terminal-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@windows-terminal-mcprun dir C:\Users in cmd"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
terminal-mcp
An MCP (Model Context Protocol) server that lets any LLM execute commands on a local terminal or over SSH — works on Windows and macOS.
Run commands via native shells (
cmd/powershell/bashon Windows,zsh/bash/shon macOS)Execute remote commands over SSH with key-based authentication
3-level security model: safe / confirm / blocked
Requirements
Python 3.11+
Claude Desktop or any MCP-compatible client
Installation
git clone https://github.com/marttinm/windows-terminal-mcp.git
cd windows-terminal-mcp
pip install -e .Configure Claude Desktop
macOS
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"terminal": {
"command": "python3",
"args": ["-m", "terminal_mcp.server"]
}
}
}Windows
Edit %APPDATA%\Claude\claude_desktop_config.json:
{
"mcpServers": {
"terminal": {
"command": "cmd",
"args": ["/c", "python", "-m", "terminal_mcp.server"]
}
}
}Restart Claude Desktop after saving the config.
Security
Commands fall into three categories:
Level | Behavior | Examples |
Safe | Executed directly |
|
Dangerous | Claude warns before executing |
|
Blocked | Always rejected |
|
License
MIT — see LICENSE
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/marttinm/terminal-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server