1. Conduid
  2. Developer Tools
  3. irskep/persistproc
MCP server · Developer Tools

irskep/persistproc

MCP server to allow LLMs to manage and inspect long-running processes

Unclaimed MIT last commit a year ago devtools
52Fair

Scored 5 days ago · breakdown

About irskep/persistproc

irskep/persistproc is an MCP server published by irskep in the Developer Tools category: mCP server to allow LLMs to manage and inspect long-running processes.

The repository has 8 stars and 5 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/irskep/persistproc

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (3)

ctrlUnified process control: start, stop, or restart processes.

Parameters not published.

listList all managed processes and their status. Can optionally filter by pid, command, or working directory and provides log paths.

Parameters not published.

outputRetrieve captured output from a process.

Parameters not published.

Ask AI

✦

Ask AI about irskep/persistproc

Powered by Claude · Grounded in docs

I know everything about irskep/persistproc. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 6 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v0.2.1v0.2.1 · 9 Jul 20250.2.1 - 2025-01-09 Changed Patch release to sync PyPI version with git tag (no code changes)
v0.2.0v0.2.0 · 8 Jul 2025Added New unified `ctrl` tool that consolidates start, stop, and restart operations into a single MCP tool `persistproc start`, `persistproc stop`, and `persistproc restart` commands continue to work as aliases Support for `--environment`…
v0.1.00.1.0 · 6 Jul 2025Initial release

README

persistproc

A shared process layer for multi-agent development workflows

PyPI version


Full docs: steveasleep.com/persistproc.

What is persistproc?

Persistproc is an MCP server and command line tool which lets agents and humans see and control long-running processes like web servers. The goal is to reduce the amount of copying and pasting you need to do while coding with AI, make it easier for you to use multiple agents, and be tool-agnostic.

There is no config file. Processes are managed entirely at runtime. This is not a replacement for supervisord.

Example use case: basic web development

Suppose you're working on a todo list app, and it has a dev server you normally start with npm run dev. This server watches your code for changes, typechecks it, lints it, and hot-reloads the page. When there's an error, it prints the error to your terminal.

If you're working with an LLM agent such as Cursor or Claude Code, if you see an error, you might copy/paste it from your terminal to the agent and ask how to fix it. Then the agent might make some changes, and maybe you hit another error, so you copy/paste again, and the agent makes another change…etc.

If the agent could see the changes directly, you wouldn't need to do anything! With persistproc, that's possible. Instead of saying npm run dev, say persistproc npm run dev, and the agent can instantly read its output or even restart it. Otherwise, you can still see its output in your original terminal, and kill it with Ctrl+C, like your normally do.

graph TB
    User[User] -->|"persistproc npm run dev"| PP[persistproc server]
    PP <-->|"manages / logs"| NPM["npm run dev<br/>(web server)"]
    PP -.->|"streams output"| User
    
    Agent[Cursor] -.->|"output()<br/>restart()"| PP
    
    style PP fill:#e1f5fe,stroke:#01579b,stroke-width:2px
    style NPM fill:#fff3e0,stroke:#e65100,stroke-width:2px
    style User fill:#f3e5f5,stroke:#4a148c,stroke-width:2px
    style Agent fill:#e8f5e9,stroke:#1b5e20,stroke-width:2px

[!NOTE] Why not just use Cursor and let the agent open a terminal?

  1. Not everyone likes using the terminal in Cursor/VSCode. Engineers have many different workflows.
  2. Only Cursor's agents can see the process, not Claude Code, Gemini CLI, etc.

Example use case: complex web development

Suppose you need to run four processes to get your web app working locally. Maybe an API, frontend server, SCSS builder, and Postgres. Each service emits its own logs.

If you run into an error while testing locally, you can go read all four log files to find out what happened.

But if you started those processes with persistproc, then the agent can read everything at once and possibly give you a quicker diagnosis.

