Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, get in touch and we’ll put it right.

AISchemaGate and DataContractGate

NPM · @NIGHTMOOSE/CONTRACTGATE-MCP-SERVER

AISchemaGate validates and repairs structured LLM output against a contract, plus DataContractGate.

−1 this week 96 Trust /100

Last scanned (8 hours ago)

Scores higher than 98% of npm servers

Category Testing and QA

Trust breakdown (7 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →

Supply Chain Security99
  • No malware found by supply-chain analysis.Pass
  • No known CVEs affecting this package version or its production dependencies.Pass
  • No install/post-install scripts declared.Pass
  • 2 of 11 dependencies flagged as unhealthy. View diagnostics → Partial
Provenance & Transparency100
  • Source repository is publicly reachable at the declared URL. View diagnostics → Pass
  • Cryptographically verified build provenance (signed, bound to nightmoose/contractgate). View diagnostics → Pass
  • Clear OSI-approved license (MIT).Pass
  • Actively maintained (last published 3 days ago).Pass
  • Publishes a security disclosure policy (SECURITY.md).Pass
Schema Quality & AI Usability84
  • 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).Pass
  • AI-judged instruction clarity (good).Pass
  • Tool/resource definitions use about 761 tokens (~108/item across 7 items; 7 tools + 0 resources), lean.Pass
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management100
  • No destabilizing schema changes in the last 30 days.Pass
Tool Coverage99
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 96% of tool parameters carry a description.Partial
Tool Safety88
  • No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
  • 1 of 2 tool(s) whose name or description implies an irreversible operation declare an MCP destructiveHint annotation; "get_drop_counts" implies "drop" and declares readOnlyHint instead, contradicting what its own name says it does. See how to fix → Partial
  • An AI judge read all 7 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
  • Implements a current MCP spec version (2026-07-28).Pass
What we tested

Checks we ran (16)

  • Malware scan
  • Known CVEs
  • Install scripts
  • Dependency health
  • Source repository
  • Provenance
  • License
  • Maintenance
  • Security disclosure
  • Schema quality
  • Stability
  • Tool coverage
  • Injection markers
  • Destructive annotations
  • Judged manipulation
  • MCP protocol

Does not apply to this package (2)

  • Endpoint SecurityScored on hosted endpoints only. A package has no live endpoint of its own for us to probe.
  • Transport & ReachabilityScored on hosted endpoints only. A package has no live endpoint of its own for us to probe.

The score does not measure everything. What the score does not measure →

Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 28 Nov 26 +15
    • Malware scan: unverified → pass ▲ security
    • Stability: 0.97 → pass security
  • 27 Nov 26 −15
    • Malware scan: pass → unverified ▼ security
    • Stability: pass → 0.97 functional
    • Package version: 0.4.2 → 0.4.3 functional
  • 26 Nov 26 −1
    • Stability: pass → unverified ▼ security
    • Tool safety: pass → unverified ▼ security
    • Schema quality: 624 → 761 ▼ functional
    • Dependency health: 1.00 → 0.93 ▼ functional
    • Tool coverage: 100 → unverified ▼ functional
    • Capabilities: pass → unverified ▼ functional
    • Schema quality: 100 → unverified ▼ functional
    • Destructive annotations: 1 of 2 tool(s) whose name or description implies an irreversible operation declare an MCP destructiveHint annotation; "get_drop_counts" implies "drop" and declares readOnlyHint instead, contradicting what its own name says it does. functional
    • Package version: 0.4.1 → 0.4.2 functional
  • 20 Nov 26 0
    • Stability: 0.97 → pass security
  • 19 Nov 26 0
    • Stability: pass → 0.97 functional
  • 11 Nov 26 0
    • Stability: 0.97 → pass security
  • 10 Nov 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 93 to 97. That category is still filling its 30-day observation window: 28 days of observed history at the previous scan, 29 at this one. The score rises as the window fills, whether or not the server changes.

  • 8 Nov 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 87 to 90. That category is still filling its 30-day observation window: 26 days of observed history at the previous scan, 27 at this one. The score rises as the window fills, whether or not the server changes.

Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 1 Dec 2026 · Analysed npm/@nightmoose/contractgate-mcp-server@0.4.3

Provenance Verified

A signed build attestation was found and verified, binding this exact artifact to the source repository it claims to come from.

Result Verified
Ecosystem npm
Reason Verified
Discovered via Registry attestation endpoint
Source repo nightmoose/contractgate
Certificate issuer https://token.actions.githubusercontent.com
Certificate SAN https://github.com/nightmoose/contractgate/.github/workflows/release.yml@refs/tags/v0.4.3
Rekor log index 4151136642
Predicate type SLSA build provenance https://slsa.dev/provenance/v1
Subject digest sha512:3762fd7f8d1c7644ec35357bf951d290d511375344a8b0ab5c81bbdc7093e8c7bfd6e1eb04c14a100dbd2c8f43ebf908a9676c2f7fd76dc7708af1b6c

Background: How many MCP packages publish verified provenance →

Dependencies 11 packages
Packages resolved 11
Stale 2
Tree resolution Complete

Background: SBOMs and build attestations, explained →

