RFC-090: official stdio MCP server - #182
Merged
Merged
Conversation
Thin TypeScript MCP package wrapping existing gateway routes: infer, dry-run validate, deploy, quarantine, list. No validation-engine changes. Stdio only. Auth via CONTRACTGATE_API_KEY. Docs at docs/mcp-reference.md, served raw at /mcp-reference.md. Drift gate covers cited routes.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
nightmoose
changed the base branch from
nightly-maintenance-2026-08-23-llm-surface
to
main
August 23, 2026 22:35
4 tasks
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.
Summary
mcp/(@contractgate/mcp-server): stdio, TypeScript, thin HTTP client of the existing gateway. No validation-engine changes.infer_contract,validate_events(dry-run default true),deploy_contract,get_quarantine,list_contracts. Prompt:integrate-contractgate.CONTRACTGATE_API_KEY/ optionalCONTRACTGATE_BASE_URL(same as CLI + playbook).docs/mcp-reference.mdserved raw at/mcp-reference.md; linked fromllms.txt, playbook §0, README snippet, docs card, agent-rule presets. Drift gate covers cited routes.mcptypecheck + unit tests +tsc.Stacked on #181 (llm-surface). Merge that first, then this.
Until
@contractgate/mcp-serveris on npm, hosts should run from a clone:cd mcp && npm install && npm run build, thennode <repo>/mcp/dist/index.js.Test plan
cd mcp && npm test(12/12)cargo test --test llm_docs_testnode mcp/dist/index.js+CONTRACTGATE_API_KEY