# Impri

Routes autonomous agent actions into a human approval queue so reviewers can inspect, edit, or reject side effects before execution.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 6
- Author: sekera-radim
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/sekera-radim/impri/tree/HEAD/mcp
- Updated: 2026-10-23
- HTML: https://affpapa.org/en/nevibecode/mcp/impri

## What it does

Impri sets up a safety checkpoint for agentic workflows. Instead of triggering external side effects directly, an agent submits its drafted action via `impri_push_action` and waits on `impri_await_decision`. The human reviewer can approve or reject the request, or tweak specific draft fields. Once finished, `impri_report_result` closes the loop by logging the execution status.

Impri contains 8 tools. Beyond approval queues, it offers watcher presets to track incoming signals across RSS feeds or Reddit. You can run the server locally via Docker at `http://localhost:8484` or call the remote endpoint at `https://api.impri.dev/mcp`. An `IMPRI_API_KEY` is required in all setups, and the remote HTTP endpoint caps waiting timeouts at 20 seconds.

## Requirements
- Needs: Node.js (commands run via npx)
- Remote server: `https://api.impri.dev/mcp`
- Environment variables: `IMPRI_API_KEY`, `IMPRI_BASE_URL` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

1. **Platform CLI**
```bash
claude mcp add --env IMPRI_API_KEY=<IMPRI_API_KEY> --env IMPRI_BASE_URL=<IMPRI_BASE_URL> --transport stdio mcp -- npx -y @impri/mcp
```
Replace <…> with your own values

2. **Platform CLI: remote server**
```bash
claude mcp add --transport http mcp https://api.impri.dev/mcp
```

### Codex

1. **Platform CLI: remote server**
```bash
codex mcp add mcp --url https://api.impri.dev/mcp
```

2. **Platform CLI**
```bash
codex mcp add mcp --env IMPRI_API_KEY=<IMPRI_API_KEY> --env IMPRI_BASE_URL=<IMPRI_BASE_URL> -- npx -y @impri/mcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "mcp": {
            "url": "https://api.impri.dev/mcp"
        }
    }
}
```
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "mcp": {
            "command": "npx",
            "args": [
                "-y",
                "@impri/mcp"
            ],
            "env": {
                "IMPRI_API_KEY": "<IMPRI_API_KEY>",
                "IMPRI_BASE_URL": "<IMPRI_BASE_URL>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "mcp": {
            "type": "http",
            "url": "https://api.impri.dev/mcp"
        }
    }
}
```
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "mcp": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@impri/mcp"
            ],
            "env": {
                "IMPRI_API_KEY": "<IMPRI_API_KEY>",
                "IMPRI_BASE_URL": "<IMPRI_BASE_URL>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

1. **Platform CLI: remote server**
```bash
gemini mcp add -t http mcp https://api.impri.dev/mcp
```

2. **Platform CLI**
```bash
gemini mcp add -e IMPRI_API_KEY=<IMPRI_API_KEY> -e IMPRI_BASE_URL=<IMPRI_BASE_URL> mcp npx -y @impri/mcp
```
Replace <…> with your own values

## When to use it
- intercept risky tool invocations before they reach third-party APIs
- allow reviewers to edit agent drafts before final submission
- check queue volume to prevent reviewer overload during large jobs
- set up automated keyword triggers using pre-configured templates

## Example prompts
- Check the pending approval queue in Impri before starting this batch
- Send this comment draft to Impri and wait for operator approval
- Create a watcher for new GitHub releases using the preset template

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 392262
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33989
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81163
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119231
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47577
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43902

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
