DevMCP Runtime
README.md
# DevMCP Runtime
DevMCP Runtime is a local MCP server for coding. It lets an MCP client
(ChatGPT in Developer Mode, a desktop MCP client or your own script) read
files, apply patches, run commands and tests, and inspect Git in projects on
your machine.
It started as a fork of
[xyTom/coding-tools-mcp](https://github.com/xyTom/coding-tools-mcp) and
is not affiliated with OpenAI.
```mermaid
flowchart TD
C[MCP client] --> R[DevMCP Runtime]
R --> P[Patch engine]
R --> E[Commands, tests, background jobs]
R --> G[Git tools for the selected project]
R --> U[Local admin UI]
R -. optional .-> T[Secure MCP Tunnel]
```
## Features
| Area | What you get |
| --- | --- |
| Projects | Discovery of Git repositories under the roots you approve; one selected project is the default working directory |
| Patching | Preview, baseline checks, atomic writes, rollback if a commit step fails |
| Commands | Foreground and background processes with bounded output and job status |
| Git | Status, diff and log tools scoped to the selected repository |
| Modes | PLAN is read-only; BUILD (default) runs as your OS user |
| Operations | Structured logs and a local audit log without secret values |
| UI | Admin dashboard on `127.0.0.1` with diagnostics and service status |
## Quickstart
You need Linux, Python 3.11+ and Git. The tunnel client is only needed for
ChatGPT.
```bash
uv tool install git+https://github.com/GolovIaroslav/devmcp-runtime.git
devmcp setup --workspace /absolute/path/to/project --no-tunnel
devmcp doctor
devmcp status
devmcp ui
```
The MCP server listens on `127.0.0.1:47157` and the admin UI on
`http://127.0.0.1:47158`. `devmcp service` installs systemd user units so the
server starts with your session.
To work from a source checkout:
```bash
git clone https://github.com/GolovIaroslav/devmcp-runtime.git
cd devmcp-runtime
uv venv && uv pip install -e '.[dev]'
make test
```
More detail: [docs/INSTALL.md](docs/INSTALL.md),
[docs/CONFIGURATION.md](docs/CONFIGURATION.md) and
[docs/mcp-client-config.md](docs/mcp-client-config.md).
## Using it with ChatGPT
ChatGPT reaches a local MCP server through Developer Mode and the Secure MCP
Tunnel client. Setup steps and plan requirements are in
[docs/CHATGPT.md](docs/CHATGPT.md).
ChatGPT asks for confirmation according to the app permission you choose
(`Always ask`, `Any changes`, `Important actions` or `Never ask`). That setting
lives in ChatGPT. DevMCP has its own PLAN/BUILD mode and cannot turn ChatGPT
prompts off. Pick `Never ask` only for a server you run and trust.
## Safety Boundary
BUILD mode gives the client the same filesystem, environment and network
access as the OS user running DevMCP. The selected project sets the default
directory and the scope of the Git tools; it does not sandbox file access.
Use PLAN for read-only sessions, and a container or VM if you need real
isolation. See [docs/security-boundary.md](docs/security-boundary.md) and
[docs/PERMISSIONS.md](docs/PERMISSIONS.md).
Old `permission_mode` values still work: `safe` maps to PLAN, `trusted` and
`dangerous` map to BUILD.
## Dogfood and SWE-bench
`make dogfood-smoke` runs a small coding loop through MCP: read a file, see a
failing test, patch it, see it pass, check the Git diff. `make dogfood-self`
runs a larger scenario against a temporary clone of this repository.
The SWE-bench notes in [docs/swe-bench.md](docs/swe-bench.md) describe older
experiments and are not a performance claim.
## Status
Beta, version `0.1.0-beta.1`. Linux is the main platform; Windows support
exists but gets less testing. See [CHANGELOG.md](CHANGELOG.md) and
[docs/limitations.md](docs/limitations.md).
## Contributing
Read [CONTRIBUTING.md](CONTRIBUTING.md) before opening a pull request. Report
security issues privately as described in [SECURITY.md](SECURITY.md).
## License
Apache-2.0. See [LICENSE](LICENSE), [NOTICE](NOTICE) and
[THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md).
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues