Basic information
About Background Process Manager MCP Server
Background Process Manager offers robust process monitor (procmon) features for LLMs to efficiently manage long-running command-line processes.
Background Process Manager is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by waylaidwanderer. It exposes 7 tools, including start_process, stop_process, clear_process, get_process_output and more. Supported transport: stdio. Runtime: TypeScript. License: MIT. The repository has 8 GitHub stars. Source code is hosted on github.com. Related topics: background-process, cli, community, developer-tools, process-management.
Setup
{
"mcpServers": {
"backgroundProcess": {
"command": "npx",
"args": [
"@waylaidwanderer/background-process-mcp@latest"
]
}
}
}
{
"mcpServers": {
"backgroundProcess": {
"command": "npx",
"args": [
"@waylaidwanderer/background-process-mcp@latest"
]
}
}
}
{
"servers": {
"backgroundProcess": {
"command": "npx",
"args": [
"@waylaidwanderer/background-process-mcp@latest"
]
}
}
}
Background Process Manager MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"backgroundProcess": {
"command": "npx",
"args": [
"@waylaidwanderer/background-process-mcp@latest"
]
}
}
}
Background Process Manager MCP Server tools
- start_process — Starts a new process in the background. Use this for long-running commands such as servers or watchers.
- stop_process — Stops a running background process.
- clear_process — Clears a stopped background process from the list.
- get_process_output — Gets the recent output for a background process. Can specify `head` or `tail`.
- get_server_status — Gets the current status of the Background Process Manager server.
- list_processes — Gets a list of all processes being managed by the Background Process Manager.
- run_command_sync — Runs a shell command synchronously and returns its full output. Use this for short-lived commands such as builds or tests.
Overview
What is Background Process Manager?
Background Process MCP is a Model Context Protocol server that provides background process management capabilities. It enables LLM agents to start, stop, and monitor long-running command-line processes, and includes a terminal UI (TUI) for manual monitoring.
How to use Background Process Manager?
Install the server via npx @waylaidwanderer/background-process-mcp@latest in any MCP client (Claude Code, Claude Desktop, Cursor, Gemini CLI, etc.). For a standalone server, add the --port argument. Alternatively, install globally (pnpm add -g @waylaidwanderer/background-process-mcp) and use the bgpm command to run the core service (bgpm server) or the TUI (bgpm ui --port <port_number>).
Key features of Background Process Manager
- Start, stop, and clear background processes by UUID.
- Retrieve process output with optional head/tail parameters.
- List all managed processes as a JSON array.
- Get server status (version, port, PID, uptime, process counts).
- Offers a standalone core service and a separate TUI client.
Use cases of Background Process Manager
- LLM agents (e.g., Gemini CLI) managing long-running build or test scripts.
- Developers monitoring multiple concurrent command-line processes via a TUI.
- Integrating background process management into custom MCP clients.
Frequently asked questions
1 What problem does this solve that native agent process management doesn’t?
Some AI agents like Claude Code can manage background processes natively, but many others (e.g., Gemini CLI) cannot. This project provides that capability as a standard MCP tool, making long-running task management available to a wider range of agents.
2 What runtime or dependencies are required?
The server uses node-pty for child process lifecycle management and runs as a Node.js application. It is distributed as an npm package and executed via npx or a global install.
3 Where does process data live?
The Core Service (src/server.ts) is a standalone WebSocket server that acts as the single source of truth for all process states. The MCP client connects to it, either spawning a new instance or attaching to an existing one.
4 What transport and authentication does it use?
The MCP server uses the standard STDIO transport for MCP communication. The underlying Core Service communicates over WebSocket. No authentication method is documented.
5 Can I use Background Process MCP without an MCP client?
Yes. You can run the core service manually with npx @waylaidwanderer/background-process-mcp server and connect a TUI client via npx … ui --port <port>. The core service is standalone, allowing other custom clients to be built.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In