Cover image
Try Now
2025-03-19

Serveur MCP pour exécuter les scripts PowerShell

3 years

Works with Finder

1

Github Watches

6

Github Forks

29

Github Stars

MCP PowerShell Exec Server

Overview

MCP PowerShell Exec Server is a lightweight server that accepts PowerShell scripts as strings, executes them, and returns the output. Enabling AI assistants to understand and work with PowerShell.

Features

  • Accepts PowerShell scripts via string input
  • Executes scripts securely in an MCP Server environment
  • Returns execution results in real-time

Installation

Clone the repository and set up the server:

git clone https://github.com/yourusername/mcp-powershell-exec.git
cd mcp-powershell-exec

In Action

Watch the video to see MCP PowerShell Exec Server in action:

Usage

Integration with GitHub Copilot in VSCode Insiders

To use this MCP server with GitHub Copilot in VSCode Insiders, follow these steps:

  1. Install VSCode Insiders

  2. Install GitHub Copilot Extension

    • Open VSCode Insiders
    • Go to the Extensions marketplace
    • Search for and install "GitHub Copilot"
  3. Configure MCP Server

    • Open .vscode/mcp.json
    {
     "servers": {
         "powershell-integration": {
             "command": "py", // Python executable
             "args": [
                "drive:/yourpath/server.py"
             ],
             "env": {}
         }
     }
    }
    

    Replace the path with the actual path to your server.py file.

  4. Enable Agent Mode

    • Open Copilot chat in VSCode Insiders
    • Click on "Copilot Edits"
    • Choose "Agent mode"
    • Click the refresh button in the chat input to load the available tools

System Requirements

  • Python: Version 3.10 or higher (required for optimal performance)
  • PowerShell: Version 5.1

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

For issues and questions:

  • Create an issue in this GitHub repository

相关推荐

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

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

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

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

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

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

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

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • 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.

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

  • pontusab
  • La communauté du curseur et de la planche à voile, recherchez des règles et des MCP

  • av
  • Exécutez sans effort LLM Backends, API, Frontends et Services avec une seule commande.

  • 1Panel-dev
  • 🔥 1Panel fournit une interface Web intuitive et un serveur MCP pour gérer des sites Web, des fichiers, des conteneurs, des bases de données et des LLM sur un serveur Linux.

  • jae-jae
  • MCP Server pour récupérer le contenu de la page Web à l'aide du navigateur sans tête du dramwright.

  • 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.

  • ravitemer
  • Un puissant plugin Neovim pour gérer les serveurs MCP (Protocole de contexte modèle)

  • GeyserMC
  • Une bibliothèque de communication avec un client / serveur Minecraft.

  • patruff
  • Pont entre les serveurs Olllama et MCP, permettant aux LLM locaux d'utiliser des outils de protocole de contexte de modèle

    Reviews

    4 (1)
    Avatar
    user_Rb9QpiRx
    2025-04-17

    As a dedicated user of mcp-powershell-exec, I can confidently say this tool by dfinke is a game-changer for PowerShell automation. It's user-friendly, allowing seamless execution of scripts from a simple interface. The GitHub link provides thorough documentation and support. Ideal for both beginners and advanced users. Highly recommend it!