1. Conduid
  2. Developer Tools
  3. Win MCP Server
MCP server · Developer Tools

Win MCP Server

Gives your AI Agent the ability to interact with windows servers, execute powershell, read system info, etc.

Unclaimed MIT browser
51Fair

Scored yesterday · breakdown

About Win MCP Server

Win MCP Server is an MCP server published by InfraMCP in the Developer Tools category: gives your AI Agent the ability to interact with windows servers, execute powershell, read system info, etc.

The repository has 5 stars and 3 forks, with the last commit 3 months ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

uvx
uvx win-mcp-server
pip
pip install win-mcp-server

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Win MCP Server

Powered by Claude · Grounded in docs

I know everything about Win MCP Server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 20 hours ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • !Dependencies pinnedNo lockfile. Installs can pull different code over time.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v0.2.3v0.2.3 · 25 Sep 2025What's Changed Improve code quality with pylint fixes in https://github.com/rorymcmahon/win-mcp-server/pull/1 Complete code quality improvements https://github.com/rorymcmahon/win-mcp-server/pull/2 Implement automated security scanning,…
v0.2.2Win MCP Server v0.2.2 · 24 Sep 2025Win MCP Server v0.2.2 Complete Package Rename Package: `winrm-mcp-server` → `win-mcp-server` Module: `winrm_mcp_server` → `win_mcp_server` Repository: Renamed to `win-mcp-server` Keychain service: Updated to `win-mcp` Documentation: All…
v0.2.1Win MCP Server v0.2.1 · 24 Sep 2025Win MCP Server v0.2.1 Changes Package renamed: `winrm-mcp-server` → `win-mcp-server` Avoid PyPI name conflict with existing package All functionality remains the same Features Windows Remote Management (WinRM) functionality Secure domain…
v0.2.0WinRM MCP Server v0.2.0 · 24 Sep 2025WinRM MCP Server v0.2.0 Features Windows Remote Management (WinRM) functionality Secure domain authentication support PowerShell command execution MCP protocol integration Security Comprehensive security infrastructure Automated…

README

Win MCP Server

Pylint Safety Security Scan Dependency Security Check

A Model Context Protocol (MCP) server that provides AI agents with the ability to interact with Windows servers using Windows Remote Management (WinRM). This server enables secure remote PowerShell execution and system management tasks on Windows hosts.

Features

  • Secure Authentication: Uses domain credentials stored in macOS Keychain with TouchID authentication
  • PowerShell Execution: Execute arbitrary PowerShell commands on remote Windows hosts
  • System Information: Get basic system information, running services, and disk space
  • Error Handling: Comprehensive error handling with helpful error messages
  • Memory Safety: Credentials are cleared from memory immediately after use

Installation

From PyPI (Recommended)

pip install win-mcp-server

From Source

git clone https://github.com/rorymcmahon/win-mcp-server.git
cd win-mcp-server
pip install -e .

Configuration

Prerequisites

  1. WinRM Configuration: Ensure target Windows hosts have WinRM enabled and configured.

  2. Credential Setup: The server will prompt for credentials on first use and cache them securely in macOS Keychain with 4-hour expiration.

MCP Configuration

Add to your MCP settings file (e.g., ~/.config/mcp/settings.json):

{
  "mcpServers": {
    "winrm": {
      "command": "winrm-mcp-server"
    }
  }
}

Available Tools

setup_credentials(hostname: str)

Setup credentials for a Windows host (interactive mode).

Parameters:

  • hostname: The target Windows hostname (FQDN)

Returns:

  • status: Success or error status
  • message: Confirmation message

execute_powershell(hostname: str, command: str)

Execute arbitrary PowerShell commands on a remote Windows host.

Parameters:

  • hostname: The target Windows hostname (FQDN)
  • command: PowerShell command to execute

Returns:

  • status: Exit code of the command
  • stdout: Standard output from the command
  • stderr: Standard error from the command

get_system_info(hostname: str)

Get basic system information from a Windows host.

Returns: JSON with Windows product name, total physical memory, and processor information.

get_running_services(hostname: str)

Get list of running services from a Windows host.

Returns: JSON array of running services with name, status, and start type.

get_disk_space(hostname: str)

Get disk space information from a Windows host.

Returns: JSON array of logical disks with device ID, total size, and free space in GB.

Usage Examples

Initial Setup

"Setup credentials for server01.domain.local"

Basic System Check

"Get system info and disk space for server01.domain.local"

Service Management

"Check if IIS is running on webserver.domain.local"
"Get running services on server01.domain.local"

Custom PowerShell Commands

"Run 'Get-EventLog -LogName System -Newest 10' on server01.domain.local"
"Execute 'Get-Process | Sort-Object CPU -Descending | Select-Object -First 10' on server01.domain.local"

Security

  • Credential Storage: Domain credentials are securely stored in macOS Keychain
  • TouchID Authentication: Credentials require TouchID authentication for access
  • Memory Safety: Passwords are immediately cleared from memory after use
  • Transport Security: Uses NTLM authentication over HTTP (configurable for HTTPS)
  • Automatic Expiration: Cached credentials expire after 4 hours
  • Secure Prompting: Password input is hidden and never logged

Development

Setup Development Environment

git clone https://github.com/rorymcmahon/winrm-mcp-server.git
cd winrm-mcp-server
pip install -e ".[dev]"

Running Tests

pytest

Code Formatting

black src/
isort src/

Requirements

  • Python 3.10+
  • macOS (for Keychain integration)
  • Target Windows hosts with WinRM enabled

License

MIT License - see LICENSE file for details.

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. Submit a pull request

Support

For issues and questions:

README fetched from the repository 20 hours ago. The original is authoritative.

Questions

About Win MCP Server

How do I install Win MCP Server?

Run uvx win-mcp-server, then add the server to your MCP client's configuration.

Is Win MCP Server safe to use with an AI agent?

Its trust score is 51 out of 100 (fair). It passes 4 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Win MCP Server still maintained?

Yes — the last commit was 3 months ago. The repository has 5 stars and 3 forks and 3 open issues.