About
Windows Command Line MCP Server is a secure bridge that enables AI assistants to execute Windows commands, PowerShell scripts, and development tasks with built-in safety controls. Key features: - Safe command execution with configurable allowlists and input validation to prevent destructive operations - Project creation support for React, Node.js, and Python in sandboxed directories - System information retrieval including running processes, network adapters, scheduled tasks, and Windows services - PowerShell script execution with configurable security levels - Multiple security modes from restricted default to extended access for different workflow needs
Tools 8
list_running_processesList all running processes on the system. Can be filtered by providing an optional filter string that will match against process names.
get_system_infoRetrieve system information including OS, hardware, and user details. Can provide basic or full details.
get_network_infoRetrieve network configuration information including IP addresses, adapters, and DNS settings. Can be filtered to a specific interface.
get_scheduled_tasksRetrieve information about scheduled tasks on the system. Can query all tasks or get detailed status of a specific task.
get_service_infoRetrieve information about Windows services. Can query all services or get detailed status of a specific service.
list_allowed_commandsList all commands that are allowed to be executed by this server. This helps understand what operations are permitted.
execute_commandExecute a Windows command and return its output. Only commands in the allowed list can be executed. This tool should be used for running simple commands like 'dir', 'echo', etc.
execute_powershellExecute a PowerShell script and return its output. This allows for more complex operations and script execution. PowerShell must be in the allowed commands list.
README
[](https://mseep.ai/app/alxspiker-windows-command-line-mcp-server)
Windows Command Line MCP Server
A secure Model Context Protocol (MCP) server that enables AI models to interact with Windows command-line functionality safely and efficiently.
[](https://smithery.ai/server/@alxspiker/Windows-Command-Line-MCP-Server)
Overview
The Windows Command Line MCP Server provides a robust, secure bridge between AI models and Windows system operations. It allows controlled execution of commands, project creation, and system information retrieval while maintaining strict security protocols.
Key Features
🔒 Enhanced Security
🛠 Development Tools Support
🖥 System Interaction Capabilities
Installation
Installing via Smithery
To install Windows Command Line MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @alxspiker/Windows-Command-Line-MCP-Server --client claude
Prerequisites
Setup
git clone https://github.com/alxspiker/Windows-Command-Line-MCP-Server.git
cd Windows-Command-Line-MCP-Server
npm install
npm run build
Usage
Command Line Options
--allow-all: Run in extended mode (with additional precautions)Project Creation
Create new projects safely with the built-in project creation tool:~/AIProjects directoryAvailable Tools
1. execute_command: Run Windows CLI commands 2. execute_powershell: Execute PowerShell scripts 3. create_project: Safely create new development projects 4. list_running_processes: Retrieve active system processes 5. get_system_info: Collect system configuration details 6. get_network_info: Retrieve network adapter information 7. get_scheduled_tasks: List and query system tasks 8. get_service_info: Manage and query Windows services 9. list_allowed_commands: List all commands that can be executed by the serverUsing with Claude for Desktop
To use this server with Claude for Desktop:
1. Build the server using the setup instructions above
2. Add it to your claude_desktop_config.json:
{
"mcpServers": {
"windows-cmd": {
"command": "node",
"args": ["/path/to/dist/index.js"]
}
}
}
Replace /path/to/dist/index.js with the absolute path to the built index.js file in the dist directory.
3. Restart Claude for Desktop 4. You can now use the tools by asking Claude to perform Windows system operations
Security Considerations
Allowed Commands
By default, only safe commands are permitted:Blocked Operations
Dangerous commands are always blocked, including:Configuration
Customize the server's behavior by specifying allowed commands or using configuration flags.
Example
# Run with default safe commands
node dist/index.jsRun with specific allowed commands
node dist/index.js dir echo npm gitRun in extended mode (use with caution)
node dist/index.js --allow-all
Contributing
1. Fork the repository
2. Create your feature branch (git checkout -b feature/amazing-feature)
3. Commit your changes (git commit -m 'Add some 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.
Acknowledgements
Version History
Support
For issues, que
Related MCP Servers
AI Research Assistant
hamid-vakilzadeh
AI Research Assistant provides comprehensive access to millions of academic papers through the Semantic Scholar and arXiv databases. This MCP server enables AI coding assistants to perform intelligent literature searches, citation network analysis, and paper content extraction without requiring an API key. Key features include: - Advanced paper search with multi-filter support by year ranges, citation thresholds, field of study, and publication type - Title matching with confidence scoring for finding specific papers - Batch operations supporting up to 500 papers per request - Citation analysis and network exploration for understanding research relationships - Full-text PDF extraction from arXiv and Wiley open-access content (Wiley TDM token required for institutional access) - Rate limits of 100 requests per 5 minutes with options to request higher limits through Semantic Scholar
Linkup
LinkupPlatform
Linkup is a real-time web search and content extraction service that enables AI assistants to search the web and retrieve information from trusted sources. It provides source-backed answers with citations, making it ideal for fact-checking, news gathering, and research tasks. Key features of Linkup: - Real-time web search using natural language queries to find current information, news, and data - Page fetching to extract and read content from any webpage URL - Search depth modes: Standard for direct-answer queries and Deep for complex research across multiple sources - Source-backed results with citations and context from relevant, trustworthy websites - JavaScript rendering support for accessing dynamic content on JavaScript-heavy pages
Math-MCP
EthanHenrickson
Math-MCP is a computation server that enables Large Language Models (LLMs) to perform accurate numerical calculations through the Model Context Protocol. It provides precise mathematical operations via a simple API to overcome LLM limitations in arithmetic and statistical reasoning. Key features of Math-MCP: - Basic arithmetic operations: addition, subtraction, multiplication, division, modulo, and bulk summation - Statistical analysis functions: mean, median, mode, minimum, and maximum calculations - Rounding utilities: floor, ceiling, and nearest integer rounding - Trigonometric functions: sine, cosine, tangent, and their inverses with degrees and radians conversion support