Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words Sign in

Agent Ex

by wuruofanversion 0.6.0i★ 0iRuns on your computerRepository ↗

How to install

What it does

Dispatch coding tasks to detached Claude Code / OpenCode agents and collect results.

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Developer tools

Use together with

Skills that teach the AI this kind of work; they work alongside this one

rea

Reverse engineer anything with agents, from app behavior down to native binaries.

by morluto★ 478,4891 skills

Skill · How-to guide

andrej-karpathy-skills

A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.

by multica-ai★ 235,7181 skills

Skill · How-to guideNo license stated

graphify

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.

by Graphify-Labs★ 153,3911 skills

Skill · How-to guide

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity0/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score12/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install Agent Ex. Follow https://mcp.popnx.com/i/wuruofan-agent-ex.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 25, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Agent Ex for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "agent-ex": { "command": "npx", "args": [ "-y", "agent-ex-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Agent Ex tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  3. Paste these settings and save the file

    {
      "mcpServers": {
        "agent-ex": {
          "command": "npx",
          "args": [
            "-y",
            "agent-ex-mcp"
          ]
        }
      }
    }
  4. Quit Claude and open it again

  5. Try it

    Use Agent Ex and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Agent Ex or shows a Agent Ex tool in the answer, you are connected

1 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • AGENT_EX_HOME Data directory holding config.json, .env and the task database (default: ~/.agent-ex). Run `agent-ex init` once before first use.

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Agent Ex yet

Agent Ex runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Agent Ex

  • Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)

B · Others in Developer tools that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Agent Ex for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user agent-ex -- npx -y agent-ex-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Agent Ex tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add --scope user agent-ex -- npx -y agent-ex-mcp
  4. Type /mcp in Claude Code

    You should see Agent Ex listed as connected

  5. Try it

    Use Agent Ex and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Agent Ex or shows a Agent Ex tool in the answer, you are connected

