DevDoctor MCP Server
Read-only local diagnostics for Rust, Node, Docker, ports, and environment configuration.
DevDoctor scores 64 (Good), licensed Apache-2.0 and written in Makefile. It installs as a local process. It does not declare tools yet. Filed under Developer tools. GitHub shows 1 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
64 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: apache-2.0.
License, quality and maintenance
Quality: Grade C
65/100 for listing completeness. Lost points: no listed tools, short summary.
How quality is graded
Where the 64 comes from
22 + 20 + 1 + 10 + 4 + 7 = 64. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 1 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "bannawat01-devdoctor": { "command": "npx", "args": [ "-y", "devdoctor-mcp@0.1.2" ] } }}
Environment variables
This server does not declare environment variables.
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
DevDoctor
Local, read-only diagnostics for projects that fail to build, start, or connect.
DevDoctor correlates project configuration, toolchains, PATH resolution, Docker, ports, environment variables, and database endpoints into evidence-backed findings. It tells you what was observed, how confident the diagnosis is, and what to check next.
No telemetry. No cloud calls. No automatic installs. No environment changes.
Why DevDoctor?
Most environment checks stop at “is the executable installed?”. DevDoctor looks for conflicts across the whole local project:
- A Windows Rust build can resolve the wrong
link.exebefore the MSVC linker. - A Compose service can publish a host port already occupied by another process.
DATABASE_URLcan point at a port different from the Compose mapping.- A Node project can declare an incompatible engine or conflicting lockfiles.
Findings are deterministic, traceable, and classified as confirmed or suspected.
See the diagnostic flow
flowchart TD
A[CLI / Zed / MCP] --> B[devdoctor-core]
B --> C[Project configuration]
B --> D[Rust and Node toolchains]
B --> E[PATH and executable resolution]
B --> F[Docker and Compose]
B --> G[Ports and process ownership]
B --> H[Environment and database endpoints]
C --> I[Findings + evidence + recommendation]
D --> I
E --> I
F --> I
G --> I
H --> I
The CLI and MCP server share the same diagnostic engine. MCP is local stdio and read-only; it never executes repository scripts or changes project state.
Quick start
CLI
For a normal installation, install the published CLI:
cargo install devdoctor-cli --version 0.1.2 --locked
devdoctor doctor --path .
To run from the repository or build workspace release binaries instead:
cargo run -p devdoctor-cli -- doctor --path .
cargo run -p devdoctor-cli -- doctor --json
cargo run -p devdoctor-cli -- check rust
cargo run -p devdoctor-cli -- check docker
cargo run -p devdoctor-cli -- check ports
cargo run -p devdoctor-cli -- check env
cargo run -p devdoctor-cli -- explain RUST-LINKER-001
Exit codes are stable: 0 means healthy, 1 means diagnostic findings were
reported, and 2 means invalid invocation or inspection failure.
MCP and Zed
Install the published local server:
cargo install devdoctor-mcp --version 0.1.2 --locked
In Zed, open Settings > AI > MCP Servers > Add Local Server and use:
{
"context_servers": {
"devdoctor": {
"command": "devdoctor-mcp",
"args": []
}
}
}
If Zed does not inherit Cargo's binary directory, use
%USERPROFILE%/.cargo/bin/devdoctor-mcp.exe. A portable copy of the same
configuration is in docs/zed-mcp.json.
The MCP server exposes exactly five tools:
| Tool | Purpose |
|---|---|
diagnose_project | Run the aggregate project diagnosis |
check_toolchain | Inspect Rust and Node toolchains |
check_environment | Inspect declared environment configuration |
check_ports | Inspect configured local project ports |
explain_finding | Explain a stable diagnostic code |
The official Registry entry is io.github.Bannawat01/devdoctor and currently
publishes devdoctor-mcp 0.1.2 from crates.io.
Example finding
Human-readable output is concise and actionable:
DevDoctor
Project: Example App
Stack: Rust + Docker + PostgreSQL
Rust:
PASS Cargo available
WARN Suspicious Windows linker resolution
Ports:
ERROR Host port 5432 is occupied
Environment:
WARN DATABASE_URL port differs from Compose mapping
Recommended actions:
1. Review the effective linker search order.
2. Resolve the local PostgreSQL port conflict.
3. Align DATABASE_URL with the published host port.
JSON mode preserves the same stable finding codes and redacts values that may contain credentials.
Supported diagnostics
| Area | What DevDoctor checks |
|---|---|
| Project detection | Cargo, Rust toolchains, Node manifests/lockfiles, Compose, env files |
| Rust | Compiler/Cargo availability, targets, MSVC/GNU mismatch, linker evidence |
| Node | Node version, package manager, engines, lockfile consistency, dependencies |
| PATH | Effective search order, executable shadowing, Windows linker conflicts |
| Docker | CLI/engine reachability, Compose services, unhealthy/exited states, mapped ports |
| Ports | Relevant TCP conflicts and process ownership where the OS permits it |
| Environment | Missing variables, placeholders, host/port inconsistencies, redaction |
| PostgreSQL | Read-only endpoint reachability and Compose/DATABASE_URL mismatches |
Platform support and limits
| Platform | Status |
|---|---|
| Windows 10/11 x86_64 | Supported MVP platform |
| Linux x86_64 | Experimental CI coverage |
| macOS | Not implemented as a supported target |
Port ownership is currently IPv4-only: Windows uses GetExtendedTcpTable(AF_INET)
and Linux reads /proc/net/tcp. An occupied IPv6 listener may therefore have no
owner evidence. Full executable paths are never included in CLI or MCP findings;
only executable_path_available is exposed.
The minimal Zed extension wrapper is optional compatibility packaging. The MCP Registry and local stdio server are the primary integration path.
Privacy and safety
- Read-only diagnostics; no process termination or environment mutation.
- No automatic dependency installation or repository script execution.
- No telemetry, hosted database, paid API, or cloud upload.
- Credentials and connection-string passwords are redacted.
- Subprocess calls are bounded and output-size limited.
- Network inspection is limited to project-relevant local endpoints.
Release and contribution links
- MCP Registry metadata and Zed setup
- Windows releases
- Contributing guide
- Security policy
- Issue tracker
DevDoctor is licensed under MIT or Apache-2.0, at your option.
Frequently asked questions
What is DevDoctor MCP Server?
Read-only local diagnostics for Rust, Node, Docker, ports, and environment configuration.
How do I install DevDoctor MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. DevDoctor MCP Server runs locally from the package devdoctor-mcp with the command npx -y devdoctor-mcp@0.1.2.
Is DevDoctor MCP Server free and open source?
Yes. DevDoctor MCP Server is released under the Apache-2.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does DevDoctor MCP Server support remote (HTTP) connections?
No remote endpoint is listed for DevDoctor MCP Server. It runs locally on your machine over stdio, started by your MCP client.
How is DevDoctor MCP Server's trust score calculated?
DevDoctor MCP Server scores 64 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.