# model-worker-mcp

> model-worker-mcp is an open-source MCP server for developer tools. Local MCP server that delegates scoped coding tasks to cheaper model providers. It is available on CLI, API, Windows, Linux and macOS.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API, Windows, Linux, macOS
- **Repository:** https://github.com/a5768549/model-worker-mcp
- **GitHub stars:** 0
- **License:** MIT
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

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.

## Features

- **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

## Tools

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_status` (name suggests: reads): Returns the status of a delegated task.
- `cancel_task` (name suggests: changes): Cancels a delegated task.
- `get_usage_summary` (name suggests: reads): Reports token usage and estimated cost per task.

## 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.

## Alternatives

- [glm-mcp](https://ai-powered.com/mcp/glm-mcp-2): glm-mcp is an open-source MCP server for ai models and llm tooling.
- [OpenCode MCP Bridge](https://ai-powered.com/mcp/opencode-mcp-bridge): OpenCode MCP Bridge is an open-source MCP server for developer tools.
- [MCPProxy](https://ai-powered.com/mcp/mcpproxy): MCPProxy is an open-source MCP server for developer tools.
- [Multi-MCP](https://ai-powered.com/mcp/multi-mcp): Multi-MCP is an open-source MCP server for developer tools.
- [Antigravity MCP](https://ai-powered.com/mcp/antigravity-mcp): Antigravity MCP is an open-source MCP server for developer tools.
- [Universal Brute Workpack](https://ai-powered.com/mcp/universal-brute-workpack): Universal Brute Workpack is an open-source MCP server for developer tools.
- [Just MCP Work](https://ai-powered.com/mcp/just-mcp-work): Just MCP Work is an open-source MCP server for developer tools.
- [no_human](https://ai-powered.com/mcp/no-human): no_human is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/model-worker-mcp
