{
 "type": "mcp",
 "name": "Cred",
 "registry_name": "io.github.aw3-technology/cred",
 "also_published_as": [],
 "description": "Issue, deduct, refund and sell credits: checkout, subscriptions, saved cards, escrow and wallets.",
 "url": "https://eutdgemlrpvnxfkkpvlu.supabase.co/functions/v1/cred-mcp",
 "transport": "streamable-http",
 "website": "https://cred.diy/docs/mcp",
 "repo": null,
 "ours": false,
 "publisher": "io.github.aw3-technology",
 "categories": [
  "payments",
  "marketing-seo",
  "comms"
 ],
 "tests": {
  "tested_at": "2026-11-24T21:39:15.159Z",
  "http_status": 200,
  "initialize": "ok",
  "tools_list": "ok",
  "tool_count": 49,
  "latency_ms": 205,
  "tools_list_ms": 73,
  "protocol_version": "2025-06-18",
  "oauth_discovery": null,
  "server_info": {
   "name": "cred-mcp",
   "version": "1.1.0"
  },
  "error": null
 },
 "signals": {
  "github_stars": null,
  "license": null,
  "repo_pushed_at": null,
  "repo_archived": null,
  "npm_downloads_30d": null,
  "adoption_note": null,
  "registry_updated_at": "2026-11-06T18:33:35.291313Z",
  "registry_published_at": "2026-11-06T18:33:35.291313Z",
  "pypi_downloads": "missing"
 },
 "checks": {
  "latency": 100,
  "tool_docs": 100,
  "breadth": 99.5,
  "freshness": 100,
  "license": "missing",
  "adoption": "missing",
  "protocol": 100
 },
 "score": 59.9,
 "missing": [
  "license",
  "adoption"
 ],
 "tools": [
  "list_credit_types",
  "get_balance",
  "issue_credits",
  "deduct_credits",
  "get_transactions",
  "refund_credits",
  "create_user",
  "get_users",
  "update_user",
  "delete_user",
  "bulk_create_users",
  "get_signup_analytics",
  "list_pricing_tiers",
  "create_pricing_tier",
  "update_pricing_tier",
  "delete_pricing_tier",
  "create_checkout_session",
  "list_subscriptions",
  "cancel_subscription",
  "update_subscription_quantity",
  "create_subscription_portal_link",
  "get_saved_payment_method",
  "delete_saved_payment_method",
  "charge_saved_card",
  "get_auto_topup",
  "save_auto_topup",
  "delete_auto_topup",
  "create_escrow_hold",
  "release_escrow_hold",
  "capture_escrow_hold",
  "list_escrow_holds",
  "list_swap_pairs",
  "execute_swap",
  "get_referral_settings",
  "save_referral_settings",
  "generate_referral_code",
  "apply_referral",
  "complete_referral",
  "list_referrals",
  "redeem_credits",
  "onboard_payout_account",
  "x402_supported",
  "buy_credits_x402",
  "list_x402_receipts",
  "set_user_wallet",
  "get_user_wallet",
  "request_wallet_challenge",
  "verify_wallet_signature",
  "list_deposits"
 ],
 "tool_docs": [
  {
   "n": "list_credit_types",
   "d": "List the project's active credit types: id, name, symbol, description, exchange_rate (USD per credit), is_redeemable, and on-chain fields (is_on_chain, blockcha"
  },
  {
   "n": "get_balance",
   "d": "Get a user's credit balance(s). Identify the user by email (checked first) or user_id (your external user ID). An unknown user returns an empty balances array, "
  },
  {
   "n": "issue_credits",
   "d": "Issue (add) credits to a user; creates the user if they don't exist (email-first lookup). Pass idempotency_key on anything an agent might retry: a replay return"
  },
  {
   "n": "deduct_credits",
   "d": "Deduct (spend) credits from an existing user, identified by user_email (checked first) or user_id. Fails with 400 INSUFFICIENT_CREDITS (nothing deducted) or 404"
  },
  {
   "n": "get_transactions",
   "d": "List ledger transactions, newest first (types include issue, deduct, refund). Filter by user (email or user_id) and credit_type_id; paginate with limit/offset. "
  },
  {
   "n": "refund_credits",
   "d": "Refund or reverse credits. MOVES MONEY for purchases: with purchase_id or stripe_payment_intent_id it refunds the Stripe charge (prorated when partial; refund_p"
  },
  {
   "n": "create_user",
   "d": "Create an end user, or return/update the existing one (email-first lookup, then external_id, so no duplicates). Returns created: true for a new user. Signup att"
  },
  {
   "n": "get_users",
   "d": "Look up one end user by email or external_id (404 USER_NOT_FOUND if absent), or list users newest first with total, filterable by signup_host / signup_credit_ty"
  },
  {
   "n": "update_user",
   "d": "Update an existing end user (identify by user_email, checked first, or external_id). Only fields you pass change (none at all is 400 NO_FIELDS_TO_UPDATE); metad"
  },
  {
   "n": "delete_user",
   "d": "Delete an end user, identified by user_email (checked first) or external_id. Irreversible: balances, ledger and auto top-up rules go with them. A user with swap"
  },
  {
   "n": "bulk_create_users",
   "d": "Create or update up to 1000 users in one call (one CRD for the batch). Returns counts of created/updated and per-row errors; a bad row does not fail the batch. "
  },
  {
   "n": "get_signup_analytics",
   "d": "Signup attribution breakdown per signup_host (which of your apps users came from): users, purchases and revenue per host over the last `days` (default 30; 0 = a"
  },
  {
   "n": "list_pricing_tiers",
   "d": "List active pricing tiers (credit packs), cheapest first; price is a dollar string. credit_type_ids lists the credit types a tier can be bought for; [] means ev"
  },
  {
   "n": "create_pricing_tier",
   "d": "Create a pricing tier. credits must be a positive integer; price (USD) must be 0 or at least 0.50, and at most $1.00 per credit. credit_type_ids lists the credi"
  },
  {
   "n": "update_pricing_tier",
   "d": "Update a pricing tier by id; only fields you pass change (same price rules as create). Pass credit_type_ids to re-scope it ([] = all credit types), is_active: f"
  },
  {
   "n": "delete_pricing_tier",
   "d": "Permanently delete a pricing tier by id (404 if not in this project). While auto top-up rules buy the tier it refuses with 409 TIER_IN_USE and the rule count; p"
  },
  {
   "n": "create_checkout_session",
   "d": "Create a Stripe Checkout link for an end user to buy credits; returns checkout_url and session_id. Nothing is charged until the buyer pays on that page; credits"
  },
  {
   "n": "list_subscriptions",
   "d": "List recurring credit subscriptions (newest 100): status, credits_per_period, quantity, price, interval, current_period_end, cancel_at_period_end. status: \"acti"
  },
  {
   "n": "cancel_subscription",
   "d": "Cancel a subscription. By default it cancels at period end (credits already issued stay; no further renewals). at_period_end: false cancels immediately with no "
  },
  {
   "n": "update_subscription_quantity",
   "d": "Change a live subscription's quantity (seats/packs, 1–10000). CHANGES FUTURE BILLING: from the next renewal the customer pays unit price × quantity and receives"
  },
  {
   "n": "create_subscription_portal_link",
   "d": "Create a short-lived Stripe customer portal URL for a subscriber to update their card (flow payment_method_update, default) or see invoices and card (overview)."
  },
  {
   "n": "get_saved_payment_method",
   "d": "Get the card saved for a user (brand, last4, expiry), or payment_method: null if none. Cards are saved by a one-time create_checkout_session with save_payment_m"
  },
  {
   "n": "delete_saved_payment_method",
   "d": "Remove a user's saved card (detached in Stripe). charge_saved_card and auto top-up stop working for them until a new card is saved. Returns deleted: false if th"
  },
  {
   "n": "charge_saved_card",
   "d": "MOVES MONEY: charge a user's saved card off-session for one pack of a one-time pricing tier and credit it. idempotency_key is required; a retry with the same ke"
  },
  {
   "n": "get_auto_topup",
   "d": "Get a user's auto top-up rule for credit_type_id (auto_topup, or null), or all their rules (auto_topups) when credit_type_id is omitted, plus their saved card. "
  },
  {
   "n": "save_auto_topup",
   "d": "Create or replace the auto top-up rule for (user, credit type): whenever a deduct leaves the balance below threshold, cred buys one pack of pricing_tier_id on t"
  },
  {
   "n": "delete_auto_topup",
   "d": "Delete a user's auto top-up rule for credit_type_id, or ALL their rules when credit_type_id is omitted. Returns the number deleted. To pause instead, save_auto_"
  },
  {
   "n": "create_escrow_hold",
   "d": "Reserve credits: deducts amount from an existing user and parks it in a hold (status held), returning hold_id. Finish with capture_escrow_hold or release_escrow"
  },
  {
   "n": "release_escrow_hold",
   "d": "Release a held hold in full back to its holder (status released). 404 HOLD_NOT_FOUND, 409 HOLD_NOT_ACTIVE if it was already released, captured or expired — so a"
  },
  {
   "n": "capture_escrow_hold",
   "d": "Settle a hold (status captured). amount captures part (default: all); the uncaptured remainder returns to the holder. With to_user_id/to_user_email the captured"
  },
  {
   "n": "list_escrow_holds",
   "d": "List escrow holds, newest first, with total. Filter by status, holder or reference_id. Costs 1 CRD (platform credit) per call, charged even when the call is the"
  },
  {
   "n": "list_swap_pairs",
   "d": "List credit swap pairs (exchange_rate, fee_percent, min/max_swap_amount, is_bidirectional). Optionally filter by source or target credit type. Costs 1 CRD (plat"
  },
  {
   "n": "execute_swap",
   "d": "Swap a user's credits along a swap pair: deducts source_amount of the source type and credits the converted amount (after fee) in the target type. Errors: 400 I"
  },
  {
   "n": "get_referral_settings",
   "d": "Get a referral program's settings (is_active, referrer/referee credits, credit type). A project can run one program per credit type: pass credit_type_id for tha"
  },
  {
   "n": "save_referral_settings",
   "d": "Create or update a referral program: credits awarded to the referrer and to the referred user. With credit_type_id this writes THAT credit type's program (creat"
  },
  {
   "n": "generate_referral_code",
   "d": "Get a user's referral code, generating one if they have none (creates the user if needed). Safe to repeat. Costs 1 CRD (platform credit) per call, charged even "
  },
  {
   "n": "apply_referral",
   "d": "Apply a referral code for a referred user, issuing the configured credits to the referee and the referrer. credit_type_id picks the credit type's program (defau"
  },
  {
   "n": "complete_referral",
   "d": "Pay the referrer of a referral applied with defer_referrer_credits. user_id is the REFERRED user. Safe to repeat: the payout is keyed per referral; an already c"
  },
  {
   "n": "list_referrals",
   "d": "List the project's referrals, filterable by status, referrer or credit type (program). Costs 1 CRD (platform credit) per call, charged even when the call is the"
  },
  {
   "n": "redeem_credits",
   "d": "MOVES MONEY: cash out a user's credits as a Stripe transfer to a connected account. Deducts `amount` credits and pays amount × the credit type's exchange_rate ("
  },
  {
   "n": "onboard_payout_account",
   "d": "Create (or reuse) a Stripe Express connected account for an end user and return an onboarding URL for them to complete. The resulting stripe_account_id (acct_…)"
  },
  {
   "n": "x402_supported",
   "d": "Discover how to pay Cred with x402 (HTTP 402 stablecoin payments): the accepted scheme, network, asset and prices. Pass project_id to also get that project's cr"
  },
  {
   "n": "buy_credits_x402",
   "d": "MOVES MONEY: buy a project's credits by paying in stablecoin over x402. Call once without x402_payment to receive the payment requirements (returned as an error"
  },
  {
   "n": "list_x402_receipts",
   "d": "List this project's x402 stablecoin payments, newest first: kind, status, payer, amount_usd, transaction_hash, credits_granted, error. Authenticated (API key). "
  },
  {
   "n": "set_user_wallet",
   "d": "Attach an EVM address to an end user so on-chain credits mint to them. No signature required — the address is recorded as asserted by the operator, not proved ("
  },
  {
   "n": "get_user_wallet",
   "d": "Read the EVM address on file for an end user, and whether the holder proved it by signature (verified, verified_at). Costs 1 CRD (platform credit) per call, cha"
  },
  {
   "n": "request_wallet_challenge",
   "d": "Step 1 of proving an end user controls an address: get a single-use message for them to sign. The message names the operator's project and must be shown to the "
  },
  {
   "n": "verify_wallet_signature",
   "d": "Step 2: submit the personal_sign signature over the challenge message. On success the address is stored and marked verified. A challenge is single-use and a rej"
  },
  {
   "n": "list_deposits",
   "d": "List on-chain token deposits observed for the project, newest first (read-only; the chain ingest writes them). status: credited (credits granted), unattributed "
  }
 ],
 "passed": true,
 "auth_required": false,
 "fail_reason": null,
 "category_confidence": 0.964,
 "category_source": "classifier",
 "category_scores": {
  "payments": 2.33,
  "logistics": 1.11,
  "comms": 0.4,
  "crypto": 0.33
 },
 "subcategory": null,
 "id": "io-github-aw3-technology-cred",
 "listing": {
  "plan": "curated",
  "fee_usd": null,
  "note": "Listing fees are not active. Placement is earned only by test results."
 },
 "status": "listed",
 "first_seen": "2026-11-24",
 "uptime_days": "2/2"
}