universal-brute-workpack
Universal Brute Workpack is a local-first workbench MCP server that offloads bulk work from your main AI agent thread, providing a comprehensive suite of tools with graceful degradation and no API key required for basic use.
Web & Network: Search the web via Exa, Tavily, DuckDuckGo, or direct HTTP fallback (
search.web); fetch any URL (search.fetch).Filesystem Operations: Glob patterns (
fs.glob), CPU-parallel content search (fs.grep), list directories (fs.list), and read/write/copy/move files (file.read,file.write,file.copy,file.move).Code Tools: Apply exact text replacements with automatic rollback on syntax failure (
code.patch); run structured heuristic code reviews (code.review).Command Execution: Run local shell commands with configurable timeout and working directory (
command.exec).Validation: Syntax/config checks (
validate.check), load/summarize JSON or JS modules (validate.load), and git diff (validate.diff).Memory & Recall: Search via external memory/vector service with local text file fallback (
memory.search,memory.recall).CPU-Parallel Worker Tools: Analyze files in parallel for size, line counts, TODOs/FIXMEs (
worker.analyze); parallel directory/file diff by SHA256 and size (worker.diff); check workpack/worker pool/sidecar status (worker.status).Audit Pipeline: Prepare audit run directories with TaskCards and report dropboxes (
audit.prepare), ingest worker reports (audit.ingest_report), run full audit pipelines (audit.run), and collect EvidenceBundles with gate files (audit.collect).Agent Orchestration: Spawn single external agent tasks via LLM sidecar (
agent.spawn); run concurrent multi-agent pipelines with configurable concurrency and stagger timing (agent.pipeline).
All tools degrade gracefully — e.g., web search falls back to DuckDuckGo, memory search falls back to local text files, and agent tools report not_configured instead of crashing when services are unavailable.
Provides fallback web search capability when no other web search provider is configured.
Allows spawning agent tasks and pipelines using an OpenAI-compatible API endpoint.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@universal-brute-workpackgrep for 'FIXME' in the project directory"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Universal Brute Workpack
可以把它理解成“Codex 和任意 MCP Agent 都能用的通用版 OpenClaw SC”:默认百路、可配置100+ Agent 流水线 + 跟随全部可用 CPU 并行度的本地 Worker。
Universal Brute Workpack(UBW)把一个普通 Agent 客户端升级成本地满配工作台。Codex、OpenClaw、Claude Desktop、Cursor、Cline、Continue 或其他 MCP 客户端,都可以通过一个服务获得并行 Agent、本地多核 Worker 和完整工具链。
它最强的地方
1. 100+ Agent 流水线
默认支持最多100个流水线任务,任务上限和并发数都可以配置提高。适合大面积全网调研、代码审计、日志扫描和多方案探索。
2. 真正使用本机全部可用 CPU 并行度
本地 fs.grep、文件分析、切片、diff 和批处理通过 Worker Threads(工作线程)运行。默认 Worker 池自动跟随机器可用 CPU 并行度,多核机器不再闲着。
3. 本地 Worker 不花模型 Token
能用 CPU 完成的搜索、哈希、统计和差异分析,不需要让昂贵模型逐个处理,速度更快,成本接近零。
4. 便宜模型跑广度,强 Agent 做判断
大批量探索可以交给便宜 API 模型;Codex Pro 或其他强 Agent 保留给规划、复审、合并和最终裁决。
5. 一个 MCP 补齐整套本地能力
文件读写、并行 grep、命令执行、网页搜索兜底、记忆召回兜底、代码补丁、验证、Agent 派生和流水线都在一个 Workpack 里。
6. 代码补丁失败可以自动回撤
code.patch 使用精确替换;JS 类文件修改后自动运行 node --check,语法失败就恢复原文件。
7. 服务缺一块,其他能力仍能继续工作
没有配置 LLM 时,本地文件和 Worker 工具仍然可用;外部搜索、记忆或 Agent 服务可以按配置逐级启用,不需要整套系统一起停摆。
8. 不绑定某一个 Agent 框架
它通过 MCP 的 stdio、Streamable HTTP 或 legacy SSE 提供能力,可以作为多个 Agent 客户端共用的本地执行层。
Related MCP server: Coding Agent MCP Server
最简单的用法
安装后可以直接让 Agent:
用 UBW 把这个仓库切片并行搜索
用本地多核 Worker 扫描所有文件
把这个问题拆成100路 Agent 调研
用便宜模型跑批量候选,最后由主 Agent 复核
修改这段代码,验证失败自动回撤默认 Agent 流水线最多100个任务、默认20并发;可以通过 UBW_AGENT_MAX_PIPELINE_TASKS 和 UBW_AGENT_CONCURRENCY 调整。大规模 API Agent 任务会真实产生模型费用,本地 Worker 任务不消耗模型 Token。
English quick overview
Universal Brute Workpack is a portable, MCP-native edition of the OpenClaw sc idea:
100 pipeline tasks by default, configurable beyond 100;
local worker pools that follow available CPU parallelism;
zero-token local grep, slicing, hashing, analysis, and diff;
API-backed Agent pipelines for wide research and audits;
rollback-aware code patching;
files, commands, search, memory fallback, validation, and evidence collection behind one MCP server;
support for Codex, OpenClaw, Claude Desktop, Cursor, Cline, Continue, and other MCP clients.
Capability Model
Available now:
Full-capability MCP tool bundle with stdio, Streamable HTTP, and legacy SSE transports.
26 neutral tools for search, fetch, file operations, code patching/review, commands, validation, memory search/recall, worker analyze/diff, audit chain, status, and Agent spawn/pipeline.
Codex installer defaults to
codex_daily, exposing 12 low-noise tools for web search, bulk file discovery, CPU-parallel grep, read-only review, and validation. Full capability remains available through explicit profiles.CPU-parallel
fs.grepthrough a local worker pool. By default it uses available machine parallelism; setUBW_WORKER_POOL_SIZEonly when you want to limit it.code.patchuses exact replacements and rolls back JS-like files whennode --checkfails.Managed sidecar mode for
agent.spawnandagent.pipeline; users do not need to start a second terminal for the sidecar.Concurrent API-backed
agent.pipelinewith configurable task cap, concurrency, stagger timing, and timeout.TaskCard/runDir/collector/EvidenceBundle audit chain through
audit.prepare,audit.ingest_report,audit.run, andaudit.collect.Zero-key first run: DuckDuckGo/direct HTTP fallback for web search and local text/JSON/Markdown/log fallback for memory search.
Configurable profiles, deny lists, filesystem roots, provider keys, memory backends, LLM endpoints, pipeline task limits, and stagger timing.
OpenAI-compatible API mode for
agent.spawnandagent.pipeline; if no model backend is configured, Agent tools returnnot_configuredinstead of killing the MCP process.Optional Codex companion skills under
integrations/codex-skills/: a generalubwboundary guide plus the advancedubw-auditentry.Optional Codex plugin wrapper under
plugins/universal-brute-workpack/plus.agents/plugins/marketplace.jsonfor users who want UBW to appear in the Codex plugin UI.
Proven pattern / current portable base:
OpenClaw has already demonstrated 100-way prompt-contained pre-audit as an external orchestration pattern.
Universal Brute Workpack now ships the portable base for that pattern: local worker pool, managed sidecar, concurrent pipeline controls, TaskCards, run directories, collector contracts, EvidenceBundles, failure thresholds, and main-Agent review gates.
Host-mediated mode lets Codex/Cursor/Cline/other Agent hosts create native subagents while UBW owns prompts, report ingestion, collection, and gate artifacts.
The high-value path is a two-layer audit loop: broad low-cost candidate discovery, then focused high-quality review by a smaller number of stronger Agents.
Quick Start
For Codex, run the installer once:
npx -y universal-brute-workpack@0.1.9 install codexThen restart Codex. The installer copies UBW into a stable local version path, backs up ~/.codex/config.toml, replaces mcp_servers.ubw, and makes Codex run node .../src/bridge.js directly instead of keeping npx in the daily MCP process tree. Codex installs use --profile codex_daily by default to keep the everyday tools list small.
Verify the local Codex registration with:
npx -y universal-brute-workpack@0.1.9 doctor --codex --profile codex_dailyRollback the Codex config backup with:
npx -y universal-brute-workpack@0.1.9 rollback codexOther MCP clients can auto-start the workpack with npx:
{
"mcpServers": {
"ubw": {
"command": "npx",
"args": ["-y", "universal-brute-workpack@0.1.9", "serve", "--stdio"]
}
}
}Manual Codex config is still available as an advanced fallback:
[mcp_servers.ubw]
command = "npx"
args = ["-y", "universal-brute-workpack@0.1.9", "serve", "--stdio", "--profile", "codex_daily"]For normal Codex use, prefer --profile codex_daily; use admin only when you intentionally want the full tool surface. The one-command installer is preferred for Codex because it writes a stable local node .../src/bridge.js registration and avoids an extra npx Node process per UBW MCP instance.
The MCP setup gives Codex the tools, but it does not make UBW appear in Codex's plugin browser or @ plugin picker.
If you want the plugin UI experience, install the optional Codex plugin wrapper from this repository's marketplace. This does not require official marketplace curation; a user can add this repository marketplace directly:
codex plugin marketplace add <path-or-repo-root-containing-.agents/plugins/marketplace.json>
codex plugin add universal-brute-workpack@universal-brute-workpackThat wrapper is skills-only; register the MCP server once in top-level Codex config as mcp_servers.ubw. If your Codex build exposes plugin installation through the app UI instead of the CLI, add this repository marketplace there, install the wrapper, then start a new thread before @Universal Brute Workpack is visible.
No API key is required for first run. In codex_daily, search.web, local file discovery, CPU-parallel grep, read-only review, and validation work out of the box. Memory fallback, audit dispatch, raw Agent tools, URL fetch, writes, and command execution are available only when you explicitly choose a profile that exposes them.
If Tavily or Exa is not configured, exhausted, or unavailable, search.web falls back instead of crashing. If no memory/vector service is configured, memory.search falls back to local text search. If no LLM endpoint is configured, agent.spawn and agent.pipeline report not_configured while every local tool continues working.
Optional Codex Plugin Wrapper
There are two Codex integration layers:
Layer | What It Does | Install Path |
MCP server | Gives Codex the actual UBW tools through a stable local | Run |
Codex plugin wrapper | Makes UBW show as a Codex plugin and bundles the companion skills. It does not register a second MCP server. | Add this repository marketplace, then install from |
The plugin wrapper is manual for now. npm cannot automatically register a Codex plugin in every user's app, and official marketplace curation is not required for self-distribution. The wrapper is included so users can install the companion skills deliberately while keeping the MCP server registered once in top-level config. The install codex command handles the MCP server registration; the plugin wrapper is only for plugin UI and skills.
Registry Metadata
The package includes draft-ready official MCP Registry metadata in server.json and package.json#mcpName. See docs/distribution.md for the registry, aggregator, Smithery, and Codex plugin-wrapper status before publishing a new release.
MCPB Bundle
For the local stdio bundle route, UBW can stage, validate, and pack an MCPB directory:
npm run mcpb:stage
npm run mcpb:validate
npm run mcpb:packSee docs/mcpb.md. This is separate from Smithery URL publishing, which still requires a public HTTPS Streamable HTTP endpoint.
Optional Codex Skills
Codex users can copy the lightweight companion skills so Codex loads short scenario guides instead of repeatedly reading the full UBW manual:
Copy-Item -Recurse .\integrations\codex-skills\ubw* "$env:USERPROFILE\.codex\skills\"Included skills: ubw and ubw-audit.
Example Use Cases
After connecting the MCP server, call tools from your Agent client:
search.web
query: "latest MCP client stdio configuration"fs.grep
root: "."
pattern: "TODO"
maxResults: 50worker.diff
left: "src"
right: "backup/src"
maxFiles: 10000code.review
path: "src"
maxFiles: 200
maxFindings: 30agent.pipeline
tasks:
- prompt: "Review src/tools/core.js for command execution risks."
- prompt: "Review src/lib/profiles.js for profile bypass risks."
model: "cheap-review-model"
concurrency: 20
staggerMs: 50audit.prepare
tasks:
- title: "Review tool permissions"
prompt: "Find profile bypasses and report compact JSON findings."
maxFindingsPerTask: 3If no LLM endpoint is configured, Agent tasks return not_configured instead of crashing. Local tools still work.
Environment Quick Reference
Variable | Default | Purpose |
| package example config | Path to a custom main config JSON. |
| package example profiles | Path to a custom profile/deny JSON. |
|
| Active profile. |
|
| Allowed filesystem roots, separated by |
|
| Enable CPU worker pool for local bulk work. |
| available CPU parallelism | Override worker pool size; empty means auto. |
|
| Minimum candidate files before parallel grep. |
|
| Per-file worker scan cap. |
| empty | Optional Tavily web search key. |
| empty | Optional Exa web search key. |
| empty | Optional external memory/vector service endpoint. |
| empty | Optional OpenAI-compatible base URL for Agent tasks. |
| empty | Optional model API key. |
| provider default | Optional model name. |
|
|
|
| empty | External sidecar URL when using external mode. |
|
| Managed sidecar port; |
|
| Pipeline task cap. |
|
| Concurrent Agent tasks inside pipeline. |
|
| Delay between pipeline tasks. |
|
| Agent task timeout. |
|
| Managed sidecar task record cap. |
Defaults
Tool names are neutral:
search.web,file.read,command.exec,agent.spawn, and so on.Raw
servedefault mode is full capability:profile=admin,roots=["*"].install codexdefaults toprofile=codex_daily, which exposessearch.web,fs.*,file.read,worker.*,code.review, andvalidate.*but hides writes, arbitrary commands, URL fetch, memory fallback, audit dispatch, and raw Agent tools.Narrow profiles and per-profile
denylists are compatibility and safety knobs for clients that want them.Provider keys, memory/vector service URLs, model endpoints, pipeline limits, and stagger timing are configured through
config/universal-brute-workpack.example.json,.env, or your MCP client environment.memory.search/memory.recallprefer a configured memory service, then fall back to local text/JSON/Markdown/log search instead of failing.agent.spawn/agent.pipelineuse the managed sidecar by default. SetLLM_BASE_URL, optionalLLM_API_KEY, andLLM_MODELfor real model calls.
Start
stdio, for MCP clients:
npx -y universal-brute-workpack@0.1.9 serve --stdioStreamable HTTP, for clients or hosted gateways that need a single HTTP MCP endpoint:
npx -y universal-brute-workpack@0.1.9 serve --transport streamable-http --port 18890 --profile adminThe MCP endpoint is http://127.0.0.1:18890/mcp. A static server card is exposed at http://127.0.0.1:18890/.well-known/mcp/server-card.json.
For a Smithery URL publishing hosting recipe and one-command public endpoint preflight, see docs/smithery-hosting.md.
Legacy SSE, for older clients that prefer a local server:
npx -y universal-brute-workpack@0.1.9 serve --transport sse --port 18890 --profile adminDoctor:
npx -y universal-brute-workpack@0.1.9 doctorFor local development, copy .env.example to .env.
Architecture
Agent Client
└─ MCP stdio / Streamable HTTP / legacy SSE
└─ Universal Brute Workpack bridge
├─ local tools: fs/search/file/code/command/validate
├─ CPU worker pool: parallel grep and local bulk scans
├─ fallback tools: DuckDuckGo/direct HTTP, local memory keyword scan
├─ managed sidecar: isolated Agent spawn/pipeline process
└─ audit layer: TaskCards, reports, collector, EvidenceBundles, gateTools
See docs/tools.md.
For the host-mediated audit flow, where the host Agent dispatches native workers and UBW owns the runDir, reports, collector, EvidenceBundle, and gate, see docs/host-mediated.md.
Configuration
See docs/configuration.md for provider keys, memory backends, profiles, deny lists, roots, and pipeline limits.
License
Business Source License 1.1. The source is available for personal, research, academic, and small non-commercial use. Enterprise production use, commercial products, SaaS, hosted MCP services, Agent platforms, marketplace redistribution, OEM/white-label use, and commercial derivatives require written authorization from the licensor.
Change License: Apache License v2.0.
Change Date: 2030-06-29.
See LICENSE for the full English and Chinese terms.
FAQ
Do I need an API key?
No for first run. Local tools, DuckDuckGo/direct HTTP fallback, and local memory keyword search work without keys. You only need keys for stronger web providers or model-backed Agent tasks.
Does BUSL restrict personal use?
Personal, academic, research, and small non-commercial use are free under the included license. Enterprise production use, commercial services, SaaS, hosted MCP services, Agent platforms, marketplace redistribution, OEM/white-label use, and commercial derivatives require written authorization before the Change Date.
Is 100-way Agent orchestration already shipped?
The portable base is shipped in v0.1.x: worker pool, managed sidecar, concurrent API pipeline, TaskCards, runDir, report ingestion, collector summary, EvidenceBundle, gate file, optional Codex companion skills, and an optional Codex plugin wrapper. OpenClaw has demonstrated the 100-way pre-audit pattern in a larger system; UBW provides the generic MCP package foundation for that style of workflow. Codex daily installs intentionally keep that surface narrow until a task asks for audit or Agent orchestration.
What happens when keys or quotas are missing?
The workpack degrades instead of dying: Tavily/Exa can fall back to DuckDuckGo/direct HTTP, external memory can fall back to local keyword search, and Agent tools return not_configured without breaking file/search/command tools.
Can this use Codex Pro or another subscription Agent as workers?
Not directly by taking a hidden API key. The host-mediated audit flow lets the host Agent use its own native subagents, threads, or tools while UBW manages task cards, run directories, report ingestion, collector contracts, and evidence bundles.
Contributing
Issues and pull requests are welcome for bug fixes, docs, provider adapters, and safer tool implementations. For development:
npm install
npm run doctor
npm run smoke
npm run smoke:host
npm run smoke:stdio
npm run pack:dryVerify
node --check .\src\bridge.js
node --check .\src\tools\core.js
node --check .\sidecar\server.js
npm run smoke
npm run smoke:host
npm run smoke:stdio
npm run doctor
npm run pack:dryContact
For collaboration, licensing, or partnership inquiries, contact: haoyun18881@gmail.com
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/haoyun18881-beep/universal-brute-workpack'
If you have feedback or need assistance with the MCP directory API, please join our Discord server