I-x2-lifecycle-cli

A development workstream for moving MCP servers into Conductor, including five new server-management tools and an interactive command-line setup wizard. A command-line tool is a program operated by typing commands in a terminal.

In plain words
What is it for?
Building features that import MCP settings, test server connections, diagnose server health, and manage server registrations in Conductor.
Why use it?
It addresses the setup and maintenance work involved in importing, testing, diagnosing, and managing MCP servers. The excerpt describes a development task rather than a finished add-on's user-facing behavior.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/darkiceinteractive/mcp-conductor/i-x2-lifecycle-cli
Clone the repo
git clone --depth 1 https://github.com/darkiceinteractive/mcp-conductor
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 848 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00848
Opus 5 $0.00000 $0.00424
Sonnet 5 $0.00000 $0.00170
Haiku 4.5 $0.00000 $0.00085

Measured yesterday against content hash dcce543b4286, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

I-x2-lifecycle-cli scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

- `import_servers_from_claude` — read `~/.claude/settings.json`, `~/Library/Application Support/Claude/claude_desktop_config.json`, etc. Show diff. On confirm, copy entries into `~/.mcp-conductor.json`. Write `.bak` of e
_plans/v3-enhancements/agents/I-x2-lifecycle-cli.md · 61 lines

How it starts

The opening of the file, as written. The whole thing — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agent I — Workstream X2 Lifecycle MCP tools + interactive CLI wizard

You build the "move MCPs into Conductor" surface: 5 new MCP tools + npx mcp-conductor CLI with interactive wizard.

Setup

pwd  # /mcp-executor-darkice-worktrees/I-x2
git branch --show-current  # feature/v3-x2-lifecycle
git fetch origin
git rebase origin/feature/v3-phase-0-1   # registry needed for tools
git rebase origin/feature/v3-phase-6     # daemon CLI subcommands hook in here
npm install && npm run test:run

Read /Users/mattcrombie/.claude/plans/read-this-analysis-from-rosy-whale.md §3 Part C "Workstream X2".

Append start checkpoint to STATUS.md.

Scope

Five new MCP tools registered in src/server/mcp-server.ts:

  • import_servers_from_claude — read ~/.claude/settings.json, ~/Library/Application Support/Claude/claude_desktop_config.json, etc. Show diff. On confirm, copy entries into ~/.mcp-conductor.json. Write .bak of each source. Prompt to remove originals (confirm-then-strip).
  • test_server — transient connect, list tools, latency probe. No persistent registration.
  • diagnose_server — registered server: process health, recent errors, reconnect attempts, last successful call, registry state.
  • recommend_routing — apply X1 heuristic (avg response < 1KB AND no large-payload signature → passthrough). Returns suggested routing block. Optional --apply.
  • export_to_claude — generate mcpServers JSON pointing back at mcp-conductor stdio (rollback path).

CLI at new entry src/bin/cli.ts. Wire bin.mcp-conductor-cli in package.json. Use:

  • commander for subcommand routing
  • @inquirer/prompts for interactive wizard (Q4 from setup setup subcommand)
  • picocolors for output colour

Subcommands: setup (full wizard), add, list, test <name>, routing <name>, doctor, import, export, daemon start|stop|status|logs (the daemon ones import from Agent F's daemon CLI module).

Add deps: @inquirer/prompts@^7, picocolors@^1, commander@^12. All in dependencies.

Read the full file on GitHub · 61 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 61 lines · 0 tokens per session scan B dcce543b4286

Subscribe to this mod's changes

I-x2-lifecycle-cli is an agent published in the GitHub repository darkiceinteractive/mcp-conductor (0 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 848 tokens. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.