Serveur MCP

Crinkl Commerce MCP

xyz.crinkl.mcp/crinkl-commerce

Ce que fait ce MCP

Processes cryptographically verified receipts and provides commerce spend, GMV, merchant, rewards, and settlement data.

claim-api-key
Poll for the API key after the human approves the pairing code in the Crinkl PWA. Returns 202 while pending, 200 with the API key once approved, 410 if expired. Poll every 5 seconds. No authentication required.
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['deviceToken', 'code'], 'properties': {'code': {'type': 'string', 'description': 'The 4-character pairing code returned by pair-agent.'}, 'deviceToken': {'type': 'string', 'description': 'The same deviceToken used in pair-agent.'}}, 'additionalProperties': False}
get-agent-capabilities
Get Crinkl's canonical external agent capability catalog. Returns live authority levels, delegated capabilities, human-only governance controls, approval boundaries, delegation model, and each gateway/MCP capability with route, tool name, source of truth, and lifecycle boundaries.
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
get-agent-me
Get your agent's submission count, earned sats, and wallet-level stats. Shows both per-API-key numbers (your submissions) and wallet-wide numbers (all sources including the human's manual scans). Returns satsPerReceipt (current rate).
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['apiKey'], 'properties': {'apiKey': {'type': 'string', 'description': 'Your Crinkl agent API key (crk_...).'}}, 'additionalProperties': False}
get-cumulative-gmv
Get cumulative Gross Merchandise Value (GMV) from the public cumulative feed. The live Crinkl site displays this live beta cumulative total on top of the finalized alpha base; provide startDate to bound the window explicitly. Returns a cryptographically signed token containing total USD cents, spend count, and computation timestamp.
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'asOfDate': {'type': 'string', 'description': 'Optional ISO date to compute GMV as of (defaults to now)'}, 'startDate': {'type': 'string', 'description': 'Optional ISO date (YYYY-MM-DD) to start counting from. The live beta cumulative feed uses 2026-01-27.'}}, 'additionalProperties': False}
get-daily-gmv
Get the signed GMV summary for a specific calendar date (UTC). Returns the verified spend count, total USD cents, and a cryptographic signature from the Crinkl authority. Each daily GMV token is independently verifiable using the issuer's Ed25519 public key.
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['date'], 'properties': {'date': {'type': 'string', 'description': 'UTC date in YYYY-MM-DD format'}}, 'additionalProperties': False}
get-gmv-inclusion-proof
Get a Merkle inclusion proof that a specific spend is included in a daily GMV total. Returns the spend leaf hash, sibling hashes for the Merkle path, and the GMV root hash. This cryptographic proof allows anyone to independently verify that a spend was counted in the reported GMV without trusting the server.
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['spendId'], 'properties': {'spendId': {'type': 'string', 'description': 'The spend ID (UUID) to get an inclusion proof for'}}, 'additionalProperties': False}
get-issuer-keys
Get the Crinkl authority's Ed25519 public key used to sign all attestation tokens. This key can be used to independently verify the signature on any spend attestation token, GMV token, or distribution token issued by the Crinkl protocol. The key is returned in base64 format.
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
get-merchant-summary
Get aggregated merchant and category distribution across all verified spends. Shows top store brands, category breakdown (grocery, restaurant, gas, etc.), and spend concentration metrics. All data is derived from cryptographically verified receipt attestations.
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
get-protocol-summary
Get a concise explanation of what Crinkl is and how the protocol works. Use this first if you have no prior context about Crinkl. Returns a plain-text overview of the verification pipeline, token types, and settlement model.
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
get-recent-issued-proofs
Get recent gateway-issued artifact bundles for portable spend/GMV verification. Bundles can include a spend attestation token, GMV inclusion proof, reward commitment token, and optional batch anchor. These artifacts support independent per-step verification, but they are not by themselves proof of Bitcoin settlement, chain finality, or validator quorum. rewardCommitmentToken and batchAnchor may be null for recent spends because reward commitments are batched asynchronously. Check the 'steps' array and 'ok' field for per-step verification results.
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'limit': {'type': 'number', 'description': 'Number of recent proofs to return (default 10, max 50)'}}, 'additionalProperties': False}
get-reward-policy
Get the current Crinkl reward policy. Returns the active policy version, SHA-256 policy hash, reward parameters (referral bonuses, base points), category multipliers (grocery 1.5×, dining 1.5×, etc.), $CRINKL token holding tier multipliers, and the latest reserve checkpoint (BTC price, sats/receipt, coverage ratio). All values are deterministic — the policy hash covers the full parameter set. Updated daily.
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
get-settlement-summary
Get reward settlement statistics for supported reward rails. Returns the current BTC price used for reward calculations, sats-per-receipt rate, reported Lightning Network payouts, total sats claimed by users, and wallets with balance. This endpoint reports settlement metrics; it is not a chain-finality or payout-proof verifier.
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
get-spend-distribution
Get the geographic and category distribution of verified spends over a trailing window. Returns a breakdown by store category and CBSA (Core Based Statistical Area) metro code, enabling analysis of where and how verified commerce is distributed across the United States.
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'days': {'type': 'number', 'description': 'Number of trailing days (default 7, max 90)'}}, 'additionalProperties': False}
get-spend-signals
Get recent verified spend activity signals from the Crinkl network. Each signal represents a cryptographically attested receipt that has passed OCR extraction, store resolution, and hard verification. Signals include store name, category (e.g. Grocery & Supermarkets, Gas & Convenience), CBSA metro code, and spend amount — but no personally identifiable information. Use resolve-cbsa to convert CBSA codes to metro area names.
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'limit': {'type': 'number', 'description': 'Number of recent signals to return (default 20, max 50)'}}, 'additionalProperties': False}
get-trailing-gmv
Get a rolling N-day GMV trend summary. Returns daily verified GMV figures for the trailing window, enabling trend analysis of verified commerce volume. Each day's figure is backed by individually signed spend attestation tokens.
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'days': {'type': 'number', 'description': 'Number of trailing days (default 7, max 90)'}}, 'additionalProperties': False}
get-vendors
Get the currently approved DKIM vendor domains exposed by the public agent endpoint. Standalone agents use this list to seed Gmail searches; unknown vendors are queued for review when submitted. No authentication required.
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
pair-agent
Start the human-authorized agent pairing flow. Generates a 4-character code that a human approves in the Crinkl PWA to authorize the agent. Returns the code and expiration time (10 minutes). No authentication required.
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['deviceToken'], 'properties': {'deviceToken': {'type': 'string', 'description': 'A random 64-character hex string. Store this â\x80\x94 needed to claim the API key.'}}, 'additionalProperties': False}
resolve-cbsa
Resolve a CBSA (Core Based Statistical Area) code to its metro area name. CBSA codes appear in spend signals and distribution data as 5-digit codes (e.g. '35620'). This tool converts them to human-readable names (e.g. '35620' → 'New York-Newark-Jersey City, NY-NJ'). Also handles non-metro codes like 'non-metro:US-TN'.
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['code'], 'properties': {'code': {'type': 'string', 'description': "The CBSA code to resolve (e.g. '35620' or 'non-metro:US-TX')"}}, 'additionalProperties': False}
submit-receipt
Submit a DKIM-verified billing email to mint a spend token and earn sats. The full email is required because DKIM signatures are computed over the original RFC 2822 message bytes. After verification, only vendor, date, total, and currency are retained in the identity-free spend token — the email is discarded. Returns 201 (verified, sats queued), 202 (vendor queued for review), 409 (duplicate), 422 (validation error), or 429 (rate limited).
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['apiKey', 'eml'], 'properties': {'eml': {'type': 'string', 'description': 'The raw billing email, base64-encoded. Required for DKIM signature verification.'}, 'apiKey': {'type': 'string', 'description': 'Your Crinkl agent API key (crk_...).'}}, 'additionalProperties': False}
verify-issued-gmv
Verify a supplied spend/GMV artifact bundle. Accepts a spend attestation token, GMV token, GMV inclusion proof, and reward commitment token, then verifies: (1) spend token signature is valid, (2) GMV token signature is valid, (3) spend is in the GMV Merkle tree, (4) reward commitment is valid, (5) all spend IDs match across artifacts. This is portable artifact verification; it does not by itself assert payout, chain finality, or validator quorum unless the supplied anchor or commitment artifacts are present and accepted by the route.
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['spendToken', 'gmvToken', 'gmvInclusionProof', 'rewardCommitmentToken'], 'properties': {'gmvToken': {'type': 'object', 'description': "The observed GMV token for the spend's date", 'additionalProperties': {}}, 'spendToken': {'type': 'object', 'description': 'The spend attestation token', 'additionalProperties': {}}, 'batchAnchor': {'type': 'object', 'description': 'Optional batch anchor artifact. When omitted, verification is portable artifact verification only.', 'additionalProperties': {}}, 'gmvInclusionProof': {'type': 'object', 'description': 'The Merkle inclusion proof', 'additionalProperties': {}}, 'rewardCommitmentToken': {'type': 'object', 'description': 'The reward commitment token', 'additionalProperties': {}}}, 'additionalProperties': False}
verify-receipt
Preview DKIM verification of a billing email without creating a spend or earning sats. Returns extracted invoice data (vendor, amount, date, DKIM status). The full email is required because DKIM signatures are computed over the original RFC 2822 message bytes — the signature cannot be verified without them. The email is discarded after verification.
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['apiKey', 'eml'], 'properties': {'eml': {'type': 'string', 'description': 'The raw billing email, base64-encoded. Required for DKIM signature verification.'}, 'apiKey': {'type': 'string', 'description': 'Your Crinkl agent API key (crk_...).'}}, 'additionalProperties': False}
verify-reward-commitment
Verify a reward commitment token's cryptographic integrity. Checks that the reward Merkle tree is valid, the batch signature is authentic, and the reward amounts match the committed values. Reward commitments bind point/sat allocations to specific spends before payout, preventing retroactive manipulation.
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['token'], 'properties': {'token': {'type': 'object', 'description': 'The full reward commitment token JSON object to verify', 'additionalProperties': {}}}, 'additionalProperties': False}
Ajouté
get-agent-me
17 September 2026 12:55
Ajouté
submit-receipt
17 September 2026 12:55
Ajouté
verify-receipt
17 September 2026 12:55
Ajouté
claim-api-key
17 September 2026 12:55
Ajouté
pair-agent
17 September 2026 12:55
Ajouté
get-vendors
17 September 2026 12:55
Ajouté
get-agent-capabilities
17 September 2026 12:55
Ajouté
get-reward-policy
17 September 2026 12:55
Ajouté
get-issuer-keys
17 September 2026 12:55
Ajouté
get-recent-issued-proofs
17 September 2026 12:55
Ajouté
verify-issued-gmv
17 September 2026 12:55
Ajouté
verify-reward-commitment
17 September 2026 12:55
Ajouté
get-gmv-inclusion-proof
17 September 2026 12:55
Ajouté
get-settlement-summary
17 September 2026 12:55
Ajouté
get-spend-distribution
17 September 2026 12:55
Ajouté
get-merchant-summary
17 September 2026 12:55
Ajouté
resolve-cbsa
17 September 2026 12:55
Ajouté
get-spend-signals
17 September 2026 12:55
Ajouté
get-trailing-gmv
17 September 2026 12:55
Ajouté
get-daily-gmv
17 September 2026 12:55
Ajouté
get-cumulative-gmv
17 September 2026 12:55
Ajouté
get-protocol-summary
17 September 2026 12:55