Terminal MCP Server
Make LLM can control your PC or Server with ssh or terminal.
Overview
Remote Operations MCP Server is a tool that allows users to control their PC or server remotely using SSH or terminal commands.
To use the server, set up SSH access to your remote machine and execute commands through the MCP interface.
- Remote command execution - System resource monitoring - Process management (list and kill processes)
- Executing commands on a remote server.
- Monitoring system resources like CPU and memory usage.
- Managing processes on a remote machine.
Add to your AI client
Use these steps to connect Terminal MCP Server 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": {
"terminal-mcp-server-weidwonder": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-terminal-mcp-server-weidwonder"
]
}
}
}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": {
"terminal-mcp-server-weidwonder": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-terminal-mcp-server-weidwonder"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"terminal-mcp-server-weidwonder": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-terminal-mcp-server-weidwonder"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"terminal-mcp-server-weidwonder": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-terminal-mcp-server-weidwonder"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"terminal-mcp-server-weidwonder": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-terminal-mcp-server-weidwonder"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"terminal-mcp-server-weidwonder": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-terminal-mcp-server-weidwonder"
]
}
}
}FAQ
How do I set up SSH access?
Ensure you have SSH keys configured and the correct permissions set for your project directory.
What if my command times out?
The default timeout is 60 seconds; for long-running commands, use nohup to run them in the background.
Can I monitor system resources?
Yes, you can use the get_system_info feature to monitor CPU, memory, and disk usage.