MCP.so
Sign In
Servers

MCPExec

@0xBruno

MCP Server to exec local cli commands

MCP Server to exec local cli commands

Set up your environment First, let’s install uv and set up our Python project and environment: curl -LsSf https://astral.sh/uv/install.sh | sh Make sure to restart your terminal afterwards to ensure that the uv command gets picked up.

Now, let’s create and set up our project:

uv init exec cd exec

uv venv source .venv/bin/activate

uv add "mcp[cli]"

For Claude for Desktop:

{
    "mcpServers": {
        "exec-cli": {
            "command": "/Users/bruno/.local/bin/uv",
            "args": [
                "--directory",
                "/Users/bruno/example/path",
                "run",
                "app.py"
            ]
        }
    }
}

More from Other