# Procm MCP server

> Enables AI clients to create, manage, and monitor system processes like development servers and test watchers.

- Repository: https://github.com/coder-ka/procm-mcp
- Page: https://hostedmcp.org/servers/coder-ka/procm-mcp
- Transport: stdio
- Stars: 5
- Latest version: 0.0.43

## Install

### Claude Code

```sh
claude mcp add procm-mcp -- npx -y procm-mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "procm-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "procm-mcp"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "procm-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "procm-mcp"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"procm-mcp","type":"stdio","command":"npx","args":["-y","procm-mcp"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "procm-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "procm-mcp"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add procm-mcp -- npx -y procm-mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.procm-mcp]
command = "npx"
args = ["-y", "procm-mcp"]
```

### Gemini CLI

```sh
gemini mcp add -s user procm-mcp npx -- -y procm-mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "procm-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "procm-mcp"
      ]
    }
  }
}
```

## Tools (6)

- `allow-start`
- `start`
- `delete`
- `restart`
- `get-process`
- `list`

## FAQ

### How does the server handle process security?

It uses an 'allow-x pattern' where processes must be added to a whitelist using the allow-start-process tool before they can be executed without confirmation.

### What happens to processes when the MCP client terminates?

The server automatically cleans up and terminates any processes it created upon termination.

### Can I see the output of a running process?

Yes, you can retrieve both stdout and stderr logs for specific processes.

### How are processes stopped?

Processes are stopped using a SIGTERM signal by default, but a SIGKILL is sent if the process does not exit within 10 seconds.
