Skip to main content
Glama

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 and is not affiliated with OpenAI.

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

Related MCP server: local-code-mcp

Quickstart

You need Linux, Python 3.11+ and Git. The tunnel client is only needed for ChatGPT.

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:

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/CONFIGURATION.md and 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.

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 and 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 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 and docs/limitations.md.

Contributing

Read CONTRIBUTING.md before opening a pull request. Report security issues privately as described in SECURITY.md.

License

Apache-2.0. See LICENSE, NOTICE and THIRD_PARTY_NOTICES.md.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • -
      license
      Not graded
      quality
      Not graded
      maintenance
      Local-first MCP server for repo-scoped development tasks like inspection, testing, documentation, and patching, designed to complement Cline with a structured local execution layer.
      -
    • F
      license
      Not graded
      quality
      C
      maintenance
      A security-first MCP server that enables clients to inspect and edit multiple local repositories via configured aliases, with read-only Git access and allowlisted test commands.
      4
      -