About Universal Brute Workpack
Universal Brute Workpack is a stdio-first MCP server that delegates read-only file, search, and code-review tasks to a user-configured model API. It is aimed at Codex workflows that reserve Codex for decisions and delivery while keeping task reports and evidence.
Key features
- 01List and search files and text
- 02Read files and inspect Git diffs
- 03Search public web with source links
- 04Control delegated task progress
- 05Save intermediate results and pause on limits
Use cases
- 01Delegate read-only repository review
- 02Search public sources and retain links
- 03Pause and resume work under a token budget
MCP support
Exposes task delegation and control tools to MCP clients, including task start, inspection, control, and result retrieval. The configured model API performs read-only tool calls; file writes, shell execution, and sub-agent spawning are not provided.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
npx -y universal-brute-workpackUBW_CONFIGOptional path to a custom Universal Brute Workpack config JSON.UBW_PROFILESOptional path to a custom profile and deny-list JSON.UBW_ROOTSOptional semicolon-separated filesystem roots for local file tools.TAVILY_API_KEYSecretOptional Tavily key for search.web before fallback providers.EXA_API_KEYSecretOptional Exa key for search.web before fallback providers.UBW_MEMORY_URLOptional memory or vector service endpoint for memory.search.LLM_BASE_URLOptional OpenAI-compatible base URL for Agent tasks.LLM_API_KEYSecretOptional model API key for Agent tasks.LLM_MODELOptional model name for Agent tasks.Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project README
Plus 不够用,Pro 又用不完?
接上自己的模型 API,把 Codex 额度留给核心任务。
读文件 · 查资料 · 审代码
自选模型分担,Codex 复核交付。
如果用得上,欢迎点个 Star ⭐
UBW 是一个 MCP 服务。Codex 分配任务、限定目录,用户自主配置的大模型通过 API 只负责调用只读工具,返回报告与证据。联网搜索通过配置的搜索服务完成。
Plus 额度不够用,又用不完 Pro?UBW 支持接入自选模型 API,分担读取、搜索和代码审查等任务,让原本交给 Codex 子 Agent 的只读工作走自定义模型的 API 计费。Codex 负责判断、修改和交付,把订阅额度留给核心任务。
更多用法,欢迎探索,也欢迎提交 Issue 或 PR。


能做什么
- 列目录、找文件、搜索文本、读取文件、查看 Git 差异。
- 搜索公开网页,保留来源链接。
- 查看进度、补充指令、暂停、恢复和取消任务。
- 保存阶段结果;失联或预算耗尽时暂停。
不提供文件写入、Shell 执行或子 Agent 派生。
接入
需要 Node.js ≥ 20.3、DeepSeek API Key;读取 Git 差异需要 Git。
复制 配置示例,将 roots 设为允许读取的项目目录:
{
"roots": ["D:/projects/example"],
"search": { "backend": "deepseek" }
}
MCP 客户端配置:
{
"mcpServers": {
"ubw": {
"command": "node",
"args": ["D:/tools/ubw/src/bridge.js"],
"env": {
"UBW_CONFIG": "D:/config/ubw.json",
"DEEPSEEK_API_KEY": "<API_KEY>"
}
}
}
}
路径改为实际位置。密钥保存在本机配置或环境变量中,不提交到仓库。
配套 Skill
ubw:任务委派、进度跟进和结果复核。使用时将 skills/ubw 目录放入宿主的 Skill 目录。
工具
| 工具 | 用途 |
|---|---|
delegate.start | 分配任务,指定目录、预算和联网权限 |
delegate.inspect | 查看进度并续租,可等待状态变化 |
delegate.control | 补充指令、暂停、恢复、取消 |
delegate.result | 获取完整任务的报告或当前阶段结果 |
读取的文件内容会发送到 DeepSeek API。联网任务需设置 allowNetwork: true;官方搜索另计 API 用量。
默认租约为 120 秒,需在到期前调用 delegate.inspect。任务记录含文件摘录和报告,保存在 ~/.ubw/tasks;重启后保持暂停。Token 预算用于停止后续请求,不是账户金额上限。
开发
npm test
npm run doctor
已通过 Windows / Node.js 26 的本地模拟测试。真实 API 联调尚未完成。
许可证
欢迎按需修改和扩展,也欢迎提交 Issue 或 PR。
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.