AISchemaGate and DataContractGate
NPM · @NIGHTMOOSE/CONTRACTGATE-MCP-SERVER
AISchemaGate validates and repairs structured LLM output against a contract, plus DataContractGate.
Available components
Last scanned (8 hours ago)
Scores higher than 98% of npm servers
Category Testing and QA
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
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 →
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.
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 →
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 →
deploy_contract Deploy a contract to stable ~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.
| Name | Type | Req | Description |
|---|---|---|---|
| deployed_by | string | – | Actor recorded on the version row |
| name | string | yes | Contract name matching the YAML name: field |
| source | string | – | Logical feed name, e.g. app-backend |
| yaml_content | string | yes | Full contract YAML |
No output schema declared.
No examples provided.
egress_validate Validate an outbound payload ~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.
| Name | Type | Req | Description |
|---|---|---|---|
| contract_id | string | yes | Deployed contract UUID |
| disposition | string | – | Default block. block = drop failing records from payload; fail = reject entire batch; tag = pass through with flags. |
| dry_run | boolean | – | Default true. Set false only after a successful dry run — live calls write audit and quarantine rows unless on_fail is drop. |
| events | array | yes | Outbound payload objects to validate |
| on_fail | string | – | Default quarantine. drop counts a failure and stores neither a quarantine row nor an audit row. Ignored when the contract locks on_fail. |
| version | string | – | Pin a specific contract version. Default: latest stable. |
No output schema declared.
No examples provided.
get_drop_counts List dropped-record 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.
| Name | Type | Req | Description |
|---|---|---|---|
| contract_id | string | yes | Deployed contract UUID |
| hours | integer | – | Lookback in hours. Default 24. |
No output schema declared.
No examples provided.
get_quarantine List quarantined events ~63
GET /quarantine — rejected events for the caller's org, newest first, with violation details.
| Name | Type | Req | Description |
|---|---|---|---|
| contract_id | string | – | Restrict to one contract |
| limit | integer | – | Default 100, max 500 |
| offset | integer | – | – |
No output schema declared.
No examples provided.
infer_contract Infer a contract from sample events ~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.
| Name | Type | Req | Description |
|---|---|---|---|
| description | string | – | Optional contract description |
| name | string | yes | Contract name, snake_case, e.g. user_events |
| samples | array | yes | 1–20 real event objects. Do not invent them. |
No output schema declared.
No examples provided.
list_contracts 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 Validate events against a contract ~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.
| Name | Type | Req | Description |
|---|---|---|---|
| contract_id | string | – | Deployed contract UUID from deploy_contract |
| dry_run | boolean | – | Ingest only. Default true. Set false only after a successful dry run. |
| events | array | yes | Event objects to validate |
| on_fail | string | – | Ingest only. Default quarantine. drop counts a failure and stores neither a quarantine row nor an audit row. |
| yaml_content | string | – | In-flight contract YAML; uses the playground, never persists |
No output schema declared.
No examples provided.
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
claude mcp add nightmoose-contractgate -- npx -y @nightmoose/contractgate-mcp-server
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.