{"name":"io.github.nightmoose/contractgate","slug":"nightmoose-contractgate","title":"ContractGate","description":"Infer, dry-run, deploy, and inspect ContractGate semantic data contracts.","url":"https://mcp.market/server/nightmoose-contractgate","rating":null,"grade":"B","score":83,"certified":false,"status":"active","category":"devtools","tags":["devtools"],"presence":{"score":32,"stars":3,"forks":0,"downloads_week":48,"last_push_at":"2026-09-17T12:58:38.000Z","license":"MIT"},"uptime":null,"claimed":false,"transport":"npm","callable_via_gateway":false,"default_price_micros":0,"repository":"https://github.com/nightmoose/contractgate","website":"https://app.datacontractgate.com/mcp-reference.md","version":"0.1.2","remotes":[],"packages":[{"registryType":"npm","registryBaseUrl":"https://registry.npmjs.org","identifier":"@contractgate/mcp-server","version":"0.1.2","runtimeHint":"npx","transport":{"type":"stdio"},"environmentVariables":[{"description":"ContractGate API key (cg_live_...). Create one at https://app.datacontractgate.com/account","isRequired":true,"isSecret":true,"name":"CONTRACTGATE_API_KEY"},{"description":"Gateway base URL. Defaults to https://app.datacontractgate.com","name":"CONTRACTGATE_BASE_URL"}]}],"tools":[{"name":"deploy_contract","description":"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.","write_action":true,"price_micros":0,"input_schema":null},{"name":"get_quarantine","description":"GET /quarantine — rejected events for the caller's org, newest first, with violation details.","write_action":false,"price_micros":0,"input_schema":null},{"name":"infer_contract","description":"Generate draft ContractGate YAML from real JSON sample events via POST /contracts/infer. Does not persist. Review and write the YAML to contracts/<name>.yaml before deploying.","write_action":false,"price_micros":0,"input_schema":null},{"name":"list_contracts","description":"GET /contracts — identities the API key can see.","write_action":false,"price_micros":0,"input_schema":null},{"name":"validate_events","description":"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.","write_action":false,"price_micros":0,"input_schema":null}],"scan":{"score":83,"grade":"B","scanned_at":"2026-09-19T19:20:24.236Z","report":{"scannerVersion":"0.1.5","scannedAt":"2026-09-19T19:20:24.248Z","components":{"code":{"score":25,"max":25,"notes":["9 source files scanned"]},"reliability":{"score":-1,"max":20,"notes":["no gateway calls yet and no remote to probe"]},"poisoning":{"score":-1,"max":15,"notes":["tools not inspected (local package is not executed); not counted"]},"auth":{"score":6,"max":15,"notes":["static API keys via environment variables"]},"maintenance":{"score":15,"max":15,"notes":["last push 2 days ago"]},"identity":{"score":8,"max":10,"notes":["registry namespace matches repository owner","GitHub account older than a year"]}},"findings":[],"inputs":{"packages":[{"registryType":"npm","identifier":"@contractgate/mcp-server","version":"0.1.2","found":true,"license":"MIT","hasInstallScripts":false,"dependencyCount":2,"publishedAt":"2026-09-17T12:58:07.298Z","repositoryUrl":"git+https://github.com/nightmoose/contractgate.git","weeklyDownloads":48}],"repo":{"found":true,"owner":"nightmoose","repo":"contractgate","archived":false,"pushedAt":"2026-09-17T12:58:38Z","stars":3,"forks":0,"openIssues":0,"ownerType":"User","ownerAvatarUrl":"https://avatars.githubusercontent.com/u/91439862?v=4","ownerCreatedAt":"2021-09-26T23:53:44Z","license":"MIT"},"icon":{"url":"https://app.datacontractgate.com/apple-icon.png?apple-icon.2ttqo3koygxhf.png","source":"registry","width":650,"height":650},"presence":{"stars":3,"forks":0,"downloadsWeek":48,"license":"MIT","lastPushAt":"2026-09-17T12:58:38.000Z","score":32}}}},"grade_history":[{"kind":"restore","fromGrade":"C","toGrade":"B","reason":"score 83","createdAt":"2026-09-19T00:27:19.400Z"}],"reviews":[]}