gm-exec
by AnEntrypoint·★ 122·Score 47
MCP server for executing code in multiple languages with background processing.
Overview
gm-exec is a code execution tool for MCP clients and CLI that supports multiple programming languages including JavaScript/TypeScript, Python, Go, Rust, C, C++, Java, Deno, and bash. It's built on Bun with PM2-managed process isolation, providing safe execution environments. The server features a 15-second ceiling for commands with the ability to background long-running tasks, allowing monitoring and management through task IDs.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose gm-exec when you need secure, multi-language code execution within MCP clients with background task capabilities.
When NOT to choose this
Don't choose gm-exec if you need longer execution times than 15 seconds or require language runtimes not in the supported list.
Tools this server exposes
4 tools extracted from the READMEexecExecute code in various programming languages with a 15-second timeout
bashExecute bash shell commands with a 15-second timeout
statusCheck status and drain output of a background task
closeDelete a background task
Comparable tools
Installation
Installation
Install globally:
bun install -g gm-exec
gm-exec --mcpAdd to your MCP client config:
{
"mcpServers": {
"gm-exec": {
"command": "bunx",
"args": ["gm-exec", "--mcp"]
}
}
}Requirements:
- Bun ≥ 1.0
Install Bun:
curl -fsSL https://bun.sh/install | bashFAQ
- What happens when execution exceeds 15 seconds?
- The process is backgrounded and you receive a task ID for monitoring. The runner stays active until explicitly stopped.
- What programming languages are supported?
- JavaScript/TypeScript, Python, Go, Rust, C, C++, Java, Deno, and bash/sh/zsh are supported with their respective runtimes.
Compare gm-exec with
Last updated · Auto-generated from public README + GitHub signals.