Skip to content

Commit 02181e9

Browse files
Update dependencies locks
1 parent 7d0c2b9 commit 02181e9

File tree

5 files changed

+4951
-62
lines changed

5 files changed

+4951
-62
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,15 @@ $ pm2 update
222222

223223
*PM2 updates are seamless*
224224

225+
## MCP server
226+
227+
PM2 now bundles an [MCP](https://modelcontextprotocol.io/specification/2025-11-25) stdio server that exposes the core process controls (list, describe, start, restart, reload, stop, delete, log flush/rotation, dump, daemon kill) plus process resources.
228+
229+
- Run it with `pm2-mcp` (or `npm run mcp`) and point your MCP client at that stdio command.
230+
- Quick Codex registration: `codex mcp add pm2-mcp -- pm2-mcp` then `codex mcp list` to confirm.
231+
- Tools: `pm2_list_processes`, `pm2_describe_process`, `pm2_start_process`, `pm2_restart_process`, `pm2_reload_process`, `pm2_stop_process`, `pm2_delete_process`, `pm2_flush_logs`, `pm2_reload_logs`, `pm2_dump`, `pm2_tail_logs`, `pm2_kill_daemon`.
232+
- Resources: `pm2://processes` (list) and `pm2://process/{id}` (detail). Both return JSON payloads.
233+
225234
## PM2+ Monitoring
226235

227236
If you manage your apps with PM2, PM2+ makes it easy to monitor and manage apps across servers.

0 commit comments

Comments
 (0)