Process Manager MCP
About
Manage long-running bash processes and persist their logs.
Details
- Author
- patrickjm
- Categories
- Developer Tools, Infrastructure, Project Management
Jump to
Setup
Install Process Manager MCP in your MCP client (Claude Desktop, Cursor, Windsurf, and others).
Repository: https://github.com/patrickjm/pm-mcp
Follow the installation instructions in the repository README, then restart your MCP client.
Manage long-running bash processes and persist their logs.
A Model Context Protocol (MCP) server that allows Claude and other LLMs to manage long-running bash processes. Perfect for managing development servers, build processes, and other background tasks during development sessions.
- Start Processes: Launch long-running bash commands with names and descriptions
- Process Management: Terminate individual processes or all processes at once
- Log Management: Capture, retrieve, and search through stdout/stderr logs
- Process Interaction: Send input to running processes
- Failure Detection: Immediate error reporting for processes that fail to start
- CLI Tool: Standalone command-line interface for process management
- Persistent Logging: All process logs are saved to disk for later retrieval
Configure your MCP client to use this server:
{ "mcpServers": { "pm-mcp": { "command": "npx", "args": ["pm-mcp"] } } }
- name(required): Process name for identification
- command(required): Bash command to execute
- description(optional): Process description
- cwd(optional): Working directory
terminate_process- Stop a specific process
terminate_all_processes- Stop all managed processes
- id(optional): Get info for specific process
- id(required): Process ID
- lines(optional): Number of recent lines
- id(required): Process ID
- pattern(required): Regex search pattern
send_input- Send input to running process
- id(required): Process ID
- input(required): Input string to send
# Start a process npx pm-mcp cli start "dev-server" "npm run dev" --description "Development server" # List all processes npx pm-mcp cli list # Get logs npx pm-mcp cli logs <process-id> # Search logs npx pm-mcp cli grep <process-id> "error" # Send input to process npx pm-mcp cli input <process-id> "some input" # Terminate process npx pm-mcp cli terminate <process-id> # Terminate all processes npx pm-mcp cli terminate-all
Claude: I'll start your development servers for you. User: Start a React dev server on port 3000 and an API server on port 8080 Claude: I'll start both servers for you. [Uses start_process tool] - Name: "react-dev" - Command: "npm run dev" - Description: "React development server on port 3000" [Uses start_process tool] - Name: "api-server" - Command: "npm run api:dev" - Description: "API development server on port 8080" Both servers are now running. You can check their logs or terminate them anytime. User: Check if there are any errors in the React server Claude: [Uses grep_logs tool with pattern "error"] No errors found in the React server logs. User: Send "q" to quit the API server Claude: [Uses send_input tool] Input "q" sent to the API server process.
Process logs are stored in./pm-mcp-logs/directory with the format<process-id>.log. Each log entry includes:
- Timestamp
- Stream type (stdout/stderr)
- Log content
# Build the project npm run build # Watch mode for development npm run dev # Run the MCP server npm start # Use the CLI npx pm-mcp cli --help
- ProcessManager: Core class handling process lifecycle, logging, and management
- MCP Server: Exposes process management functionality via MCP protocol
- CLI Tool: Standalone interface for direct process management
- Logging: Persistent file-based logging with timestamp and stream type tracking
This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.
A server that provides background process management capabilities, enabling LLMs to start, stop, and monitor long-running command-line processes.
Interact with the CODING DevOps platform for managing projects and work items.
Exposes Makefile targets as callable tools for AI assistants.
All Azure MCP tools in a single server. The Azure MCP Server implements the MCP specification to create a seamless connection between AI agents and Azure services. Azure MCP Server can be used alone or with the GitHub Copilot for Azure extension in VS Code.
Flag features, manage company data, and control feature access using Bucket.
Official MCP server for Buildable AI-powered development platform. Enables AI assistants to manage tasks, track progress, get project context, and collaborate with humans on software projects.
Enable AI Agents to fix build failures from CircleCI.
interacts with ConfigCat feature flag platform. Supports managing feature flags, configs, environments, products and organizations. Helps to integrate ConfigCat SDK, implement feature flags or remove zombie (stale) flags.
Boost security in your dev lifecycle via SAST, SCA, Secrets & IaC scanning with Cycode.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





