pm2-mcp

TadMSTR/pm2-mcp
★ 0 stars Python Code/Dev Tools Updated today
An MCP server that gives agents structured read and limited write access to PM2 services. Built with FastMCP, transport is streamable-http bound to localhost.
View on GitHub → 🔍 Audit Wallet Slippage →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "pm2-mcp": {
      "command": "uvx",
      "args": [
        "pm2-mcp"
      ]
    }
  }
}

Or install with pip: pip install pm2-mcp

README Excerpt

An MCP server that gives agents structured read and limited write access to PM2 services. Built with FastMCP, transport is streamable-http bound to localhost. I built this because every other approach to PM2 inspection from an agent involves either raw shell access (homelab-ops `run_command`) or scraping human-readable `pm2 status` output. This server speaks directly to `pm2 jlist`, returns typed fields, and validates service names before issuing any write operations.

Tools (14)

MCP_HOSTMCP_PORTflush_logsget_logsget_serviceget_statuslist_servicesmcpServersreload_servicerestart_servicesavestart_servicestatus_filterstop_service

Topics

mcppm2