A Model Context Protocol server that hands AI coding agents like Claude Code structured, size-capped context: GitHub issues, ripgrep search, project docs, and test runs with failures grouped by root cause. It makes no LLM calls of its own. The agent's model does the reasoning.
Each tool validates input with zod, returns structured output plus a short summary, and caps its size.
Fetch an issue with its discussion, labels and linked PRs. Cached for 60 s to save rate limit.
Deterministic extraction: type guess, error messages, stack frames, paths, code blocks, search queries.
ripgrep with context lines. Respects .gitignore and skips deps, builds, lockfiles and binaries.
README, CONTRIBUTING and docs/**, split by heading and ranked by keyword hits for a topic.
Auto-detects vitest, jest, pytest or npm test. No shell, a timeout, a tree kill, and a sanitized env.
Failures grouped by normalized error, largest first, with the likely source files to fix.
Add DevPilot to Claude Code, or to any MCP client.
claude mcp add devpilot -- npx -y @ashbruh22/devpilot-mcp
claude mcp add --transport http devpilot https://devpilot-mcp.onrender.com/mcp
Use devpilot to run the tests, summarize the failures, and propose a fix for the largest
group.
/mcp__devpilot__triage_issue Ashbruh22 Devpilot_MCP 1
Free-tier hosting sleeps when idle, so the first request may take 30–60 s while the server wakes
up. If the server requires a key, add --header "Authorization: Bearer <key>".
Two transports, one core. Tool logic knows nothing about how it is being called.
Running tests on a public server is remote code execution by design, so it is locked down.
Only repos in ALLOWED_REPOS, shallow-cloned at boot. Everything else is rejected.
Test commands come from server config, never from tool input. Filters are validated, and a filter can't pass flags.
Timeout with process-tree kill, capped output, one concurrent run per repo, and a per-IP rate limit.
Non-root container, a read-only fine-grained token, and secrets stripped from child processes.
Every path is resolved and checked against the workspace root. Symlink escapes are rejected.
Tools never fetch URLs from their inputs. GitHub is the only outbound API.
The same issue yields the same extraction, which you can test with fixtures.
There are no tokens spent server-side and no second model in the loop.
The server's job is to return clean, compact context, and the agent decides what to do with it.