Overview
CMD MCP Server is a Model Context Protocol (MCP) server implementation that allows users to execute CMD commands on both Windows and Linux systems, facilitating integration with MCP-compatible applications.
To use CMD MCP Server, you can install it via Smithery or manually using npm. After installation, you can initialize and start the server using TypeScript code.
- Execute CMD commands through MCP - TypeScript implementation - Built on the official MCP SDK - Cross-platform compatibility
- Automating command-line operations in applications.
- Integrating command execution capabilities into MCP-compatible software.
- Facilitating remote command execution via SSH.
Add to your AI client
Use these steps to connect CMD MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"phialsbasement-cmd-mcp-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-phialsbasement-cmd-mcp-server-mcp-mirror"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"phialsbasement-cmd-mcp-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-phialsbasement-cmd-mcp-server-mcp-mirror"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"phialsbasement-cmd-mcp-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-phialsbasement-cmd-mcp-server-mcp-mirror"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"phialsbasement-cmd-mcp-server-mcp-mirror": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-phialsbasement-cmd-mcp-server-mcp-mirror"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"phialsbasement-cmd-mcp-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-phialsbasement-cmd-mcp-server-mcp-mirror"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"phialsbasement-cmd-mcp-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-phialsbasement-cmd-mcp-server-mcp-mirror"
]
}
}
}FAQ
Is CMD MCP Server compatible with both Windows and Linux?
Yes! CMD MCP Server is designed to work on both operating systems.
How do I install CMD MCP Server?
You can install it via Smithery or manually using npm.
What are the prerequisites for running CMD MCP Server?
You need Node.js (v16 or higher) and a package manager like npm or yarn.