MiMo Bridge MCP
Click on "Deploy 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., "@MiMo Bridge MCPdelegate a task to MiMo to fix the user authentication bug"
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.
AgentBridge Local
English | 简体中文
Formerly MiMo Bridge MCP.
AgentBridge Local is a local-first MCP orchestration console that lets Codex coordinate MiMo Code, Reasonix TUI, and future local coding agents without giving up review control.
Codex is good at planning, architecture, and review. Local coding agents are useful for long implementation loops. AgentBridge Local separates those jobs:
Codex plans and reviews.
MiMo / Reasonix execute bounded tasks.
Every task runs inside a Git Worktree.
Codex reads a compact Review Package before touching diffs, logs, or files.
You decide what gets merged.
The goal is not "let an agent freely edit your repo." The goal is controlled delegation: small task scope, isolated execution, low-token review, and a human or Codex-controlled final decision.
Why It Exists
Long coding loops can burn a lot of tokens and bury the important review signal. AgentBridge Local gives you a safer pattern:
Codex breaks work into a bounded task.
A local agent implements it in an isolated Worktree.
The daemon builds a small Review Package: changed files, diff stat, risk flags, scope report, test result, and log tail.
Codex reviews the package first.
Only risky or unclear tasks escalate to focused diff, focused file, or bounded log reads.
Codex or the user accepts, rejects, merges, discards, or asks the agent to continue.
That means Codex can stay in the expensive, high-leverage seat: planning, boundary control, review, and final acceptance.
Related MCP server: Hydra
What You Get
Local MCP daemon at
http://127.0.0.1:3210/mcp.Browser Admin UI at
http://127.0.0.1:3210/.MiMo Code execution through legacy
mimo_*tools and the shared task queue.Reasonix TUI execution through generic
agent_*tools.Agent-aware task queue that can run MiMo and Reasonix in parallel when their editable paths do not overlap.
Durable P0 task admission with a persisted placeholder, request correlation, idempotent retries, and an eight-task concurrency ceiling.
Git Worktree isolation for task changes.
Dynamic task scope with per-task editable/read-only boundaries.
Low-token Review Package protocol for Codex review.
Completion recovery inbox so Codex can recover completed or failed tasks after interruption.
Model routing profiles for simple, normal, complex, high-risk, and multimodal tasks.
Multimodal task attachments with pasted images and uploaded files.
Safe local-open actions for task folders, session folders, MiMo CMD sessions, Reasonix TUI CMD sessions, and Reasonix GUI companion viewing.
Windows portable ZIP and EXE installer with bundled Node runtime.
How It Works
flowchart TD
A["Codex / Main Agent"] -->|"MCP"| B["AgentBridge Local Daemon"]
B --> C["Agent Registry"]
C --> D["MiMo Code Runner"]
C --> E["Reasonix TUI Runner"]
C --> F["Future Local Agents"]
D --> G["Task Git Worktree"]
E --> G
F --> G
G --> H["Review Package"]
H --> I{"Risk or unclear result?"}
I -->|"No"| J["Accept / Merge / Discard"]
I -->|"Yes"| K["Focused diff / file / log"]
K --> J
J --> ACurrent Status
AgentBridge Local is an early alpha project.
Target OS: Windows 10/11 x64.
Runtime: localhost-only Node daemon.
MCP endpoint:
http://127.0.0.1:3210/mcp.Admin UI:
http://127.0.0.1:3210/.Distribution: portable ZIP and EXE installer with bundled Node.
MiMo Code and Reasonix are not bundled; install and log in to those tools separately.
Clean Windows validation and community testing are still welcome.
Quick Start
Option A: Use The Windows Installer
Download the latest release asset:
MiMoBridgeSetup-win10-win11-x64.exe
Run the installer.
Start AgentBridge Local from the installed launcher.
Open the Admin UI:
http://127.0.0.1:3210/Point Codex MCP configuration to:
http://127.0.0.1:3210/mcp
Option B: Run From Source
Prerequisites:
Windows 10/11 x64.
Git.
Node.js 18+.
Codex or another MCP-capable main agent.
MiMo Code installed and logged in if you want MiMo execution.
Reasonix installed and configured if you want Reasonix TUI execution.
From the repository root:
npm.cmd install
npm.cmd run build
powershell -ExecutionPolicy Bypass -File apps/local-daemon/launcher.ps1 start -OpenLauncher controls:
powershell -ExecutionPolicy Bypass -File apps/local-daemon/launcher.ps1 status
powershell -ExecutionPolicy Bypass -File apps/local-daemon/launcher.ps1 start -Open
powershell -ExecutionPolicy Bypass -File apps/local-daemon/launcher.ps1 stop
powershell -ExecutionPolicy Bypass -File apps/local-daemon/launcher.ps1 restart -Open
powershell -ExecutionPolicy Bypass -File apps/local-daemon/launcher.ps1 adopt
powershell -ExecutionPolicy Bypass -File apps/local-daemon/launcher.ps1 allow-root -Path "C:\path\to\project" -Restart
powershell -ExecutionPolicy Bypass -File apps/local-daemon/launcher.ps1 logsallowedRoots is a machine-level boundary and is never expanded by a task. The allow-root command resolves and validates the directory, de-duplicates it case-insensitively, writes the active config, and optionally performs a safe restart. adopt succeeds only when the localhost port owner, Node executable, daemon entry, and health identity all match exactly.
MCP Endpoint
Configure Codex to use:
http://127.0.0.1:3210/mcpThen ask Codex to start with a bounded task, for example:
Use AgentBridge Local. Ask MiMo or Reasonix to update only docs/example.md.
Review the result through the Review Package first, then merge only if the scope and tests are clean.mimo_start_task and agent_start_task persist and return a placeholder before Worktree creation. A successful new request returns task_id, request_id, status="preparing_worktree", queue_state, and idempotent_replay. Clients should send idempotency_key and reuse it after a timeout; the same key with different parameters is rejected.
Task startup progresses through preparing_worktree -> starting_agent -> running. A phase failure stores a structured error_detail with its request_id, while the legacy string error remains available for compatibility.
The release-safe client uses only Node built-in modules and REST, so it does not require this source tree's node_modules or the MCP SDK:
node scripts/mimo-bridge-client.mjs health
node scripts/mimo-bridge-client.mjs start --json .\task.json --idempotency-key my-stable-key
node scripts/mimo-bridge-client.mjs wait --task-id task_xxx --timeout-seconds 1800Portable and installed distributions provide the same entry as MiMo Bridge Client.cmd and run it with the bundled Node runtime.
The matching Codex usage skill is versioned under skills/use-mimo-bridge-mcp and included in both distributions. Installation is explicit so an existing customized skill is never silently overwritten:
& "$env:LOCALAPPDATA\MiMoBridgeApp\Install MiMo Bridge Codex Skill.cmd"The command backs up an existing use-mimo-bridge-mcp skill before replacement. Open a new Codex session afterward if the skill list was already cached.
First Task Flow
Open the Admin UI.
Choose the workspace and task scope.
Select Auto routing or choose MiMo / Reasonix manually.
Paste the task objective. You can paste screenshots or upload files for multimodal tasks.
Let the agent run in a Worktree.
Review the compact result.
Accept, merge, discard, or ask the agent to continue.
Low-Token Review Workflow
AgentBridge Local is built around bounded review, not full context dumps.
flowchart TD
A["Start bounded task"] --> B["Wait once"]
B --> C["Read Review Package"]
C --> D["Check scope, changed files, tests, risk flags"]
D --> E{"Need more evidence?"}
E -->|"No"| F["Decide accept / merge / discard"]
E -->|"Yes"| G["Read focused diff / file / log tail"]
G --> FStep | Default behavior | Token discipline |
Start | Send objective, workspace, editable paths, and routing profile. | Do not give the agent the whole machine. |
Wait | Use one bounded wait or the recovery inbox. | Do not poll full status repeatedly. |
Review | Read | Do not read full source, full logs, or full diff by default. |
Escalate | Read focused diff/file/log only when needed. | Ask for the smallest useful evidence. |
Decide | Codex or the user merges/discards. | Execution agents do not merge themselves. |
Supported Agents
Agent | Status | Notes |
MiMo Code | Supported | Main Windows-first coding executor. Any enabled MiMo Code model may handle image tasks through MiMo Code's multimodal bridge routing. |
Reasonix TUI | Supported | Runs through generic |
Reasonix GUI | Companion only | Can be opened from the Admin UI, but direct deep-link to a specific session is not guaranteed. |
Future agents | Planned | The generic Agent Registry is designed for more local runners. |
Safety Model
AgentBridge Local intentionally keeps a narrow safety boundary:
The daemon binds to localhost only.
Tasks run in Git Worktrees.
Machine-level
allowedRootslimit which folders can be touched.Health and workspace-boundary errors expose only the active config metadata, a redacted fingerprint, counts, and the requested normalized path; they never enumerate other allowed roots.
Each task records its own editable/read-only scope snapshot.
Out-of-scope changes appear in Review Package risk flags.
Browser open actions are fixed actions, not arbitrary command execution.
Full logs, full diffs, full files, and raw local paths are not default review output.
MiMo and Reasonix should not merge their own task Worktrees.
Do not expose the daemon to a public network.
Build, Test, And Package
Build:
npm.cmd run build
npm.cmd --prefix apps/admin-ui run build
npm.cmd --prefix apps/local-daemon run buildRun normal regression, excluding the known hanging runner integration test:
$tests = Get-ChildItem -LiteralPath 'tests' -Filter '*.test.mjs' |
Where-Object { $_.Name -ne 'runner-integration.test.mjs' } |
ForEach-Object { $_.FullName }
node --test $testsPackage:
npm.cmd run package:portable
npm.cmd run package:installer
npm.cmd run validate:releaseGenerated release outputs:
artifacts/MiMoBridge-portable-win10-win11-x64.zipartifacts/MiMoBridgeSetup-win10-win11-x64.exeartifacts/release-validation.json
The artifact names still use the original MiMoBridge naming for compatibility. The product name is now AgentBridge Local.
Documentation
Maintainer handoff docs:
PROJECT_MEMORY.md- long-term project memory and current release state.AGENTS.md- agent rules, collaboration workflow, and commands.docs/HANDOVER_STATUS.md- short current handover summary.docs/OPEN_TASKS.md- pending work and risks.docs/RELEASE_VALIDATION.md- clean Windows validation checklist.docs/modules/multi-agent-dispatch.md- MiMo / Reasonix multi-agent design notes.
Contributing
This project especially needs:
Clean Windows 10/11 installer and portable ZIP validation.
Codex MCP setup examples.
MiMo and Reasonix task-flow testing.
Admin UI screenshots and demo GIFs.
Safer failure recovery reports.
Documentation fixes for new users.
New local agent adapters.
Start with CONTRIBUTING.md, docs/GOOD_FIRST_ISSUES.md, and SECURITY.md.
Please do not include API keys, tokens, MiMo credentials, Reasonix credentials, full private logs, local Worktrees, or unredacted personal paths in issues or pull requests.
License
MIT. See LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
No-data MCP handoff for local Claude Code to Codex harness moves. $49 lifetime.
The team layer for AI coding agents: shared contracts, collision alerts, E2EE sessions.
Shared memory for coding agents. Stop re-explaining your codebase every session.
Persistent memory and cross-session learning for AI coding assistants (hosted remote MCP).
Related MCP Servers
- AlicenseAqualityBmaintenanceA project-local MCP bridge that allows Codex Desktop to plan tasks and OpenCode to execute them within the current project directory, with session reuse and native OpenCode background subagents.41MIT
- AlicenseNot gradedqualityBmaintenanceEnables Codex to delegate bounded engineering jobs to Claude Code CLI in isolated Git worktrees with strict security and allowance pacing.MIT
- AlicenseNot gradedqualityAmaintenanceLets Codex delegate coding and repository work to an installed Claude Code CLI with permission-aware inspect/write access, model and effort selection, resumable and cloud-attached sessions, and durable synchronous or asynchronous jobs.MIT
- AlicenseNot gradedqualityAmaintenanceEnables two-way delegation between Codex and Cursor agents with background jobs, handoff plans, and isolated worktrees, allowing either editor to offload investigation, review, planning, or implementation to the other and continue the same native session later.2 npmApache 2.0