cmd-line-executor MCP server

Author:@MarkusPfundstein
View on GitHub

Overview

The cmd-line-executor MCP is an experimental server for efficiently executing command-line commands.

To use it, install it for your operating system, configure the server settings in your Claude desktop configuration file, and then use the run_command tool to run commands.

Its key features include executing any command-line commands via run_command, efficiently returning outputs like stdout, stderr, and status codes, and supporting configuration for different server settings, including development and published servers.

Use cases include automating command-line operations in development, executing batch files or scripts directly from the server, and debugging command outputs in a controlled environment using the MCP Inspector.

For frequently asked questions: it can run any command-line tool if properly configured. Configuration is done by editing the claude_desktop_config.json file for your system. Debugging is supported using the MCP Inspector.