MCP cover image
See in Github
2025-03-12

1

Github Watches

0

Github Forks

0

Github Stars

MCP Terminal Server - Windows Setup

What is MCP?

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.


Installing Claude for Desktop

  1. Download and install Claude for Desktop from Claude's official website.
  2. Windows: Follow the installer steps.
  3. Open the application and log in.

Step 1: Install uv

Method 1: Standalone Installer

Run this command in PowerShell:

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Method 2: PyPI

If you have Python installed:

pip install uv  # or
pipx install uv

After installation, restart your terminal so uv is recognized.


Step 2: Create the MCP Directory Structure

Run the following commands in PowerShell:

mkdir D:\path\to\mcp\servers\terminal_server
mkdir $env:USERPROFILE\mcp\workspace
  • D:\path\to\mcp\servers\terminal_server: Stores all MCP servers.
  • $env:USERPROFILE\mcp\workspace: Dedicated workspace directory.

Step 3: Set Up a Python Project

cd D:\path\to\mcp\servers\terminal_server
uv init

This initializes a Python project inside terminal_server.


Step 4: Set Up a Virtual Environment

uv venv
.venv\Scripts\activate

This creates and activates a virtual environment, keeping dependencies isolated.


Step 5: Install Required Packages

uv add "mcp[cli]"

This installs the MCP package to enable communication with Claude.


Step 6: Run the MCP Terminal Server

uv run terminal_server.py

This starts the terminal server within the virtual environment.


Step 7: Configure Claude for Desktop

Edit the Claude config file at:

C:\Users\<your-username>\AppData\Roaming\Claude\claude_desktop_config.json

Add the following configuration:

{
    "mcpServers": {
        "terminal": {
            "command": "C:\\path\\to\\uv.exe",
            "args": [
                "--directory", "D:\\path\\to\\mcp\\servers\\terminal_server",
                "run",
                "terminal_server.py"
            ]
        }
    }
}

Final Step: Restart Claude for Desktop

Once restarted, you should see a hammer icon, meaning your tool is ready to use! 🚀

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • Contraband Interactive
  • Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.

  • rustassistant.com
  • Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • apappascs
  • Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.

  • modelcontextprotocol
  • Serveurs de protocole de contexte modèle

  • Mintplex-Labs
  • L'application tout-en-un desktop et Docker AI avec chiffon intégré, agents AI, constructeur d'agent sans code, compatibilité MCP, etc.

  • ShrimpingIt
  • Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX

  • OffchainLabs
  • Aller la mise en œuvre de la preuve de la participation Ethereum

  • n8n-io
  • Plateforme d'automatisation de workflow à code équitable avec des capacités d'IA natives. Combinez le bâtiment visuel avec du code personnalisé, de l'auto-hôte ou du cloud, 400+ intégrations.

  • huahuayu
  • Une passerelle API unifiée pour intégrer plusieurs API d'explorateur de blockchain de type étherscan avec la prise en charge du protocole de contexte modèle (MCP) pour les assistants d'IA.

    Reviews

    1 (1)
    Avatar
    user_1MVp4ecG
    2025-04-16

    I've been using the GitCode MCP Go Server for a while now and I am absolutely impressed. This server from gitcode-org-com seamlessly integrates with my workflow and has boosted my productivity immensely. Highly recommended for any developer looking for a robust and reliable server solution!