Impri

v0.1.3
io.github.sekera-radim/impri Checked 4 days ago Published 1 month ago

Impri MCP server — human-in-the-loop approval inbox for AI agents

Values you need

VariableWhat it is
IMPRI_API_KEYrequired secret Impri API key (im_...). Get one at impri.dev or from your self-hosted server's first-run logs.
IMPRI_BASE_URLoptional Base URL of a self-hosted Impri server (e.g. http://localhost:8484). Defaults to the hosted cloud.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add impri -e 'IMPRI_API_KEY=<IMPRI_API_KEY>' -- npx -y --package=@impri/mcp@0.1.3 impri-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "impri": {
      "args": [
        "-y",
        "--package=@impri/mcp@0.1.3",
        "impri-mcp"
      ],
      "command": "npx",
      "env": {
        "IMPRI_API_KEY": "<IMPRI_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "impri": {
      "args": [
        "-y",
        "--package=@impri/mcp@0.1.3",
        "impri-mcp"
      ],
      "command": "npx",
      "env": {
        "IMPRI_API_KEY": "<IMPRI_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "IMPRI_API_KEY",
      "id": "impri-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "impri": {
      "args": [
        "-y",
        "--package=@impri/mcp@0.1.3",
        "impri-mcp"
      ],
      "command": "npx",
      "env": {
        "IMPRI_API_KEY": "${input:impri-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.impri]
command = "npx"
args = ["-y", "--package=@impri/mcp@0.1.3", "impri-mcp"]
env = { "IMPRI_API_KEY" = "<IMPRI_API_KEY>" }

Remote (hosted)

Run in a terminal
claude mcp add --transport http impri https://api.impri.dev/mcp --header 'Authorization: <Authorization>'
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "impri": {
      "args": [
        "-y",
        "mcp-remote",
        "https://api.impri.dev/mcp",
        "--header",
        "Authorization: <Authorization>"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "impri": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "url": "https://api.impri.dev/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "impri": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "type": "http",
      "url": "https://api.impri.dev/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.impri]
command = "npx"
args = ["-y", "mcp-remote", "https://api.impri.dev/mcp", "--header", "Authorization: <Authorization>"]

For AI agents

  1. Ask the user for: IMPRI_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: impri_push_action, impri_await_decision, impri_report_result, impri_inbox_status, impri_create_watcher, impri_list_watchers, impri_list_watcher_presets, impri_create_watcher_from_preset.
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json