Skip to content

πŸš€ AI-Powered Windows Automation Server using Model Context Protocol (MCP) | Control Windows apps, automate tasks, and manage systems through natural language commands with Claude, ChatGPT & other AI assistants | 80+ automation tools

License

Notifications You must be signed in to change notification settings

mukul975/mcp-windows-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

50 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ MCP Windows Server - AI-Powered Windows Automation

License: MIT Python 3.10+ Platform: Windows PyPI version AI Ready

Transform your Windows PC into an intelligent automation hub controlled by AI assistants like Claude, ChatGPT, and more.

πŸ” Overview

MCP Windows Server is an AI-native automation framework that enables AI assistants to control Windows systems through natural language commands. Built on the Model Context Protocol (MCP), it provides secure, comprehensive system-level automation capabilities.

πŸ€– What is Model Context Protocol (MCP)?

MCP is an open protocol by Anthropic that allows AI models to interact safely with local tools, APIs, and system services. Our server implements this protocol for Windows, making AI assistants powerful desktop automation agents.

  • πŸ” Secure System Access - Controlled command execution with safety filters
  • 🧠 AI Agent Compatible - Works with Claude, ChatGPT, and other AI assistants
  • πŸ”„ Real-Time Communication - Instant bidirectional AI ↔️ System interaction
  • πŸ”§ Plugin Architecture - Extensible framework for custom automation

πŸš€ Quick Start

Installation

# Install from PyPI
pip install mcp-windows-server

# Or install from source
git clone https://github.com/Mahipal/mcp-windows-server.git
cd mcp-windows-server
pip install -r requirements.txt

Usage

# Start the MCP server
mcp-windows-server

# Or use the unified server directly
unified-server

Claude Desktop Integration

  1. Install the package: pip install mcp-windows-server
  2. Configure Claude Desktop:
{
  "mcpServers": {
    "mcp-windows-server": {
      "command": "mcp-windows-server",
      "env": {
        "PYTHONUNBUFFERED": "1"
      }
    }
  }
}
  1. Restart Claude Desktop and start automating!

🌟 Key Features

  • βœ… 200+ Automation Tools - Comprehensive Windows control
  • 🧠 AI-Context Aware - Understands natural language commands
  • πŸ” Bidirectional Communication - Real-time AI ↔️ System interaction
  • βš™οΈ Safe Execution - Built-in command filtering and validation
  • 🧱 Modular Design - Plugin-based architecture
  • πŸ§ͺ ML Integration - Machine learning for predictive automation

🧭 Automation Categories

Category Description Examples
πŸ–₯️ System Control Process, registry, services management Kill processes, manage services, registry edits
πŸ“ File Operations File system automation Copy, move, search, backup files
🌐 Web Automation Browser control and web scraping Form filling, data extraction, navigation
πŸ–ΌοΈ Image Processing Screenshot and image manipulation OCR, image editing, screen capture
πŸ“Š Data Analysis ML training and data processing Model training, data visualization
🏒 Office Integration Microsoft Office automation Excel reports, Word documents, PowerPoint
πŸ”’ Security System security and monitoring Firewall rules, security scans, monitoring
🌐 Network Network configuration and monitoring WiFi management, network diagnostics

πŸ› οΈ Example Commands

Once integrated with Claude Desktop, you can use natural language:

"Take a screenshot and save it as desktop.png"
"Get my system information"
"List all running processes"
"Create a backup of my Documents folder"
"Check my network connection status"
"Open Calculator application"

πŸ“ Project Structure

mcp-windows-server/
β”œβ”€β”€ mcp_windows_automation/     # Main package
β”‚   └── __init__.py
β”œβ”€β”€ unified_server.py           # Core MCP server
β”œβ”€β”€ office_mcp_server.py        # Office integration
β”œβ”€β”€ config/                     # Configuration templates
β”œβ”€β”€ docs/                       # Documentation
β”œβ”€β”€ examples/                   # Usage examples
β”œβ”€β”€ requirements.txt            # Dependencies
└── README.md                   # This file

πŸ”§ Configuration

Environment Variables

# Optional MySQL database integration
MYSQL_USER=your_username
MYSQL_PASSWORD=your_password
MYSQL_DATABASE=your_database
MYSQL_HOST=localhost
MYSQL_PORT=3306

# Python configuration
PYTHONPATH=/path/to/mcp-windows-server
PYTHONUNBUFFERED=1

Advanced Configuration

For advanced setups, copy the configuration template:

cp config/claude_desktop_config.template.json config/claude_desktop_config.json
# Edit with your specific paths and credentials

πŸ§ͺ Development

Running from Source

git clone https://github.com/Mahipal/mcp-windows-server.git
cd mcp-windows-server
pip install -r requirements.txt
python unified_server.py

Building Package

python -m build
pip install dist/mcp_windows_server-*.whl

πŸ”’ Security

  • Command Filtering: Dangerous commands are blocked by default
  • Safe Execution: All operations run in controlled environment
  • No Credential Storage: Sensitive data excluded from package
  • Template-Based Config: Only safe configuration templates included

🀝 Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

πŸ“œ License

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

πŸ“¬ Contact

πŸ™ Acknowledgments

  • Anthropic for the Model Context Protocol
  • Claude for AI assistant integration
  • The open-source community for inspiration and contributions

"Automate Everything. With AI." πŸ§ πŸ’»

Made with ❀️ for the AI automation community

About

πŸš€ AI-Powered Windows Automation Server using Model Context Protocol (MCP) | Control Windows apps, automate tasks, and manage systems through natural language commands with Claude, ChatGPT & other AI assistants | 80+ automation tools

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages