by phialsbasement
CMD Executor: Cross-platform MCP server to run command-line operations and SSH on Windows and Linux through a standardiz
Executes command-line operations and SSH connections on Windows and Linux systems through a standardized MCP interface. Allows AI assistants to run terminal commands and manage remote servers.
CMD Executor is a community-built MCP server published by phialsbasement that provides AI assistants with tools and capabilities via the Model Context Protocol. CMD Executor: Cross-platform MCP server to run command-line operations and SSH on Windows and Linux through a standardiz It is categorized under developer tools.
You can install CMD Executor in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
MIT
CMD Executor is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
Add new capabilities to Claude beyond text generation
Example
Access external data sources, execute code, interact with tools and services
Transform Claude from chatbot to action-taking agent
Provide Claude with access to relevant context and data
Example
Load project documentation, access knowledge bases, query databases
Get more accurate, context-aware responses
Automate multi-step workflows combining AI and external tools
Example
Research → Summarize → Create document → Send notification
Complete complex tasks end-to-end without manual steps
Share your MCP server with the developer community
Strong directory entry: CMD Executor surfaces stars and publisher context so we could sanity-check maintenance before adopting.
CMD Executor is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
I recommend CMD Executor for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.
CMD Executor has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
CMD Executor reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
CMD Executor is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.
I recommend CMD Executor for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.
Useful MCP listing: CMD Executor is the kind of server we cite when onboarding engineers to host + tool permissions.
CMD Executor reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
We wired CMD Executor into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.
showing 1-10 of 58
A Model Context Protocol (MCP) server implementation for executing CMD commands on both Windows and Linux, as well as allowing SSH connections. This server allows you to integrate command-line operations with MCP-compatible applications.
<a href="https://glama.ai/mcp/servers/s83mqs6123"><img width="380" height="200" src="https://glama.ai/mcp/servers/s83mqs6123/badge" alt="cmd-mcp-server MCP server" /></a>
To install CMD Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install server-cmd --client claude
npm install server-cmd
import { MCPCmdServer } from 'server-cmd';
// Initialize the server
const server = new MCPCmdServer();
// Start the server
server.start();
The server can be configured through environment variables or a configuration object:
const config = {
// Add your configuration options here
};
const server = new MCPCmdServer(config);
To set up the development environment:
git clone https://github.com/PhialsBasement/CMD-MCP-Server.git
cd CMD-MCP-Server
npm install
npm run build
npm run build - Compile TypeScript to JavaScriptnpm run prepare - Prepare the package for publishing@modelcontextprotocol/sdk: ^1.0.1glob: ^10.3.10zod-to-json-schema: ^3.23.5Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
Please note that executing command-line operations can be potentially dangerous. Make sure to implement proper security measures and input validation when using this server in production environments.
For issues and feature requests, please use the GitHub issue tracker.
Prerequisites
Time Estimate
15-60 minutes depending on server complexity
Steps
Troubleshooting
✓ Do
✗ Don't
💡 Pro Tips
Architecture
Model Context Protocol standardizes how AI hosts (Claude, Cursor) communicate with external tools and data sources through server implementations.
Protocols
Compatibility
✓ Use when
Use when you need Claude to access external data, execute actions, or integrate with tools. Best for extending AI capabilities beyond conversation.
✗ Avoid when
Avoid when native integrations exist (use official APIs directly), for real-time critical systems, or when security/compliance requires zero external dependencies.