https://github.com/0xbruno/mcpexec
MCP Server to exec local cli commands
https://github.com/0xbruno/mcpexec
Last synced: 3 months ago
JSON representation
MCP Server to exec local cli commands
- Host: GitHub
- URL: https://github.com/0xbruno/mcpexec
- Owner: 0xBruno
- Created: 2025-03-06T05:32:42.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-03-06T05:38:58.000Z (7 months ago)
- Last Synced: 2025-03-06T06:29:53.486Z (7 months ago)
- Language: Python
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MCPExec
MCP Server to exec local cli commandsSet 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:
# Create a new directory for our project
uv init exec
cd exec# Create virtual environment and activate it
uv venv
source .venv/bin/activate# Install dependencies
uv add "mcp[cli]"# Add MCP Server
For Claude for Desktop:
```
{
"mcpServers": {
"exec-cli": {
"command": "/Users/bruno/.local/bin/uv",
"args": [
"--directory",
"/Users/bruno/example/path",
"run",
"app.py"
]
}
}
}
```