Skip to content

Releases: TadMSTR/pm2-mcp

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 10 Sep 11:30
2b34954

What's Changed

  • Baseline → Showcase: lint, enforced coverage, mutation pilot, buildable package, docs by @TadMSTR in #7
  • Make shadow logging reach disk (#772), add real argv bind support (#770) by @TadMSTR in #9

Full Changelog: v0.3.2...v0.4.0

v0.3.2

Choose a tag to compare

@github-actions github-actions released this 10 Sep 00:21
7acb8b0

What's Changed

  • chore: add Release workflow (tag push → GitHub Release) by @TadMSTR in #4
  • Declare explicitly that this server needs no environment by @TadMSTR in #5
  • Strip CLAUDE* env family before invoking pm2 CLI by @TadMSTR in #6

Full Changelog: v0.3.1...v0.3.2

v0.3.1

Choose a tag to compare

@TadMSTR TadMSTR released this 16 Jul 22:22
d03fbe9

[0.3.1] — 2026-07-16

Fixed

  • _run_pm2: strip NODE_CHANNEL_FD, NODE_CHANNEL_SERIALIZATION_MODE, and NODE_UNIQUE_ID from the subprocess environment before invoking the pm2 CLI. PM2 injects these for its own IPC channel; leaking them into a spawned pm2 (Node.js) child causes a SIGABRT during teardown. (PM2-1, sibling to HLOPS-1)

v0.2.0 — Showcase Polish

Choose a tag to compare

@TadMSTR TadMSTR released this 20 Apr 18:24

What's New

Four new tools, env var entry point, and expanded test coverage.

Added

  • reload_service — graceful zero-downtime reload via pm2 reload. Preferred over restart_service for production services.
  • save — persists the PM2 process list to disk after write operations
  • flush_logs — clears log files for a named service
  • get_status — server metadata and PM2 health summary (host, port, PM2 version, service counts by status)
  • GitHub Actions CI: Python 3.11/3.12/3.13 test matrix + pip-audit dependency audit
  • Input validation: _VALID_STATUS_FILTERS allowlist in list_services, 500-line cap in get_logs

Changed

  • Entry point switched from argparse flags to env vars (MCP_HOST, MCP_PORT) — defaults unchanged (127.0.0.1:8486). ecosystem.config.js is now the recommended setup path.
  • Pinned fastmcp>=3.2.4 (path traversal CVE fix)

Migration

If you were using pm2 start server.py -- --host 127.0.0.1 --port 8486, switch to:

MCP_HOST=127.0.0.1 MCP_PORT=8486 pm2 start server.py --interpreter python3 --name pm2-mcp

Or use ecosystem.config.js — see README for the recommended snippet.