MCP Catalogs
Home

gm-exec

by AnEntrypoint·122·Score 47

MCP server for executing code in multiple languages with background processing.

developer-toolsproductivityother
15
Forks
0
Open issues
1 mo ago
Last commit
2d ago
Indexed

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:

you:Executing code snippets in various programming languages within MCP-enabled applications
you:Running tests and build commands in isolated environments
you:Background processing of long-running computational tasks
you:What happens when execution exceeds 15 seconds?
you:What programming languages are supported?

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 README
  • exec

    Execute code in various programming languages with a 15-second timeout

  • bash

    Execute bash shell commands with a 15-second timeout

  • status

    Check status and drain output of a background task

  • close

    Delete a background task

Comparable tools

code-interpreter-mcpshell-mcpdeno-exec

Installation

Installation

Install globally:

bun install -g gm-exec
gm-exec --mcp

Add 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 | bash

FAQ

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

GitHub →

Last updated · Auto-generated from public README + GitHub signals.