Overview
MCPExec is a server application that allows users to execute local command-line interface (CLI) commands through a managed environment.
To use MCPExec, set up your environment by installing the necessary dependencies, create a new project directory, and configure the MCP server to execute your desired CLI commands.
- Execute local CLI commands remotely - Easy setup with a Python environment - Customizable command execution through configuration
- Automating local command execution for development tasks.
- Running scripts or applications from a remote server.
- Managing local environments through command execution.
Add to your AI client
Use these steps to connect MCPExec in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcpexec-0xbruno": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcpexec-0xbruno"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcpexec-0xbruno": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcpexec-0xbruno"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcpexec-0xbruno": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcpexec-0xbruno"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcpexec-0xbruno": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcpexec-0xbruno"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcpexec-0xbruno": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcpexec-0xbruno"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcpexec-0xbruno": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcpexec-0xbruno"
]
}
}
}FAQ
Can MCPExec execute any CLI command?
Yes! MCPExec can execute any command that is available in the local environment.
Is MCPExec easy to set up?
Yes! The setup process is straightforward and well-documented.
What programming language is MCPExec built with?
MCPExec is built using Python.