Serve JevGate to coding agents over MCP - #18
Merged
Merged
Conversation
tauanbinato
force-pushed
the
mcp-server
branch
from
September 25, 2026 23:00
d157cfa to
7a3ffd5
Compare
This was referenced Sep 25, 2026
tauanbinato
force-pushed
the
mcp-server
branch
from
September 25, 2026 23:05
7a3ffd5 to
8e43751
Compare
jevgate mcp is a Model Context Protocol server on stdin and stdout with three tools: jevgate_check runs a check in the repository as a child process and returns its findings, with an incomplete run as a tool error; jevgate_findings reads the last report; jevgate_rules lists the rules. Tool arguments are passed as --flag=value and paths after --, so none becomes another flag.
tauanbinato
force-pushed
the
mcp-server
branch
from
September 26, 2026 02:15
8e43751 to
1d8ab38
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
Phase 5 of the roadmap:
jevgate mcp, a Model Context Protocol server on stdin and stdout, so a coding agent calls JevGate as a tool.jevgate_checkjevgate checkin the repository (base,paths,rules,include_tests,dry_run,verbose) and returns the agent output with what the exit code means. Exit 2 is returned as a tool error (isError), never as a resultjevgate_findingsjevgate_rulesinitialize(negotiates 2024-11-05 through 2025-11-25),ping,tools/list,tools/call; other methods get -32601, bad JSON -32700, notifications no reply.instructionstell the agent how to act on each level.jevgate.tomland key exactly as the command line would.--flag=valueand paths after--, so a value like--refreshor--config=…can't become a flag.mcp; the site's coding-agents page documents it.Questions for review
jevgate_check,jevgate_findings,jevgate_rules) and the argument set.jevgate_checkdefault todry_runso an agent can't spend credits without asking? Today it follows the repository's budgets (max_requests).How it was checked
baseis a tool error, nothing is written.@modelcontextprotocol/inspector --cli) listed the tools and called each one against a temporary project.site/generate.pyfor writing rule text into pages unescaped; its input is JevGate's own catalog, but the generator now escapes markup characters anyway (the pages are byte-identical).