drio
Open app

MCP Terminal Server - Windows Setup

Source

Catalog onlyCatalog onlySTDIO

Overview

MCP (Model Context Protocol) allows communication between external tools and AI-Client (here Claude-AI). This project sets up an MCP-compatible terminal server to execute shell commands within a defined workspace.

To use the MCP Terminal Server, follow the installation steps for Claude for Desktop, set up the required directory structure, create a Python project, set up a virtual environment, install required packages, and run the terminal server.

  • Enables communication between external tools and AI-Client. - Supports execution of shell commands in a defined workspace. - Easy setup process with detailed instructions.
  1. Running shell commands in a controlled environment.
  2. Integrating AI functionalities with command-line tools.
  3. Facilitating development workflows that require AI assistance.

Add to your AI client

Use these steps to connect MCP Terminal Server - Windows Setup 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": {
    "mcp-terminal-server-kunjanshah0811": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-terminal-server-kunjanshah0811"
      ]
    }
  }
}

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": {
    "mcp-terminal-server-kunjanshah0811": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-terminal-server-kunjanshah0811"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-terminal-server-kunjanshah0811": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-terminal-server-kunjanshah0811"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-terminal-server-kunjanshah0811": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-terminal-server-kunjanshah0811"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-terminal-server-kunjanshah0811": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-terminal-server-kunjanshah0811"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-terminal-server-kunjanshah0811": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-terminal-server-kunjanshah0811"
      ]
    }
  }
}

FAQ

What is the purpose of the MCP Terminal Server?

It allows users to execute shell commands while integrating with AI tools like Claude.

Is there a specific OS requirement?

The setup is designed for Windows environments.

Can I use it without Claude?

No, it is specifically designed to work with Claude for Desktop.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2479,"uuid":"0e1f5b14-190c-4002-8f8b-dbc14d39c88f","name":"MCP-Terminal-Server","title":"MCP Terminal Server - Windows Setup","description":"","avatar_url":"https://avatars.githubusercontent.com/u/76934179?v=4","created_at":"2025-03-13T08:14:39.138+00:00","updated_at":"2025-03-13T11:53:30.628+00:00","status":"created","author_name":"kunjanshah0811","author_avatar_url":"https://avatars.githubusercontent.com/u/76934179?v=4","tags":"mcp,terminal-server,windows-setup","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/kunjanshah0811/MCP-Terminal-Server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"0\",\"license\":\"\",\"language\":\"Python\",\"is_official\":false,\"latest_commit_time\":\"2025-03-12 13:14:45\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]