Basic information
About cmd-line-executor MCP server
Experimental MCP server to execute command line commands
cmd-line-executor MCP server is a MCP server in the Other category listed in the AddMCP.net directory, published by MarkusPfundstein. Supported transport: stdio. Runtime: python. License: MIT. The repository has 4 GitHub stars. Source code is hosted on github.com.
Setup
{
"mcpServers": {
"cmd-line-executor-MCP": {
"command": "uv",
"args": [
"sync"
]
}
}
}
{
"mcpServers": {
"cmd-line-executor-MCP": {
"command": "uv",
"args": [
"sync"
]
}
}
}
{
"servers": {
"cmd-line-executor-MCP": {
"command": "uv",
"args": [
"sync"
]
}
}
}
cmd-line-executor MCP server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"cmd-line-executor-MCP": {
"command": "uv",
"args": [
"sync"
]
}
}
}
cmd-line-executor MCP server tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is cmd-line-executor MCP server?
An example MCP server that calls command line applications, providing a tool to run commands and return their output.
How to use cmd-line-executor MCP server?
Install via the Claude Desktop configuration file (claude_desktop_config.json) using either the development path with uv or the published path with uvx. The server exposes one tool run_command that accepts a cmd string and an args string array.
Key features of cmd-line-executor MCP server
- Single tool
run_commandfor executing command-line commands - Accepts command and arguments as separate strings
- Returns stdout, stderr, status code from the command
- Built with Python and the
uvpackage manager - Supports both development and published deployment modes
Use cases of cmd-line-executor MCP server
- Run shell commands from an MCP client (e.g., Claude Desktop)
- Execute system utilities and capture their output
- Automate command-line tasks within an MCP workflow
Frequently asked questions
1 What does the `run_command` tool return?
It returns stdout, stderr, and status_code from the executed command.
2 What runtime does cmd-line-executor MCP server require?
It requires Python and the uv package manager. The published version is distributed via PyPI.
3 How do I configure cmd-line-executor MCP server for Claude Desktop?
Edit your claude_desktop_config.json (found at ~/Library/Application Support/Claude/claude_desktop_config.json on macOS, or %APPDATA%/Claude/claude_desktop_config.json on Windows) and add the server configuration under mcpServers using either a local development path with uv or the published uvx command.
4 How can I debug cmd-line-executor MCP server?
Use the MCP Inspector by running npx @modelcontextprotocol/inspector uv --directory <path> run cmd-line-executor. The Inspector provides a browser-based debugging interface.
5 How do I publish my own version of this server?
Build the package with uv build, then publish to PyPI using uv publish. You need to set PyPI credentials via token or username/password.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In