A secure Model Context Protocol (MCP) server that enables AI models to interact with Windows command-line functionality safely and efficiently.
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.
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
git clone https://github.com/alxspiker/Windows-Command-Line-MCP-Server.git
cd Windows-Command-Line-MCP-Server
npm install
npm run build
--allow-all
: Run in extended mode (with additional precautions)Create new projects safely with the built-in project creation tool:
~/AIProjects
directoryTo use this server with Claude for Desktop:
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.
By default, only safe commands are permitted:
Dangerous commands are always blocked, including:
Customize the server's behavior by specifying allowed commands or using configuration flags.
# Run with default safe commands
node dist/index.js
# Run with specific allowed commands
node dist/index.js dir echo npm git
# Run in extended mode (use with caution)
node dist/index.js --allow-all
git checkout -b feature/amazing-feature
)git commit -m 'Add some amazing feature'
)git push origin feature/amazing-feature
)This project is licensed under the MIT License - see the LICENSE file for details.
For issues, questions, or suggestions, please open an issue on GitHub.
{
"mcpServers": {
"windows-cmd": {
"env": {},
"args": [
"/path/to/dist/index.js"
],
"command": "node"
}
}
}
Seamless access to top MCP servers powering the future of AI integration.