Desktop Commander
Run & Manage Long Processes - install, scrap, encode video, compile Search & Read & Edit files - including diff editing for speed and precision
Overview
Claude Computer Commander is a terminal server that allows the Claude AI to execute commands on your local computer and manage system processes through the Model Context Protocol (MCP).
To use the server, clone the repository and run the setup script. Start the Claude application to gain access to terminal command execution.
- Execute terminal commands with output streaming and configurable timeouts - Background execution support for long-running processes - Process and session management including listing and killing processes
- Automating command executions on your local machine
- Monitoring and managing system processes using AI
- Facilitating complex workflows that require command line interactions
Add to your AI client
Use these steps to connect Desktop Commander in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"claudecomputercommander-wonderwhy-er": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-claudecomputercommander-wonderwhy-er"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"claudecomputercommander-wonderwhy-er": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-claudecomputercommander-wonderwhy-er"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"claudecomputercommander-wonderwhy-er": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-claudecomputercommander-wonderwhy-er"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"claudecomputercommander-wonderwhy-er": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-claudecomputercommander-wonderwhy-er"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"claudecomputercommander-wonderwhy-er": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-claudecomputercommander-wonderwhy-er"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"claudecomputercommander-wonderwhy-er": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-claudecomputercommander-wonderwhy-er"
]
}
}
}FAQ
Can Claude execute any command?
Yes, Claude can execute any terminal command that the current user has permissions for.
Is Claude Computer Commander open source?
Yes, it is available on GitHub under the MIT license.
How does it integrate with Claude’s desktop application?
The server communicates with Claude through the Model Context Protocol, enabling local command executions.7: