cmd-line-executor MCP server
@MarkusPfundstein
关于 cmd-line-executor MCP server
Experimental MCP server to execute command line commands
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"cmd-line-executor-MCP": {
"command": "uv",
"args": [
"sync"
]
}
}
}工具
1Runs a command line comment
概览
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
FAQ from cmd-line-executor MCP server
What does the run_command tool return?
It returns stdout, stderr, and status_code from the executed command.
What runtime does cmd-line-executor MCP server require?
It requires Python and the uv package manager. The published version is distributed via PyPI.
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.
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.
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.
其他 分类下的更多 MCP 服务器
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
AutoBrowser MCP
autobrowser-aiBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Codelf
unbugA search tool helps dev to solve the naming things problem.
ghidraMCP
LaurieWiredMCP Server for Ghidra
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
评论