Process Manager MCP
Manage system processes (start, stop, restart, monitor) via an MCP interface with automatic cleanup.
procm-mcp
A Model Context Protocol (MCP) server for process management.
Supported features
- Secure and automatable process creation
- Cleanup created processes automatically on termination (e.g. exiting claude code)
- Common process management features supported, restarting, deleting, checking status or retreving stdout/stderr of processes
Using these features, LLMs start processes like development servers, docker-compose, or test watchers and check their outputs to fix bugs automatically.
Installation
npm i -D procm-mcp
.mcp.json
{
"mcpServers": {
"procm-mcp": {
"command": "node",
"args": ["./node_modules/procm-mcp/build/index.js"],
"env": {}
}
}
}
Secure process creation
You can permit LLMs to use start-process
tool without confirmation, because procm-mcp only allow whitelisted process creations.
LLMs will ask you to use allow-start-process
tool to add specific process creation to the whitelist.
Once you allow a process creation, you don't have to confirming it anymore as long as the command and the working directory are the same.
I call it "allow-x pattern", which can balances security and usability in MCP.
Warning: Do not permit LLMs to use allow-start-process
without confirmation.That means "Do anything you want to".
Tools
allow-start-process
Allow specific processes to be createdscript
(required): The script/command to allowargs
(optional): Array of argumentscwd
(optional): Working directory
start-process
Start a new process with specified script and argumentsscript
(required): The script/command to executename
(optional): A friendly name for the processargs
(optional): Array of arguments to pass to the scriptcwd
(required): Working directory for the processenvs
(optional): Environment variables to set for the process
delete-process
Stop and remove a process by ID.The default signal is SIGTERM, but SIGKILL(force killing) will be sent after 10 seconds unless the process exits.id
(required): The process ID
restart-process
Restart an existing process by IDid
(required): The process ID
get-process-info
Get detailed information about a processid
(required): The process ID
list-processes
List all currently managed processes- No parameters required
get-process-stdout
Retrieve stdout logs from a processid
(required): The process IDchunkCount
(optional): Number of recent log entries to retrieve (default: 10)
get-process-stderr
Retrieve stderr logs from a processid
(required): The process IDchunkCount
(optional): Number of recent log entries to retrieve (default: 10)
License
MIT
Related Servers
MCP Arduino Server
An MCP server for the Arduino CLI, offering tools to manage sketches, boards, libraries, and files.
Reloaderoo
A local MCP server for developers that mirrors your in-development MCP server, allowing seamless restarts and tool updates so you can build, test, and iterate on your MCP server within the same AI session without interruption.
MCP Jenkins Intelligence
AI-powered Jenkins pipeline intelligence platform with natural language interface. Provides comprehensive pipeline analysis, failure prediction, optimization suggestions, and automated Jenkinsfile reconstruction using Model Context Protocol (MCP) integration.
Laravel Forge MCP Server
Manage Laravel Forge servers and sites using the Forge API.
MCP Gateway
A reverse proxy gateway for managing and accessing multiple MCP servers through a single entry point, deployable via Docker.
Chainlink Feeds
Provides real-time access to Chainlink's decentralized on-chain price feeds.
Zeek-MCP
Integrates Zeek network analysis with conversational AI clients. Requires an external Zeek installation.
xMCP Server
A streamable HTTP MCP server that proxies requests to stdio MCP servers within a container, providing a consistent command environment.
Starwind UI
A server providing tools for developers working with Starwind UI components.
MCP Server + Github OAuth
An MCP server with built-in GitHub OAuth support, designed for deployment on Cloudflare Workers.