server-run-commands
0
This project is an MCP server that allows running commands on the local operating system and returns the exit code and output. It is designed to integrate with applications such as Claude Desktop.
server-run-commands
MCP server to run commands on the local OS
Code written following the official MCP guide:
Tools
- run-command
- Run a command on the local OS
- Input:
command
(string) - Passes the process exit code and stdout back to the LLM
Installation
git clone https://github.com/anton-107/server-run-commands.git
cd server-run-commands
npm install
npm run build
Usage with Claude Desktop
Add this to your claude_desktop_config.json
:
{
"mcpServers": {
"run-commands": {
"command": "<PATH TO LOCAL NODE>",
"args": [
"<PATH TO GIT CLONE FOLDER>/server-run-commands/build"
]
}
}
}