graph TB
    User[User] -->|"starts processes"| PP[persistproc server]
    
    subgraph processes["Managed Processes"]
        API[API Server]
        FE[Frontend Server]
        SCSS[SCSS Builder]
        DB[Postgres]
    end
    
    PP <-->|"manages / logs"| processes
    
    Agent1[Claude Code] -.->|"read logs<br/>diagnose issues"| PP
    Agent2[Cursor] -.->|"read logs<br/>diagnose issues"| PP
    
    style PP fill:#e1f5fe,stroke:#01579b,stroke-width:2px
    style API fill:#fff3e0,stroke:#e65100,stroke-width:2px
    style FE fill:#fff3e0,stroke:#e65100,stroke-width:2px
    style SCSS fill:#fff3e0,stroke:#e65100,stroke-width:2px
    style DB fill:#fff3e0,stroke:#e65100,stroke-width:2px
    style User fill:#f3e5f5,stroke:#4a148c,stroke-width:2px
    style Agent1 fill:#e8f5e9,stroke:#1b5e20,stroke-width:2px
    style Agent2 fill:#e8f5e9,stroke:#1b5e20,stroke-width:2px
    style processes fill:#f5f5f5,stroke:#999,stroke-width:1px,stroke-dasharray: 5 5

[!NOTE] What if my processes are started by another system?

Then your best bet is to write log files to a predictable location and tell the agent where they are, rather than trying to use persistproc. Or, you can follow this issue on GitHub.

Currently, persistproc is most useful when you want your agent to be able to manage processes, not just see their output.

Available Tools

persistproc exposes a standard Model Context Protocol (MCP) server on http://127.0.0.1:8947. You can use any MCP-compatible client to interact with it programmatically.

The server exposes the following tools:

Tool Description
ctrl Unified process control: start, stop, or restart processes.
list List all managed processes and their status. Can optionally filter by pid, command, or working directory and provides log paths.
output Retrieve captured output from a process.

This list is intentionally short because LLMs perform worse with too many tools, to the point where some IDEs (such as Cursor) have a cap on how many tools you can have.

Getting started

1. Install persistproc

pip install persistproc

2. Start the server and configure your agent

Run this in a dedicated terminal and leave it running.

persistproc serve

The first thing persistproc serve outputs is configuration instructions for various agents, so follow those instructions if you haven't already.

3. Start a Process

In another terminal, cd to your project's directory and run your command via persistproc.

# Example: starting a Node.js development server
cd /path/to/your/project
persistproc npm run dev

The command is sent to the server, and its output is streamed to your terminal. You can safely close this terminal, and the process will continue to run.

[!TIP] Or just ask your agent to "run your dev server using persistproc," and it will probably find the right command by looking at your package.json file and run it using persistproc.

With this, your agent can now use the available tools to manage your development environment.

Example Agent Interaction

Once your agent is connected, you can ask it to manage your processes. Assuming you have started a web server with persistproc npm run dev (PID 12345), you can now interact with it.

  • You: "List the running processes."

    • Agent: Calls list() and shows you the running npm run dev process.
  • You: "The web server seems stuck. Can you restart it?"

    • Agent: Identifies the correct process and calls ctrl(action="restart", pid=12345).
  • You: "Show me any errors from the web server."

    • Agent: Calls output(pid=12345, stream="stderr") to retrieve the latest error logs.

Development

Run persistproc in a fully configured virtualenv with ./pp. Run other commands such as pytest in a virtualenv with uv run.

License

This project is licensed under the MIT License.

README fetched from the repository 6 days ago. The original is authoritative.

Questions

About irskep/persistproc

How do I install irskep/persistproc?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is irskep/persistproc safe to use with an AI agent?

Its trust score is 52 out of 100 (fair). It passes 5 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is irskep/persistproc still maintained?

The last commit was a year ago and 6 open issues. That's long enough that you should check whether the maintainer is responding to issues before depending on it.