Skip to content
Back to search

gm-exec

wanna develop an app ❓

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/anentrypoint--gm-exec/badge.svg)](/listings/anentrypoint--gm-exec)

HTML

<a href="/listings/anentrypoint--gm-exec"><img src="/api/listings/anentrypoint--gm-exec/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 92 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. # gm-exec
  2. ## NOTE: If you're looking fore mcp-repl or, glootie, or GM... its now at: http://github.com/anEntrypoint/gm
  3. Code execution tool for MCP clients and CLI. Multi-language support (JS/TS, Python, Go, Rust, C, C++, Deno, Java, bash). Built on Bun with PM2-managed process isolation.
  4. ## MCP Server
  5. Add to your MCP client config:
  6. ```json
  7. {
  8. "mcpServers": {
  9. "gm-exec": {
  10. "command": "bunx",
  11. "args": ["gm-exec", "--mcp"]
  12. }
  13. }
  14. }
  15. ```
  16. Or install globally:
  17. ```bash
  18. bun install -g gm-exec
  19. gm-exec --mcp
  20. ```
  21. ## CLI
  22. ```bash
  23. bunx gm-exec-cli exec --cwd=/app "console.log('hello')"
  24. bunx gm-exec-cli bash --cwd=/app "npm install && npm test"
  25. bunx gm-exec-cli exec --lang=python --cwd=/app "print('hello')"
  26. bunx gm-exec-cli exec --file=script.js
  27. ```
  28. ### Commands
  29. ```
  30. gm-exec-cli exec [options] <code> Execute code (waits up to 15s, then backgrounds)
  31. --lang=<lang> nodejs (default), python, go, rust, c, cpp, java, deno
  32. --cwd=<dir> Working directory
  33. --file=<path> Read code from file
  34. gm-exec-cli bash [--cwd=<dir>] <cmd> Execute bash commands, same 15s ceiling
  35. gm-exec-cli status <task_id> Poll status + drain output of a background task
  36. gm-exec-cli close <task_id> Delete a background task
  37. gm-exec-cli runner start Start the runner manually (PM2, no autorestart)
  38. gm-exec-cli runner stop Stop the runner
  39. gm-exec-cli runner status Show runner PM2 status
  40. ```
  41. ### Background execution
  42. Commands have a hard 15-second ceiling. If still running after that, the process is backgrounded and you get a task ID with monitoring instructions:
  43. ```
  44. Backgrounded after 15s — task still running.
  45. Task ID: task_3
  46. Watch output:
  47. gm-exec-cli status task_3
  48. gm-exec-cli close task_3
  49. gm-exec-cli runner stop
  50. ```
  51. The runner auto-starts before each command and auto-stops after — unless a task was backgrounded, in which case the runner stays alive until you explicitly stop it.
  52. ## Supported Languages
  53. | Language | Runtime |
  54. |----------|---------|
  55. | JavaScript / TypeScript | Node.js / Bun |
  56. | Python | python3 |
  57. | Go | go run |
  58. | Rust | rustc |
  59. | C | gcc |
  60. | C++ | g++ |
  61. | Java | javac + java |
  62. | Deno | deno run |
  63. | bash / sh / zsh | shell |
  64. ## Requirements
  65. - [Bun](https://bun.sh) ≥ 1.0
  66. ```bash
  67. curl -fsSL https://bun.sh/install | bash
  68. ```

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.