
model-worker-mcp
Local MCP server that delegates scoped coding tasks to cheaper model providers
The repository was last updated 46 days ago and is published under MIT.
model-worker-mcp is an open-source MCP server for developer tools. It is available on CLI, API, Windows, Linux and macOS.
- Pricing
- Open source
- Platforms
- CLI, API, Windows
- What it can do
- Can change data (1 tool)
- GitHub stars
- 0
- Last commit
- Language
- JavaScript
Similar MCP servers
About model-worker-mcp
Model Worker MCP runs on your own machine and hands coding work to an OpenAI-compatible model endpoint while keeping it inside directories you name. Each request must declare its working directory, readable paths and writable paths, and any diff the model returns is checked before it is applied with git apply.
A routing tool picks a model by task type: lightweight style or copy edits go to a small fast model, routine logic fixes and tests to another, and broader or cross-file work to a larger one, with a separate model reserved for review. Tasks touching authentication, payments, secrets, migrations, databases or deployment are returned as guarded rather than being sent automatically. Token counts, estimated cost and failure summaries are stored locally and can be queried through a usage tool.
It suits developers who already use an MCP-capable coding client and want to offload bounded edits while controlling which files a model can touch and tracking spend per task.
Tools this server provides (5)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 1 of 5 tools changes data; 2 names don't say.
From the server's own tool labels and tool names; not verified by us.
- route_code_task
- Selects a model for a coding task based on complexity and risk.
- delegate_code_task
- Sends a scoped coding task to a selected model.
- get_task_statusName suggests: reads
- Returns the status of a delegated task.
- cancel_taskName suggests: changes
- Cancels a delegated task.
- get_usage_summaryName suggests: reads
- Reports token usage and estimated cost per task.
What it does
- Scoped file access
- Tasks only see and modify the read and write paths explicitly provided.
- Diff validation
- Model-generated unified diffs are validated before being applied to the repository.
- Task routing
- A routing tool selects a model based on task complexity and risk.
- Guarded task types
- Sensitive areas such as auth, payments and migrations are blocked from automatic delegation.
- Usage tracking
- Tokens, estimated cost and errors are saved locally and reported on request.
- Secret masking
- Bearer tokens and API key patterns are redacted from error output and logs.
Good for
- Offload small CSS or copy changes to a low-cost model from inside an MCP client
- Delegate bug fixes and unit test writing with changes confined to named files
- Track how much each delegated coding task costs across providers
- Keep model-written patches away from authentication and database code
Pricing
Open source
Free and MIT licensed; model provider usage is billed separately.
model-worker-mcp FAQ
Which model providers can model-worker-mcp use?
Any OpenAI-compatible chat completions endpoint, with Alibaba Cloud Model Studio as the default base URL.
Where are API keys stored?
They can be set as a user environment variable or saved with Windows DPAPI encryption through a credentials command.
What does model-worker-mcp require to run?
Node.js 18 or later and Git, with the working directory required to be a Git repository.
Which operating systems are supported for verification commands?
Verification commands and credential encryption currently run through Windows PowerShell.
Is model-worker-mcp free?
Yes. model-worker-mcp is open source, so you can use and self-host it for free.
What are the best alternatives to model-worker-mcp?
The closest alternatives to model-worker-mcp are glm-mcp, OpenCode MCP Bridge, MCPProxy, Multi-MCP and Antigravity MCP.
Where this comes from
- Description: written from the project's README.