1 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • AGENT_EX_HOME Data directory holding config.json, .env and the task database (default: ~/.agent-ex). Run `agent-ex init` once before first use.

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Agent Ex for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "agent-ex": { "command": "npx", "args": [ "-y", "agent-ex-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Agent Ex tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Open the AI chat in Cursor in Agent mode

  4. Try it

    Use Agent Ex and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Agent Ex or shows a Agent Ex tool in the answer, you are connected

1 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • AGENT_EX_HOME Data directory holding config.json, .env and the task database (default: ~/.agent-ex). Run `agent-ex init` once before first use.

Descriptions are as written by the maker.

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Agent Ex for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "agent-ex": { "type": "stdio", "command": "npx", "args": [ "-y", "agent-ex-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Agent Ex tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Open the AI chat in VS Code in Agent mode

  4. Try it

    Use Agent Ex and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Agent Ex or shows a Agent Ex tool in the answer, you are connected

1 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • AGENT_EX_HOME Data directory holding config.json, .env and the task database (default: ~/.agent-ex). Run `agent-ex init` once before first use.

Descriptions are as written by the maker.

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Agent Ex💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user agent-ex -- npx -y agent-ex-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "agent-ex": {
      "command": "npx",
      "args": [
        "-y",
        "agent-ex-mcp"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "agent-ex": {
      "command": "npx",
      "args": [
        "-y",
        "agent-ex-mcp"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "agent-ex": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "agent-ex-mcp"
      ]
    }
  }
}

Values you fill in

  • AGENT_EX_HOME env
    Data directory holding config.json, .env and the task database (default: ~/.agent-ex). Run `agent-ex init` once before first use.

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Registry name
io.github.wuruofan/agent-ex
Downloads per weeki
232/wk
Connection
Runs on your computer
Latest versioni
0.6.0
Published to registryi
Nov 25, 2026
Code last changedi
Nov 25, 2026
Maker
wuruofan
Packages
npm: agent-ex-mcp
Website
github.com
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 26, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account wuruofan, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed yesterday

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for agent-ex-mcp@0.6.0

Checks only this package version, not every dependency · checked Nov 25, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/wuruofan-agent-ex.svg)](https://mcp.popnx.com/en/servers/wuruofan-agent-ex)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Developer toolsi

  • More stars than 0% of the other 8006 servers in this category
  • Published to the registry more recently than 96% of the other 8006 servers in this category
  • Basic checks equal to or better than 99% of the other 8006 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Agent Ex safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed yesterday, and the latest version (0.6.0) reached the registry yesterday.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: GitDiagram, Appllama, Cloudflare MCP, Omnara, Repowise

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

GitDiagram

Architecture diagrams, explanations and Mermaid source for public GitHub repositories.

by ahmedkhaleel2004Widely used★ 19.1KUpdated 2 months ago

Connect now (has URL)3 tools · light✓ service owner · gitdiagram.comTried by the PopNx team

Appllama

Study screens, flows and paywalls from top-earning iOS apps, then build from what wins.

by AppllamaWidely used★ 5.7KUpdated 3 months ago

Connect now (has URL) · sign-in✓ service owner · appllama.io

Cloudflare MCP

Cloudflare MCP servers

by cloudflareGrowing★ 4.5KUpdated 14 months ago

Connect now (has URL)2 tools · light✓ service owner · mcp.cloudflare.comTried by the PopNx team

Omnara

Deploy durable AI agents with Omnara, an open-source managed-agent platform.

by omnara-aiWidely used★ 3.5KUpdated 2 months ago

Connect now (has URL) · sign-in✓ service owner · omnara.com

Repowise

Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.

by repowise-devWidely used↓ 6.5K/wk★ 8.3K Stars for the whole repoUpdated 4 days ago

Connect now (has URL) · sign-in✓ service owner · repowise.dev
Compared with similar ones
This one
Agent Ex
GitDiagramAppllamaCloudflare MCPOmnaraRepowise
Runs whereInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installCloud or install on your computer
Needs a keyNoNoNoNoNoNo
Add with + in ClaudeNoNoNoYesNoNo
Basic checks3/34/44/44/44/45/5
LicenseMITMITMITApache-2.0Apache-2.0AGPL-3.0
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

agent-ex

**Dispatch and review with *external* agents.**

English README · 中文版 →

agent-ex is an MCP server that treats AI coding agents (Claude Code, OpenCode, …) as *external executors*. You dispatch a self-contained ticket; the agent works in a detached background process and writes its result back to a SQLite-backed task store — so a long job never blocks your own conversation.

  • The npm package is agent-ex-mcp; the command it installs is `agent-ex`. (The -mcp suffix only avoids the registry's package-name-similarity rejection for agent-ex.)
  • The data directory is ~/.agent-ex (override with AGENT_EX_HOME).

Three collaboration shapes — all of them are just a different submit prompt, no extra tool:

ShapeHow
Delegate implementationsubmit(prompt= ) → the worker does the job → agent-ex wait brings back the result
Draft a plan independentlysubmit(prompt="read docs/ and the code, write a design to docs/plans/x.md")
Cross-reviewsubmit(prompt="review docs/plans/x.md, list concrete problems by feasibility / gaps / contradictions")

Features

  • External executors — tasks run in a detached process tree; poll with status, stop with cancel.
  • Task state machine — queued → running → (needs_input → running → …) → completed | failed | cancelled, up to 5 continuation rounds.
  • Multi-agent, multi-provider — built-in claude and opencode executors; each profile carries its own env, model and PATH additions.
  • `needs_input` continuation — when the agent asks a question the task parks in needs_input; feed the answer back with submit(continue_of=…).
  • Transient-error retry — 429 / 529 / 5xx / connection resets are retried (3 attempts, backoff 30s → 60s). Timeouts and hard failures are never retried.
  • Feishu (Lark) notifications — a card is pushed when a task reaches a terminal state; dry_run lets you debug without sending.
  • No secrets in `config.json` — the config only holds {env:VAR} placeholders; the real values live in $AGENT_EX_HOME/.env (mode 600, never in git).
  • Self-diagnosis — version reports the build's gitSha; restart makes the server exit so the host respawns it with the current build. Running workers are unaffected.

Requirements

  • Node.js >= 22.5 (the server and the runner both use node:sqlite)
  • A local agent CLI — claude or opencode

Security

Workers run with the agent CLI's permission prompts skipped (claude --dangerously-skip-permissions, opencode --auto). There is no second confirmation. Use it on your own machine, in directories you trust, and think about what permissions you are handing the worker.

Install

npm i -g agent-ex-mcp

or, without installing:

npx -y agent-ex-mcp@latest init

Quick start

agent-ex init

init is interactive: it detects the agent CLIs, asks for the provider and the keys, writes config.json + .env, and then prints a ready-to-paste MCP registration snippet. Copy it into your MCP client config (Trae: TRAE SOLO CN/User/mcp.json; WorkBuddy: ~/.workbuddy/mcp.json):

{

"mcpServers": { "agent-ex": { "command": "/abs/path/to/node", // printed by init "args": ["/abs/path/to/node_modules/agent-ex-mcp/dist/server.js"] } } }

Use absolute paths. MCP clients spawn the server without inheriting your shell `PATH`,

and node_modules/.bin is only injected for npm run / npx. With PATH=/usr/bin:/bin,

a bare "command": "agent-ex" fails with command not found; an absolute path works.

init prints the exact absolute paths it used — just copy them.

`bash

which node # e.g. /Users/ /.nvm/versions/node/v24.18.0/bin/node

`

After that, just say "dispatch X to a background worker" in your conversation. When the task reaches a terminal state you get a Feishu notification (if you configured a webhook).

init re-runs are full overwrites of config.json — to change a single setting use agent-ex config set / agent-ex profile set instead. Details: init guide.

Optional: install the dispatch skill

The MCP tools are the low-level capability. The dispatch skill is the convention layered on top: when to delegate, how to write a self-contained ticket, why two *write* tasks must not run in the same directory, how to continue a needs_input task — and when not to delegate at all.

The skill ships inside the npm package, so installing it is one command:

agent-ex skill install

It does three things:

  1. copies skills/agent-ex-dispatch into ~/.agents/skills/agent-ex-dispatch (the shared directory of the Agent Skills spec);
  2. writes .agent-ex-skill.json next to it, recording the version and a content fingerprint — agent-ex skill status and agent-ex doctor use it to tell "which version is installed";
  3. symlinks it into every host that is present on this machine and should have it (Claude Code, Cursor, Windsurf, Trae, Trae CN, GitHub Copilot, Gemini CLI, OpenCode, Droid, Amp, Qwen Code, MiniMax Code, CodeBuddy, WorkBuddy).

Things worth knowing:

  • Version stays in sync with the CLI — the skill's version *is* the agent-ex-mcp version that shipped it. Published packages are immutable, so an installed skill always matches your CLI. Re-run agent-ex skill install after upgrading; it asks before replacing anything.
  • It never overwrites foreign content — if the target path already holds a real directory that agent-ex did not install, the command aborts and changes nothing.
  • Hosts that bridge themselves are skipped — WorkBuddy only scans ~/.workbuddy/skills, but most WorkBuddy installs ship an auto-bridge script (~/.workbuddy/hooks/sync-agents-skills.sh) that mirrors ~/.agents/skills itself. Without that script, name it explicitly: agent-ex skill install --agent workbuddy.
  • Hosts that read the shared directory are never linked — Codex, Cline and Zed read ~/.agents/skills itself, so a link could only point back at the canonical copy. agent-ex skill status lists them as "reads ~/.agents/skills — no link needed".
  • Pick hosts yourself with `--agent` — by default agent-ex links the hosts it finds on this machine (their config directory exists: ~/.claude, ~/.cursor, ~/.config/opencode, …). --agent restricts the install to the hosts you name and links them without asking:
  agent-ex skill install --agent cursor --agent claude-code   # ids and aliases both work

agent-ex skill install --agent '*' # every host that needs a link agent-ex skill remove --agent cursor # that host only; the rest stays

An unknown name is an error — nothing gets written.

  • Non-interactive shells refuse to run it (exit code 2) unless you pass --yes: install / remove create, re-point and delete things. --yes means "answer every question with yes", not "link every host".

Inspect with agent-ex skill status (read-only), uninstall with agent-ex skill remove.

CLI commands

agent-ex is both the MCP server and the entry point for a few operational commands:

CommandWhat it does
agent-ex initInteractive onboarding (detects CLIs, writes config.json + .env). Re-running overwrites config.json; it lists the diff and asks first, and backs up the old file.
agent-ex doctorHealth check: aggregates the evidence for "does the notification path work" into a verdict + cause + copy-pasteable fix. Also flags a worker PATH gap (a command such as node/npm/bun/git that the worker's own PATH cannot resolve, even though your shell can) with the exact profile set ... path_dirs command to close it. Read-only.
agent-ex doctor --fixAuto-fixes *deterministic* defects (empty keyword, stale brand name, a plaintext webhook left in config.json). Never touches dry_run (that is your preference) nor a custom keyword (that is your bot's UI).
agent-ex doctor --sendAdditionally sends a self-test card whose body deliberately contains no product name.
agent-ex config listShows profiles / executors / notify / defaults.
agent-ex config set Changes one field. Whitelist: notify.dry_run, notify.keyword, defaults.timeout_sec, and executors. .bin.
agent-ex profile listLists all profiles (marks the default one).
agent-ex profile use Switches the default profile.
agent-ex profile create [--bin ]Materialises a built-in preset (opencode-zen-free — a zero-key opencode free-model profile). Creates only; does not switch.
agent-ex profile set Changes a profile's env, or executor (which executor it uses), path_dirs (extra absolute PATH directories for the worker), or cost (free / metered — whether dispatching to this profile may cost money).
agent-ex wait Blocks until the task is terminal (or needs input) and prints the worker's final report.
agent-ex skill installInstalls the dispatch skill from the package and links it into the hosts that should have it. --agent restricts it to the hosts you name.
agent-ex skill removeUninstalls: removes the host symlinks and the installed copy. Only symlinks — a real directory is never touched; the exit code is non-zero if anything was left behind.
agent-ex skill statusRead-only: where it is installed, which version, which hosts are not linked yet.

There is a matching agent_ex_doctor MCP tool, so an agent can diagnose itself without you copy-pasting commands.

agent-ex wait
agent-ex wait task_abc123                    # wait for a terminal state or needs_input

agent-ex wait task_abc123 --once # check once and return agent-ex wait task_abc123 --max-wait-sec 900 # pick your own window

stdout is machine-readable KEY=VALUE; the exit code is the contract: 0 terminal, 5 needs_input (not terminal — answer and wait again on the same id), 2 timeout, 3 not found, 6 database unreadable (an environment problem, not a task problem), 4 bad arguments. Full contract: task lifecycle.

MCP tools

ToolArgumentsReturns
agent_ex_submitprompt (required), project_path, profile, continue_of, timeout_sec, allow_metered{ task_id, status, rounds }
agent_ex_statustask_id, include_finished (0.3.1+), limittask fields; question when needs_input
agent_ex_canceltask_id (required)current state (idempotent on terminal tasks)
agent_ex_version—{ version, gitSha, buildTime }
agent_ex_doctorsend (optional)findings with severity / detail / fix
agent_ex_restart—the server exits; the host respawns it

Tool names are sometimes prefixed by the host (e.g. mcp__agent-ex__agent_ex_submit).

The server is stateless — everything lives in tasks.db. restart does not affect running workers (they live in their own process groups) nor other live server instances.

Configuration

{

"executors": { "claude": { "bin": "/abs/path/to/claude", "extra_flags": ["--dangerously-skip-permissions"] }, "opencode": { "bin": "/abs/path/to/opencode", "extra_flags": ["--auto"] } }, "profiles": { "minimax-3": { "executor": "claude", "cost": "metered", "env": { "ANTHROPIC_BASE_URL": "https://api.minimaxi.com/anthropic", "ANTHROPIC_AUTH_TOK

Only the beginning is shown; read the rest in the repo