
Conductor
io.github.jarmstrong158由 GitHub 账号 jarmstrong158 发布v4.0.0更新于 Oct 24, 2026
Local task scheduler and worker manager with MCP integration for Claude Desktop.
概览
Conductor 让助手通过 21 个 MCP 工具在 Windows 本机上创建和管理定时脚本、任务链、分组与邮件报告。
- 可以做什么
- 创建、修改、暂停、立即运行和删除定时 worker,执行 Python、批处理或 shell 脚本
- 构建带并行阶段和失败即停的多步任务链,并管理 worker 分组与已保存配置
- 以固定时间、间隔或 cron 表达式设置调度,并用内置模板生成 worker
- 查看运行历史、状态与日志,并依据错误输出分析失败原因
- 配置 Gmail 邮件设置,发送按 worker 或任务链的通知与报告附件
- 以 JSON 导出和导入全部 worker、任务链与分组,并查看开机自启与更新状态
- 适用场景
- 适合希望由助手在 Windows 桌面上搭建并看管周期性本地自动化的场景,例如夜间脚本、备份与清理流水线、文件夹监视、可用性检查或邮件报告,以及排查某次定时运行失败的原因。
- 运行要求
- 作为本地进程运行(Windows 安装程序,或从源码运行,需 Python 3.10+);.py worker 需要系统中有 Python 3,可用 CONDUCTOR_PYTHON 指定解释器。发送邮件需要 GMAIL_USER 与 GMAIL_APP_PASSWORD(需先开启两步验证的 Gmail 应用专用密码)。可选的 AI 错误分析需要 Anthropic API 密钥。本地仪表盘运行在 127.0.0.1:5000。
安装
在 SourceWeft 中
- 打开 控制台中的 Conductor,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Conductor
Claude's hands for local automation — with a web dashboard for the humans who watch it.
Conductor gives Claude direct, persistent control of a local task runner. Tell Claude what you want automated; it creates the scheduled workers, builds multi-step pipelines, wires up email reports, fires test runs, and reads back the logs when something fails — all through conversation. A web dashboard at 127.0.0.1:5000 runs alongside it for humans who want to peek at status, click pause, or hand-edit a worker.
Originally built to automate warehouse reporting workflows (the daily ShipExec metrics pull) and now general-purpose: any Python / batch / shell script, any schedule, any chain.
The MCP server lives in this repo (
server.py) — the thin layer that exposes Conductor's REST API as Claude tools. It's bundled and auto-registered on install, so most users won't need to touch it directly. The separate conductor-mcp repo is deprecated — it holds an older copy without the auto-launch race protection.
Claude Integration
Conductor registers itself as an MCP server in Claude Desktop on first launch. After restarting Claude Desktop once, Claude has 21 tools for full control:
Example conversation:
You: Run my metrics script every night at 8:30 PM and email me the report
Claude: I'll set that up using the Run + Email template. (creates the worker, configures the schedule, wires up Gmail, fires it to test) Done — worker "Daily Metrics Report" is live. Check your email for the test run.
You: That uptime check keeps failing. What's going on?
Claude: (pulls the last 10 runs, reads the error logs) The site returned a 503 three times in the last hour. The SSL certificate expired yesterday. Here's the full error from the last run...
You: Chain my backup script and cleanup script together. Run backup first, then cleanup after it finishes. Every day at 2 AM.
Claude: *(creates a chain with stage 0 = backup, stage 1 = cleanup, cron schedule "0 2 * * ") Chain "Nightly Maintenance" created with 2 steps. Backup runs first, cleanup runs after it succeeds.
How it works:
- Install Conductor (Windows installer or from source)
- Conductor writes its MCP entry to Claude Desktop's config on first launch
- Restart Claude Desktop once
- Claude now controls Conductor through natural language — create workers, build chains, fire tasks, check logs, send emails
Features
- Claude-Controlled — 21 MCP tools let Claude create workers, chains, groups, templates, and more. Non-technical users can automate anything through conversation.
- Flexible Scheduling — Fixed times (
09:00, 14:30), intervals (2h 30m), or cron expressions (0 9 * * 1-5with plain-English preview). - Task Support — Python (
.py), batch (.bat,.cmd), and shell (.sh) scripts. Selenium and GUI scripts run in a visible terminal window vianew_console. - Built-in Email — configure Gmail once, then any template or worker can send emails. Run + Email template for automated reports. Folder Watcher emails files on arrival. Uptime Check sends DOWN alerts. Worker notifications on success/failure.
- Task Chains — multi-step pipelines with parallel execution. Same stage number = run in parallel. Stop-on-failure toggle.
- Worker Groups — collapsible named groups for organization. Bulk pause/delete per group.
- Run History — per-worker/chain history with status, duration, and error details. Colored dots show last run status at a glance.
- Built-in Templates — Folder Backup, File Cleanup, Folder Watcher, Uptime Check, Open URL, Run + Email. Generated scripts are stdlib-only and self-contained.
- Per-worker Environment Variables — inject
KEY=VALUEpairs into subprocess environments. - Worker Timeout — kill and log workers that run over a set number of minutes.
- Email Notifications — per-worker/chain email alerts: Always, On Failure, or On Success.
- Import / Export — portable JSON snapshot of all workers, chains, and groups.
- Saved Profiles — save and load named worker configurations.
- Auto-start on Login — one-click Registry Run key install. No admin required.
- Auto-update Check — modal dialog when a newer release is available.
- System Tray Icon — right-click for Open Dashboard or Stop.
- AI Error Analysis — send error logs to Claude for diagnosis directly in the dashboard.
- Persistent State — SQLite database. Workers and chains restore on restart.
Add Workers Form
Built-in Templates
Task Chains
Debug Log
Installation (Windows)
Download and run Conductor_Setup.exe from the latest release.
- Requires Python 3 on the machine (see note below) — Conductor runs your
.pyworkers with it - Installs to
%AppData%\Conductor— no admin/UAC required - Adds Start Menu shortcut and optional desktop shortcut
- Optional auto-start at login
- Uninstaller included
Python is required for Python workers. Conductor itself ships as a self-contained executable, but it runs your
.pyscripts with a real interpreter found on your system (thepylauncher,PATH, or the Windows registry). If none is found, workers fail loudly with instructions — they are never reported as successful. SetCONDUCTOR_PYTHONto a full path to pin a specific interpreter..bat/.cmd/.shworkers do not need Python.
Setup from Source
Requirements
- Python 3.10+
The dashboard opens at http://127.0.0.1:5000. Press Ctrl+C to stop.
Building the Installer
Forces a full rebuild:
Output: Output\Conductor_Setup.exe. Requires Inno Setup.
Task File Format
Python (.py)
Scripts run as subprocesses:
Batch / Shell (.bat, .sh, .cmd)
Executed as subprocesses. The worker's output directory (if set) is used as the working directory.
Schedule Formats
Task Chains
Chains run multiple scripts in sequence. Each step has a stage number — steps with the same stage run in parallel, stages execute in order. Stop on failure halts the chain when any step fails.
Templates
All generated scripts use Python stdlib only.
Architecture
AI Error Analysis
The debug log includes an Analyze Errors button. When ERROR entries are present, click it to send them to Claude for diagnosis. Requires an Anthropic API key in .env:
Example — before / after:
Raw error in the debug log:
Claude's diagnosis (one click later):
The script is failing on a
find_elementcall before the page has finished loading — Selenium is racing the DOM. The element#report-tableis rendered after an XHR completes. Two fixes, in order of preference:
- Wrap the lookup in a
WebDriverWait(driver, 10).until(EC.presence_of_element_located((By.ID, "report-table")))so it polls until the element exists.- If you don't want to import the wait helpers, a
time.sleep(2)before the click will work but is brittle. The traceback shows this happened on the first run after a ShipExec UI change yesterday — they may have also renamed the element. Verify the ID is stillreport-tablein DevTools before adding the wait.
Email Setup
Click 📧 Email in the header to configure Gmail credentials. Requires a Gmail App Password (2-Step Verification must be enabled first). Credentials are stored locally in .env and never transmitted except to Gmail's SMTP server.
Once configured, all templates and worker notifications can send email.
API
License
MIT
来源:README.md,提交 7d07800
工具
0版本历史
1- v4.0.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分