CMD
MCP server for executing CMD commands. Can be hooked to claude for additional agentics.
claude mcp add --transport stdio phialsbasement-cmd-mcp-server npx -y server-cmd
How to use
CMD MCP Server provides a way to execute command-line operations through MCP-compatible clients. Built in TypeScript and leveraging the official MCP SDK, this server exposes a CMD execution interface that works across Windows and Linux, and it also supports establishing SSH connections when needed. This combination makes it suitable for integrating system administration tasks, automated scripts, or remote command execution into MCP-powered workflows. After starting the server, clients can send command contexts to be executed and receive structured results, enabling seamless orchestration within your MCP ecosystem.
How to install
Prerequisites:
- Node.js v16 or higher
- npm (or yarn) installed
Install from npm:
npm install server-cmd
Or install via Smithery (automatic client setup):
npx -y @smithery/cli install server-cmd --client claude
Development setup (optional if you want to contribute):
git clone https://github.com/PhialsBasement/CMD-MCP-Server.git
cd CMD-MCP-Server
npm install
Build (if you are distributing a compiled package):
npm run build
Additional notes
Security: Executing command-line operations can expose your system to risks. Ensure proper authentication, input validation, and access controls in production. If SSH functionality is used, consider restricting allowed commands and enabling logging. Environment variables and a configuration object can be used to customize server behavior; refer to the project repository for available options. When debugging, run with verbose logging if supported by the installed package, and verify that the MCP client is sending properly structured command contexts.
Related MCP Servers
zen
Selfhosted notes app. Single golang binary, notes stored as markdown within SQLite, full-text search, very low resource usage
MCP -Deepseek_R1
A Model Context Protocol (MCP) server implementation connecting Claude Desktop with DeepSeek's language models (R1/V3)
mcp-fhir
A Model Context Protocol implementation for FHIR
mcp
Inkdrop Model Context Protocol Server
mcp-appium-gestures
This is a Model Context Protocol (MCP) server providing resources and tools for Appium mobile gestures using Actions API..
dubco -npm
The (Unofficial) dubco-mcp-server enables AI assistants to manage Dub.co short links via the Model Context Protocol. It provides three MCP tools: create_link for generating new short URLs, update_link for modifying existing links, and delete_link for removing short links.