
Backburner
io.github.RohitYajee8076由 GitHub 账号 RohitYajee8076 发布v1.0.0更新于 Oct 24, 2026
Run long shell commands as background tasks: start them, keep working, collect the results later
概览
一个本地 MCP 服务器,让助手把耗时 shell 命令作为持久后台任务运行,并在之后(甚至重启后)取回结果。
- 可以做什么
- 在后台启动 shell 命令,可指定工作目录和超时,立即返回任务 ID,不阻塞对话。查询任务状态(运行中、已完成、失败、已取消、超时、中断),并读取已捕获的输出,任务运行中也能查看部分输出。取消任务及其整个进程树,并按最新优先列出最近的任务。任务与日志保存在磁盘上,因此结果在后续会话或重启后仍可获取。
- 适用场景
- 适合助手需要运行测试套件、构建、抓取或批处理等耗时任务而不想冻结对话的场景,也适合结果必须在关闭客户端或重启机器后仍然保留的情况。
- 运行要求
- 作为本地 stdio 进程运行;需安装 backburner-mcp Python 包,并用 python -m backburner.server 启动。可选环境变量 BACKBURNER_ALLOW 和 BACKBURNER_DENY 用于限制可执行的命令,BACKBURNER_HOME 指定任务数据库和日志的存放目录(默认 ~/.backburner)。无需账号或 API 密钥。
安装
在 SourceWeft 中
- 打开 控制台中的 Backburner,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Put your AI agent's slow work on the back burner. Keep cooking.
Background tasks for AI agents that outlive the conversation — start a long job, close the client, and the result is still waiting when you come back.
Durable & Restart-Proof ◦ Zero Infrastructure ◦ MCP Tasks (2026-07-28) ◦ Windows & Unix
📦 PyPI • 🗂️ MCP Registry • 🐛 Issues • 📄 MIT
📢 Updates
- v1.0 — implements the official MCP Tasks extension
(SEP-2663,
io.modelcontextprotocol/tasks). A Tasks-capable client can turn astart_taskcall into a durable task and drive it withtasks/get,tasks/update, andtasks/cancel— the standard async-job protocol — while the five plain tools keep working for every other client. Built against the 2026-07-28 spec (mcp2.0). - v0.2.1 — output with non-ASCII characters (✓, emoji, any non-English text) no longer crashes tasks on Windows.
- v0.2.0 —
exit_codeis no longer reported for cancelled/timed-out tasks (it was an artifact of the kill, not a real result); new animated demo below. - v0.1.x — first release: 5 tools, task timeouts, command allow/deny policy.
Listed on the official MCP Registry as
io.github.RohitYajee8076/backburner.
backburner is an MCP server that gives any AI assistant — Claude, ChatGPT,
Gemini, GitHub Copilot, Cursor, and any other MCP client — the ability to run
long shell commands as background tasks — start a test suite, a build, a
scrape, a batch job — then keep working and check back for the results, instead
of sitting frozen until it finishes.
🔥 Why not just use my client's built-in background mode?
Because that lives inside the conversation — it disappears the moment the session ends. Close the chat, restart the client, reboot the laptop, and any in-session background work (and its output) is gone.
backburner keeps every task and its full output on disk (SQLite +
per-task log files under ~/.backburner/), so your work outlives the session
that started it:
- Start now, collect later — even in a different chat. A task you launch today is still listed, with its result, in a brand-new session tomorrow.
- Restart-proof. State survives the server, the client, and the machine
restarting. Finished tasks keep their output; a task cut off by a crash is
honestly marked
interrupted, never silently dropped. - No waiting, no blocking. A 10-minute tool call no longer freezes the conversation or times out and loses the work.
See it for yourself — a real two-process proof (no mock-ups):
It starts a job in one process, exits, then a separate process — which never saw the task id — finds the finished work waiting on disk.
Built on the MCP Tasks pattern, formalized in the 2026-07-28 spec release
(SEP-2663):
backburner speaks it natively (tasks/get / tasks/update / tasks/cancel)
and exposes the same engine as plain tools, so it works with every client
today.
🧰 Tools
✨ Features
-
Survives restarts — tasks are tracked in SQLite under
~/.backburner/; output is captured to per-task log files. If the server dies mid-task, orphaned tasks are honestly markedinterrupted, never silently lost. -
Real cancellation — kills the full process tree (worker processes included), on Windows and Unix.
-
Peek at live progress —
task_resulton a running task returns the output so far. -
Timeouts — pass
timeout_secondsand a runaway task is killed and honestly markedtimed_outinstead of hanging forever. -
Command policy — restrict what the AI may run with environment variables (regexes, comma-separated; deny always wins):
-
Zero infrastructure — stdlib only (SQLite, subprocess, threads). No Redis, no Celery, no Docker.
-
Tested — a pytest suite covers the full job lifecycle: completion, failure, cancellation, timeouts, crash recovery, and the command policy.
🚀 Install
backburner is a standard stdio MCP server — it works with any MCP-compatible
client, including:
Claude Code · Claude Desktop · OpenAI (ChatGPT desktop / Agents SDK) · Google Gemini (Gemini CLI) · GitHub Copilot (VS Code) · Cursor · Windsurf · Cline · Zed — and any other client that speaks MCP.
First install the package:
Claude Code
Everything else (Claude Desktop, Cursor, VS Code / Copilot, Windsurf, Gemini CLI, …)
Most clients use the same standard config block — add backburner to your
client's MCP config (see your client's docs for where that file lives):
🔒 Security note
backburner executes the shell commands the AI sends it, with your user's
permissions. That is its job — but treat it like giving your agent a
terminal. Run it only with clients whose tool-use you review/approve,
prefer permission modes that require confirmation for start_task, and
use BACKBURNER_ALLOW / BACKBURNER_DENY to scope what may run.
🗺️ Roadmap
- Task timeouts and max-runtime limits
- Allowlist/denylist for commands
- PyPI release —
pip install backburner-mcp - Listed on the official MCP Registry
- MCP Tasks extension (spec 2026-07-28, SEP-2663) — native
tasks/get/tasks/update/tasks/cancelalongside the plain tools - Task push updates (
notifications/tasks) — live status without polling - Local web dashboard — watch tasks live in the browser
- Structured progress reporting (parse % / step markers from output)
📄 License
MIT
来源:README.md,提交 42bc06d
工具
0版本历史
1- v1.0.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分