About NIGHTGATE MCP
NIGHTGATE MCP is an MCP server published by ODATANO in the Agents category: mCP server that lets AI agents use NIGHTGATE, the Midnight blockchain attestation layer: anchor documents, prove zero-knowledge predicates over hidden fields, manage disclosure grants, verify everything against live contract state, and poll async jobs.
The repository has 3 stars and 1 forks, with the last commit 2 days ago. Recent commit activity is the strongest signal that reported issues will get attention.
Install
git clone https://github.com/ODATANO/NIGHTGATE-MCPThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (22)
anchor_documentAnchor a document content hash on-chain; with a `nonce` it is the guarded reveal that reclaims a front-run hash (async job)
Parameters not published.
attest_agent_outputAnchor agent-output provenance (canonical envelope, third-party verifiable; async job, NIGHTGATE >= 0.14.0)
Parameters not published.
build_sponsorable_transactionBuild, prove and sign an AttestationVault call LOCALLY with the seed from the server environment (attest, anchorContentRoot, grant/revokeDisclosure, register/bindPassport, attestCommit/Reveal); returns the fee-unpaid bytes for the sponsor tools, unbound by default (synchronous, 20-60 s, needs `@odatano/nightgate-tx`)
Parameters not published.
commit_document_anchorRecord that commitment on-chain, so a mempool observer cannot front-run the later reveal (async job)
Parameters not published.
derive_token_typeDerive the raw token type a minting contract produces, from contract address + domain separator (synchronous)
Parameters not published.
get_attester_identityThe attester id this server builds under, derived from the seed (synchronous)
Parameters not published.
get_job_statusPoll an async NIGHTGATE job until succeeded/failed
Parameters not published.
prepare_anchor_commitmentCompute the commitment + secret nonce for guarded anchoring (synchronous)
Parameters not published.
prepare_document_proofCanonicalize a document into payloadHash + salted Merkle contentRoot + schemaId + per-field proof inputs (incl. each slot salt) + the full `opening` the cross-root proofs need (synchronous)
Parameters not published.
prepare_membership_setBuild the canonical allow-list set tree: setRoot for verifiers, inclusion path for provers (synchronous)
Parameters not published.
Show all 22 tools
prove_document_diffZK proof that two anchored documents differ at >= k of the vault's slots, without revealing which (async job)
Parameters not published.
prove_document_integrityZK proof that a second document differs from the anchored one ONLY in a public slot mask, values hidden (async job)
Parameters not published.
prove_field_equalityZK proof that a string field carries exactly the value behind a public digest (async job)
Parameters not published.
prove_field_membershipZK proof that a hidden string field is one of a public allow-list, without revealing which (async job)
Parameters not published.
prove_field_predicateZK proof that a hidden document field satisfies a threshold, without revealing it (async job)
Parameters not published.
prove_field_predicates_batchUp to 8 claims on one document in ONE transaction, any mix of numeric / equality / membership / cross-root kinds (async job)
Parameters not published.
sponsor_finalized_transactionSubmit a transaction that was built, proven and signed ELSEWHERE (e.g. with the `@odatano/nightgate-tx` txbuilder, the builder's key never leaves its machine); the sponsor session pays the dust, the effect carries the builder's identity; serial per sponsor wallet (async job)
Parameters not published.
sponsor_unbound_transactionSame trust shape for an UNBOUND (`bind: false`) caller transaction: the sponsor merges a dust spend from a locked backing, binds and submits, several per sponsor wallet in parallel; `sponsorSessionId` may be the platform pool id (async job)
Parameters not published.
verify_attestationLive-state check that a payload hash is attested in an AttestationVault (crawler-free, optional content-root check, optional cross-network read)
Parameters not published.
verify_documentVerify an anchored document by document id + sha256
Parameters not published.
verify_predicateLive-state check that a ZK claim was recorded true on-chain, id-free: numeric predicates, `bytesEquality` (+ `expectedDigest`), `setMembership` (+ `setRoot`) and the cross-root kinds `documentIntegrity` / `documentDiff` (+ `payloadHashB`)
Parameters not published.
verify_predicate_attestationVerify a server-issued predicate attestation by its row id
Parameters not published.
Ask AI
Ask AI about NIGHTGATE MCP
Powered by Claude · Grounded in docs
Security checks
6 checks have not been run yet.