API Tools
cred.diy
Manages project credit types and user balances, including issuing or deducting credits and listing ledger transactions.
ENDPOINT 1
https://eutdgemlrpvnxfkkpvlu.supabase.co/functions/v1/cred-mcp
MCP server metadata
- Name
- cred-mcp
- Version
- 1.1.0
Known tools 49
list_credit_typesList the project's active credit types: id, name, symbol, description, exchange_rate (USD per credit), is_redeemable, and on-chain fields (is_on_chain, blockchain, contract_address, chain_id, token_decimals, mint_on_issue, deployment_type).
Inferred read-onlyissue_creditsIssue (add) credits to a user; creates the user if they don't exist (email-first lookup).
Potential side effectsdeduct_creditsDeduct (spend) credits from an existing user, identified by user_email (checked first) or user_id.
Inferred read-onlyget_transactionsList ledger transactions, newest first (types include issue, deduct, refund).
Potential side effectscreate_userCreate an end user, or return/update the existing one (email-first lookup, then external_id, so no duplicates).
Potential side effectsget_usersLook 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_type_id.
Potential side effectsupdate_userUpdate an existing end user (identify by user_email, checked first, or external_id).
Potential side effectsdelete_userDelete an end user, identified by user_email (checked first) or external_id.
Potential side effectsbulk_create_usersCreate or update up to 1000 users in one call (one CRD for the batch).
Potential side effectsget_signup_analyticsSignup 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 = all time).
Inferred read-onlylist_pricing_tiersList active pricing tiers (credit packs), cheapest first; price is a dollar string.
Inferred read-onlyupdate_pricing_tierUpdate a pricing tier by id; only fields you pass change (same price rules as create).
Potential side effectsdelete_pricing_tierPermanently delete a pricing tier by id (404 if not in this project).
Potential side effectscreate_checkout_sessionCreate a Stripe Checkout link for an end user to buy credits; returns checkout_url and session_id.
Potential side effectslist_subscriptionsList recurring credit subscriptions (newest 100): status, credits_per_period, quantity, price, interval, current_period_end, cancel_at_period_end.
Inferred read-onlyupdate_subscription_quantityChange a live subscription's quantity (seats/packs, 1–10000).
Inferred read-onlycreate_subscription_portal_linkCreate 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).
Potential side effectsget_saved_payment_methodGet the card saved for a user (brand, last4, expiry), or payment_method: null if none.
Inferred read-onlycharge_saved_cardMOVES MONEY: charge a user's saved card off-session for one pack of a one-time pricing tier and credit it.
Potential side effectsget_auto_topupGet 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.
Inferred read-onlysave_auto_topupCreate 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 the user's saved card (at most max_per_day charges per 24h).
Potential side effectsdelete_auto_topupDelete a user's auto top-up rule for credit_type_id, or ALL their rules when credit_type_id is omitted.
Potential side effectscreate_escrow_holdReserve credits: deducts amount from an existing user and parks it in a hold (status held), returning hold_id.
Inferred read-onlyrelease_escrow_holdRelease a held hold in full back to its holder (status released).
Inferred read-onlylist_swap_pairsList credit swap pairs (exchange_rate, fee_percent, min/max_swap_amount, is_bidirectional).
Inferred read-onlyexecute_swapSwap 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.
Inferred read-onlyget_referral_settingsGet a referral program's settings (is_active, referrer/referee credits, credit type).
Inferred read-onlysave_referral_settingsCreate or update a referral program: credits awarded to the referrer and to the referred user.
Potential side effectsgenerate_referral_codeGet a user's referral code, generating one if they have none (creates the user if needed).
Inferred read-onlyapply_referralApply a referral code for a referred user, issuing the configured credits to the referee and the referrer.
Inferred read-onlycomplete_referralPay the referrer of a referral applied with defer_referrer_credits.
Potential side effectslist_referralsList the project's referrals, filterable by status, referrer or credit type (program).
Inferred read-onlyredeem_creditsMOVES MONEY: cash out a user's credits as a Stripe transfer to a connected account.
Potential side effectsonboard_payout_accountCreate (or reuse) a Stripe Express connected account for an end user and return an onboarding URL for them to complete.
Potential side effectsx402_supportedDiscover how to pay Cred with x402 (HTTP 402 stablecoin payments): the accepted scheme, network, asset and prices.
Potential side effectsbuy_credits_x402MOVES MONEY: buy a project's credits by paying in stablecoin over x402.
Inferred read-onlylist_x402_receiptsList this project's x402 stablecoin payments, newest first: kind, status, payer, amount_usd, transaction_hash, credits_granted, error.
Inferred read-onlyset_user_walletAttach an EVM address to an end user so on-chain credits mint to them.
Inferred read-onlyget_user_walletRead the EVM address on file for an end user, and whether the holder proved it by signature (verified, verified_at).
Inferred read-onlyrequest_wallet_challengeStep 1 of proving an end user controls an address: get a single-use message for them to sign.
Potential side effectsverify_wallet_signatureStep 2: submit the personal_sign signature over the challenge message.
Potential side effectslist_depositsList on-chain token deposits observed for the project, newest first (read-only; the chain ingest writes them).
Inferred read-onlyCONNECT WITH APPROVAL
Client installation
Review this server and its permissions before adding it. Secret placeholders must be set locally.
Codex
~/.codex/config.toml
[mcp_servers.cred-mcp]
url = "https://eutdgemlrpvnxfkkpvlu.supabase.co/functions/v1/cred-mcp"
enabled = true
Claude Code
.mcp.json
{
"mcpServers": {
"cred-mcp": {
"type": "http",
"url": "https://eutdgemlrpvnxfkkpvlu.supabase.co/functions/v1/cred-mcp"
}
}
}
Claude Desktop
Settings → Connectors → Add custom connector
Name: cred-mcp
Remote MCP URL: https://eutdgemlrpvnxfkkpvlu.supabase.co/functions/v1/cred-mcp
Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.
Cursor
.cursor/mcp.json
{
"mcpServers": {
"cred-mcp": {
"url": "https://eutdgemlrpvnxfkkpvlu.supabase.co/functions/v1/cred-mcp"
}
}
}
Visual Studio Code
.vscode/mcp.json
Add to Visual Studio Code{
"servers": {
"cred-mcp": {
"type": "http",
"url": "https://eutdgemlrpvnxfkkpvlu.supabase.co/functions/v1/cred-mcp"
}
}
}
Generic MCP
Client-specific MCP configuration
{
"name": "cred-mcp",
"transport": "streamable-http",
"url": "https://eutdgemlrpvnxfkkpvlu.supabase.co/functions/v1/cred-mcp"
}
MCP Inspector
Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.
TRUST AND VERIFICATION EVIDENCE
Trust Data Available
BuiltWith Trust API v2 evidence for supabase.co was fetched 2026-11-02T16:18:24.892Z.
Evidence is source-attributed and does not guarantee that a third-party server is safe. Risk labels are conservative metadata heuristics.