MCP tools · 7 exposed · ~761 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →

Tool Tokens
deploy_contract ~118

POST /contracts/deploy — find-or-create by name, insert YAML as stable, deprecate prior stable. 409 if that (name, version) exists: bump version in the YAML. Refused while quarantine is pending. Save the returned contract_id.

NameTypeReqDescription
deployed_bystring–Actor recorded on the version row
namestringyesContract name matching the YAML name: field
sourcestring–Logical feed name, e.g. app-backend
yaml_contentstringyesFull contract YAML

No output schema declared.

No examples provided.

egress_validate ~219

AISchemaGate structured-output check. POST /egress/{contract_id}. dry_run defaults true — no audit row or quarantine. Returns 200/207/422 so you can read min, max, pattern, enum, and compliance_mode violations and run a bounded auto-repair. Forward response.payload only — never the original body after a block or fail.

NameTypeReqDescription
contract_idstringyesDeployed contract UUID
dispositionstring–Default block. block = drop failing records from payload; fail = reject entire batch; tag = pass through with flags.
dry_runboolean–Default true. Set false only after a successful dry run — live calls write audit and quarantine rows unless on_fail is drop.
eventsarrayyesOutbound payload objects to validate
on_failstring–Default quarantine. drop counts a failure and stores neither a quarantine row nor an audit row. Ignored when the contract locks on_fail.
versionstring–Pin a specific contract version. Default: latest stable.

No output schema declared.

No examples provided.

get_drop_counts ~69

GET /contracts/{id}/drop-counts. Minute buckets of dropped failures by reason, kept 30 days. Counts and failure metadata only — never record contents.

NameTypeReqDescription
contract_idstringyesDeployed contract UUID
hoursinteger–Lookback in hours. Default 24.

No output schema declared.

No examples provided.

get_quarantine ~63

GET /quarantine — rejected events for the caller's org, newest first, with violation details.

NameTypeReqDescription
contract_idstring–Restrict to one contract
limitinteger–Default 100, max 500
offsetinteger––

No output schema declared.

No examples provided.

infer_contract ~91

Generate draft DataContractGate YAML from real JSON sample events via POST /contracts/infer. Does not persist. Review and write the YAML to contracts/<name>.yaml before deploying.

NameTypeReqDescription
descriptionstring–Optional contract description
namestringyesContract name, snake_case, e.g. user_events
samplesarrayyes1–20 real event objects. Do not invent them.

No output schema declared.

No examples provided.

list_contracts ~20

GET /contracts — identities the API key can see.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

validate_events ~181

Validate events. Pass contract_id to hit POST /v1/ingest/{id} (dry_run defaults true — no audit, quarantine, or usage). Pass yaml_content to hit POST /playground/validate per event (never persists). Exactly one of contract_id or yaml_content. 207/422 responses are returned as data so you can apply each violation's suggestion.

NameTypeReqDescription
contract_idstring–Deployed contract UUID from deploy_contract
dry_runboolean–Ingest only. Default true. Set false only after a successful dry run.
eventsarrayyesEvent objects to validate
on_failstring–Ingest only. Default quarantine. drop counts a failure and stores neither a quarantine row nor an audit row.
yaml_contentstring–In-flight contract YAML; uses the playground, never persists

No output schema declared.

No examples provided.

Install

How do I install the AISchemaGate and DataContractGate MCP server?

AISchemaGate and DataContractGate runs locally as an npm package, launched with npx -y @nightmoose/contractgate-mcp-server. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

npm · @nightmoose/contractgate-mcp-server

# add to Claude Code
claude mcp add nightmoose-contractgate -- npx -y @nightmoose/contractgate-mcp-server
Common questions

What is the AISchemaGate and DataContractGate MCP server?

AISchemaGate and DataContractGate is an MCP server listed in the public MCP registry as io.github.nightmoose/contractgate. AISchemaGate validates and repairs structured LLM output against a contract, plus DataContractGate. This page covers its npm package (@nightmoose/contractgate-mcp-server).

Is the AISchemaGate and DataContractGate MCP server safe to use?

AISchemaGate and DataContractGate scores 96 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 1 December 2026. It declares no install or post-install scripts. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

What tools does the AISchemaGate and DataContractGate MCP server expose?

AISchemaGate and DataContractGate exposes 7 tools: infer_contract, validate_events, deploy_contract, get_quarantine, list_contracts, and 2 more. Their descriptions and schemas cost roughly 761 tokens of context every time the server is loaded.

Is the AISchemaGate and DataContractGate MCP server still maintained?

AISchemaGate and DataContractGate is still listed as active in the MCP registry. We last reached this channel on 1 December 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

What licence is the AISchemaGate and DataContractGate MCP server under?

AISchemaGate and DataContractGate declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

What did VerifyMCP test on the AISchemaGate and DataContractGate MCP server?

VerifyMCP ran 16 checks on AISchemaGate and DataContractGate, covering Malware scan, Known CVEs, Install scripts, Dependency health and 12 more. Endpoint Security and Transport & Reachability do not apply to an npm package, so they were not tested. The score does not measure everything, and the scoring documentation lists what it leaves out.