Leal MCP server

Endpoint: https://mcp.getleal.com/mcp · Authentication: Sign in with OAuth

Create and configure loyalty stamp cards, rewards and store locations for Apple Wallet and Google Wallet. Account changes require Leal OAuth sign-in.

How do I authenticate?

Add the endpoint in your client, start Connect or Sign in, approve the requested scopes, and return to the client. OAuth discovery finds the authorization server; client registration requirements vary by provider. Follow the provider guidance and client setup below.

Authentication and connection guide

Connection specification

Remote endpoint
https://mcp.getleal.com/mcp
Browser access
Not yet measured
Declared MCP transport
Streamable HTTP
Live-validated MCP transport
Streamable HTTP — Observed by the latest catalog validation
Declared authentication
OAuth 2.1
Protocol lifecycle
Stateless MCP · 2026-07-28
Authorization server
https://app.getleal.com
Category
CRM

Product documentation · Official listing documentation · ChatGPT app directory listing

Provider guidance

  • The server initializes without credentials. Using account tools requires signing in.

More CRM MCP servers · Browse all MCP servers · Test this endpoint in the MCP Playground

Authorization setup

Registration requirements not verified

The OAuth authorization and app-registration requirements for this exact endpoint have not been verified. A compatible client will request authorization, but follow the publisher documentation and do not guess client credentials or callbacks.

Publisher evidence reviewed .

Publisher documentation

Connect it

Live-validated endpoint: https://mcp.getleal.com/mcp · Streamable HTTP. Registration requirements not verified: The OAuth authorization and app-registration requirements for this exact endpoint have not been verified. A compatible client will request authorization, but follow the publisher documentation and do not guess client credentials or callbacks.

Agent prompt for Claude Code or Codex
Add the Leal MCP server to my MCP client configuration and verify that it works.

What it is: Create and configure loyalty stamp cards, rewards and store locations for Apple Wallet and Google Wallet. Account changes require Leal OAuth sign-in.
Server URL: https://mcp.getleal.com/mcp
Transport: Streamable HTTP (remote MCP server, no local install).
Authentication: OAuth 2.1. Registration requirements not verified: The OAuth authorization and app-registration requirements for this exact endpoint have not been verified. A compatible client will request authorization, but follow the publisher documentation and do not guess client credentials or callbacks.
Tools (15, as last observed by mcptest): create_card, create_location, create_poster, create_reward, create_store, get_brand_kit, get_card, get_store_setup, list_cards, list_design_options, list_stores, preview_card_designs, update_card, update_reward, update_store.
Reference: https://mcptest.io/servers/leal-loyalty/

Steps:
1. Work out which MCP client I use (Claude Code, Codex, Cursor, VS Code or another) and add the server under the name "leal-loyalty" in that client's MCP configuration, user scope unless I ask otherwise.
   Claude Code: claude mcp add --transport http --scope user 'leal-loyalty' 'https://mcp.getleal.com/mcp'
   Other clients: use the setup for that client on the reference page.
2. Never write a credential value into a file that could be committed; reference an environment variable or the client's secret store, and ask me for any value you need.
3. Verify: connect to the server and call tools/list. Confirm the tools above are listed, and report any sign-in step I still have to complete.
MCP client

Claude Code setup

Run in a terminal. This user-scoped entry is available across projects.

claude mcp add --transport http --scope user 'leal-loyalty' 'https://mcp.getleal.com/mcp'
  • After adding the server, open Claude Code, run /mcp, select the server, and follow the browser flow to authenticate.

Codex CLI setup

Run in a terminal; Codex stores the entry in ~/.codex/config.toml.

codex mcp add 'leal-loyalty' --url 'https://mcp.getleal.com/mcp'
codex mcp login 'leal-loyalty'

Cursor setup

Add to .cursor/mcp.json for this project, or ~/.cursor/mcp.json for all projects.

{
  "mcpServers": {
    "leal-loyalty": {
      "url": "https://mcp.getleal.com/mcp"
    }
  }
}

VS Code setup

Add to .vscode/mcp.json, or run “MCP: Open User Configuration” for a private user-level entry.

{
  "servers": {
    "leal-loyalty": {
      "type": "http",
      "url": "https://mcp.getleal.com/mcp"
    }
  }
}

Claude setup

Add the endpoint above in Claude:

  • Customize > Connectors > Add custom connector
  • Team/Enterprise: Organization settings > Connectors > Add > Custom > Web

Claude Desktop setup

Add the endpoint above in Claude Desktop:

  • Remote: Customize > Connectors (same as claude.ai)
  • Local: Settings > Developer > Edit Config, or Settings > Extensions for .mcpb files
  • ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows), local servers only

ChatGPT setup

Add the endpoint above in ChatGPT:

  • ChatGPT web: Plugins > Add custom MCP server, then configure authentication and accept the risk warning

Windsurf setup

Add the endpoint above in Windsurf:

  • ~/.config/devin/mcp_config.json (%APPDATA%\devin\mcp_config.json on Windows), serverUrl or url
  • Cascade panel > ... > MCPs > Open MCP config file

Gemini CLI setup

Add the endpoint above in Gemini CLI:

  • gemini mcp add --transport http <name> <url>
  • ~/.gemini/settings.json (user) or .gemini/settings.json (project), mcpServers

MCP SDK setup

Add the endpoint above in MCP SDK:

  • Programmatic: new Client(...).connect(new StreamableHTTPClientTransport(url))

Notes for every client

  • Publisher evidence (reviewed 2026-11-23): https://www.getleal.com/llms.txt
  • Provider guidance: The server initializes without credentials. Using account tools requires signing in.

Client compatibility

ClientStatusWhy
Claude CodeSupportedClaude Code supports Streamable HTTP servers and OAuth sign-in.
CodexPartialCodex CLI ignores resources: The server can still connect, but Codex CLI does not consume the advertised resources capability. Codex CLI ignores prompts: The server can still connect, but Codex CLI does not consume the advertised prompts capability.
CursorSupportedCursor supports Streamable HTTP servers and OAuth sign-in.
VS CodeSupportedVS Code supports Streamable HTTP servers and OAuth sign-in.
ClaudeSupportedClaude supports Streamable HTTP servers and OAuth sign-in.
Claude DesktopSupportedClaude Desktop supports Streamable HTTP servers and OAuth sign-in.
ChatGPTPartialChatGPT ignores resources: The server can still connect, but ChatGPT does not consume the advertised resources capability. ChatGPT ignores prompts: The server can still connect, but ChatGPT does not consume the advertised prompts capability.
WindsurfPartialWindsurf's documentation does not state support for OAuth sign-in.
Gemini CLISupportedGemini CLI supports Streamable HTTP servers and OAuth sign-in.
MCP SDKSupportedMCP SDK supports Streamable HTTP servers and OAuth sign-in.

Computed from this server's validated transport, protocol and authentication against documented client support. Checks the catalog has not observed are not counted.

Similar servers

  • Attio — Searches and updates Attio CRM records, lists, notes, tasks, and call recordings in a workspace. Requires Attio OAuth. OAuth 2.1
  • Close — Searches and updates Close CRM leads, contacts, opportunities, activities, and tasks. Requires OAuth 2.0 with Dynamic Client Registration. OAuth 2.1
  • HubSpot — Reads and updates HubSpot CRM records such as contacts, companies, deals, and tickets. Requires OAuth 2.1 with PKCE through a HubSpot app's credentials. OAuth 2.1
  • Pipedrive — Reads and updates Pipedrive deals, contacts, organizations, leads, and activities within the signed-in user's permissions. Requires Pipedrive OAuth. OAuth 2.1
  • Klaviyo — Reads Klaviyo reporting and campaigns and performs account actions. Requires Klaviyo OAuth by a user with the Owner, Admin, or Manager role. OAuth 2.1
  • Salesforce — Discovers schema and runs SOQL queries, SOSL searches, and create, update, and delete operations on standard and custom Salesforce objects. Requires OAuth through an External Client App created in the Salesforce org. OAuth 2.1

Guides for this server

Watch this server for breaking changes

Share and embed

Maintain Leal? Embed this badge in your README. It follows the latest catalog validation result and links to this server profile.

mcptest.io: ready

Latest validation evidence

Validation status
Online when last tested
Validation checked at
Nov 23, 2026 at 7:19 PM
Validation detail
Negotiated stateless MCP 2026-07-28 at https://mcp.getleal.com/mcp; detected transport streamable-http; authentication oauth

Tool inventory

What the catalog validator observed on at https://mcp.getleal.com/mcp without credentials. The live server may have changed since; connect in the Playground for the current list.

Tools provided by Leal 15

Some details were sanitized for public display.

  • create_cardNo outputSchema

    Saves a loyalty card design and its rewards to a Leal store, ready for customers to add to Apple Wallet or Google Wallet. Takes the same design fields as preview_card_designs. Logos and strip photos are fetched from their URLs; if the store has no logo yet, the card's logo becomes the store logo. Needs a Leal account: the person is asked to sign in or create one.

    Input auxiliary_fields?: array, card_color?: string, google_hero_image_url?: string, google_logo_style?: string, header_text?: string, initial_stamps?: integer, intent?: string, logo_url?: string, name: string, qr_style?: string, referee_stamps?: integer, referrals_enabled?: boolean, referrer_stamps?: integer, rewards: array, show_member_field?: boolean, show_stamps_to_reward_field?: boolean, square_logo_url?: string, stamp_background_color?: string, stamp_color?: string, stamp_icon?: string, stamps_required?: integer, store_id?: integer, strip_color?: string, strip_image_url?: string, strip_opacity?: integer, strip_preset?: string, strip_type?: string, text_color?: string
    • auxiliary_fields?: arrayoptional

      Up to two extra front-of-pass fields, e.g. {label: "Perk", value: "10% off pastries"}.

    • card_color?: stringoptional

      Pass background colour, hex (#RRGGBB). Fills the whole screen in Google Wallet, so avoid neon, fully saturated colours such as #00ff00.

    • google_hero_image_url?: stringoptional

      Public https URL of a nearly square photo (1032×812, about 5:4) for Google Wallet's hero image, with no text in it. The stamps are drawn on top. Optional: without it the hero uses the strip background.

    • google_logo_style?: stringoptional

      How the logo sits on Google Wallet. round (default): square_logo_url in a circle with the store name. wide: logo_url in place of the circle and store name, best for wordmarks.

    • header_text?: stringoptional

      Text at the top of the pass. Defaults to the store name. Wallet apps truncate long headers, so keep it short.

    • initial_stamps?: integeroptional

      Stamps a new customer starts with (a head start). Must be less than stamps_required.

    • intent?: stringoptional

      Optional. One short sentence on what the person asked you to do, e.g. "Set up a stamp card for Ground Up Café". Leal shows it in the person's activity log under Settings → AI agents, so they can see what was done for them. Leave out customer details.

    • logo_url?: stringoptional

      Public https URL of the wide logo shown top-left of the Apple pass (PNG, JPEG, WebP, GIF or SVG; transparent PNG works best). Ideally a version that reads on card_color.

    • name: stringrequired

      Internal name for the card, e.g. "Coffee card". Shown in Leal, not on the pass.

    • qr_style?: stringoptional

      What the pass QR holds. link (default for new cards): a phone camera opens the store's sign-up page with this customer as referrer, and the store scanner still reads it. code: the bare card code only. Passes showing the old QR keep scanning.

    • referee_stamps?: integeroptional

      Stamps the invited friend gets on their first stamped visit. Less than stamps_required. Default 1.

    • referrals_enabled?: booleanoptional

      Let customers invite friends from the back of their pass. Both get stamps once the store first stamps the friend's card on a visit, never just for signing up. Default false.

    • referrer_stamps?: integeroptional

      Stamps the inviting customer gets when their friend's first visit is stamped. Less than stamps_required. Default 1.

    • rewards: arrayrequired

      Rewards customers can redeem, e.g. [{name: "Free coffee", stamps_required: 10}]. The free plan allows one reward per card.

    • show_member_field?: booleanoptional

      Show the customer's name on the front of the pass. Default true.

    • show_stamps_to_reward_field?: booleanoptional

      Show how many stamps until the next reward. Default true.

    • square_logo_url?: stringoptional

      Public https URL of a square logo or icon, used as the round logo on Google Wallet.

    • stamp_background_color?: stringoptional

      Fill colour of a collected stamp circle, hex. Empty stamp slots use a translucent version of it, so it should stand out from the strip.

    • stamp_color?: stringoptional

      Colour of the icon inside a collected stamp, hex. Must read clearly on stamp_background_color.

    • stamp_icon?: stringoptional

      Icon shown in each collected stamp.

    • stamps_required?: integeroptional

      Stamps needed to fill the card. 6, 8 or 10 are common.

    • store_id?: integeroptional

      Store id from list_stores. Optional when the login has one store.

    • strip_color?: stringoptional

      Strip colour, hex. Also shows behind preset and image strips when strip_opacity is below 100.

    • strip_image_url?: stringoptional

      Public https URL of a wide photo for the strip (strip_type image), e.g. a hero image from the brand's website. Cropped to 375×144 on Apple Wallet; Google Wallet shows the middle of it in its nearly square hero unless google_hero_image_url is given.

    • strip_opacity?: integeroptional

      Opacity of the strip colour or image over the card colour. 100 shows it exactly; 60–85 tints a photo with the card colour so stamps stand out.

    • strip_preset?: stringoptional

      Preset strip photo, used when strip_type is preset.

    • strip_type?: stringoptional

      Background of the stamp strip: a flat colour, one of Leal's preset photos, or an image from strip_image_url.

    • text_color?: stringoptional

      Colour of all text on the Apple pass, hex. Must read clearly on card_color (4.5:1 contrast or better). Google Wallet ignores it and picks black or white itself.

  • create_locationNo outputSchema

    Adds a physical location to a store. The address is geocoded so wallet passes can remind customers nearby.

    Input address: string, intent?: string, name: string, store_id?: integer
    • address: stringrequired

      Full street address including town and postcode.

    • intent?: stringoptional

      Optional. One short sentence on what the person asked you to do, e.g. "Set up a stamp card for Ground Up Café". Leal shows it in the person's activity log under Settings → AI agents, so they can see what was done for them. Leave out customer details.

    • name: stringrequired

      e.g. "Main Street" or the store name for a single shop.

    • store_id?: integeroptional

      Store id from list_stores. Optional when the login has one store.

  • create_posterNo outputSchema

    Creates a printable poster with a QR code for a card. Customers scan it, fill in a short form on a public Leal signup page, and add the card to their wallet. Returns the signup link and a print link. Colours default to the card's.

    Input card_id: integer, contact_collection_mode?: string, intent?: string, paper_size?: string, primary_color?: string, require_birthday?: boolean, secondary_color?: string, text_color?: string, title?: string
    • card_id: integerrequired

      Card id from list_cards.

    • contact_collection_mode?: stringoptional

      What the signup form asks for. Default email_and_phone.

    • intent?: stringoptional

      Optional. One short sentence on what the person asked you to do, e.g. "Set up a stamp card for Ground Up Café". Leal shows it in the person's activity log under Settings → AI agents, so they can see what was done for them. Leave out customer details.

    • paper_size?: stringoptional

      Default a4.

    • primary_color?: stringoptional

      Poster background colour, hex. Defaults to the card colour.

    • require_birthday?: booleanoptional

      Ask for a birthday (for birthday rewards). Default false.

    • secondary_color?: stringoptional

      Accent panel colour, hex.

    • text_color?: stringoptional

      Poster text colour, hex. Defaults to the card's text colour.

    • title?: stringoptional

      Headline, e.g. "Join our coffee club". Defaults to the card name.

  • create_rewardNo outputSchema

    Adds a reward that customers can redeem with stamps from a card, e.g. a free coffee at 10 stamps.

    Input card_id: integer, description?: string, intent?: string, name: string, stamps_required: integer
    • card_id: integerrequired

      Card id from list_cards.

    • description?: stringoptional

      Optional details, e.g. "Any size, any drink".

    • intent?: stringoptional

      Optional. One short sentence on what the person asked you to do, e.g. "Set up a stamp card for Ground Up Café". Leal shows it in the person's activity log under Settings → AI agents, so they can see what was done for them. Leave out customer details.

    • name: stringrequired

      What the customer gets, e.g. "Free coffee".

    • stamps_required: integerrequired

      Stamps spent to redeem it.

  • create_storeNo outputSchema

    Adds a new, empty store to the login's agency, with its own cards, posters and locations: for a client, a second business, or a demo to show a prospect. Then set it up with create_card, create_poster and create_location using the returned store_id. Don't use this to set up a store the login already has: call list_stores first and use the existing store if it's the same business.

    Input agency_id?: integer, intent?: string, logo_url?: string, name: string, square_logo_url?: string, store_name?: string
    • agency_id?: integeroptional

      Agency id from list_stores. Only needed when this login runs several agencies.

    • intent?: stringoptional

      Optional. One short sentence on what the person asked you to do, e.g. "Set up a stamp card for Ground Up Café". Leal shows it in the person's activity log under Settings → AI agents, so they can see what was done for them. Leave out customer details.

    • logo_url?: stringoptional

      Public https URL of the wide logo (PNG, JPEG, WebP, GIF or SVG), e.g. from get_brand_kit.

    • name: stringrequired

      Store name in Leal, usually the business or client name, e.g. "Bean There Coffee".

    • square_logo_url?: stringoptional

      Public https URL of a square logo or icon.

    • store_name?: stringoptional

      Public name customers see on cards and signup pages, if different from name.

  • get_brand_kitNo outputSchema

    Reads a business's public website and returns its name, a colour palette (with where each colour was found; colours read from the logo are the most reliable, and website-builder default colours are filtered out), logo and icon image URLs, a hero image, a guess at the type of business, and a suggested starting card design built from those. Works without a Leal account. Use the result to propose card designs with preview_card_designs.

    Input intent?: string, url: string
    • intent?: stringoptional

      Optional. One short sentence on what the person asked you to do, e.g. "Set up a stamp card for Ground Up Café". Leal shows it in the person's activity log under Settings → AI agents, so they can see what was done for them. Leave out customer details.

    • url: stringrequired

      The business's website, e.g. [REDACTED URI] or beanthere.coffee.

  • get_cardNo outputSchema

    Shows a saved loyalty card's design and rewards, with an Apple and Google Wallet preview.

    Input card_id: integer, intent?: string
    • card_id: integerrequired

      Card id from list_cards.

    • intent?: stringoptional

      Optional. One short sentence on what the person asked you to do, e.g. "Set up a stamp card for Ground Up Café". Leal shows it in the person's activity log under Settings → AI agents, so they can see what was done for them. Leave out customer details.

  • get_store_setupNo outputSchema

    Shows a store's setup checklist (store details, card, poster, first customer, staff app), plan limits and usage, and its cards with rewards, locations and posters.

    Input intent?: string, store_id?: integer
    • intent?: stringoptional

      Optional. One short sentence on what the person asked you to do, e.g. "Set up a stamp card for Ground Up Café". Leal shows it in the person's activity log under Settings → AI agents, so they can see what was done for them. Leave out customer details.

    • store_id?: integeroptional

      Store id from list_stores. Optional when the login has one store.

  • list_cardsNo outputSchema

    Lists a store's loyalty cards with their rewards.

    Input include_archived?: boolean, intent?: string, store_id?: integer
    • include_archived?: booleanoptional

      Include archived cards. Default false.

    • intent?: stringoptional

      Optional. One short sentence on what the person asked you to do, e.g. "Set up a stamp card for Ground Up Café". Leal shows it in the person's activity log under Settings → AI agents, so they can see what was done for them. Leave out customer details.

    • store_id?: integeroptional

      Store id from list_stores. Optional when the login has one store.

  • list_design_optionsNo outputSchema

    Lists what a Leal loyalty card can look like: stamp icons, preset strip photos, limits, and how the pass is laid out on Apple and Google Wallet. Works without a Leal account.

    Input intent?: string
    • intent?: stringoptional

      Optional. One short sentence on what the person asked you to do, e.g. "Set up a stamp card for Ground Up Café". Leal shows it in the person's activity log under Settings → AI agents, so they can see what was done for them. Leave out customer details.

  • list_storesNo outputSchema

    Lists the Leal stores this login can manage, with each store's id, plan and how far through setup it is, and the agencies it can add new stores to with create_store.

    Input intent?: string
    • intent?: stringoptional

      Optional. One short sentence on what the person asked you to do, e.g. "Set up a stamp card for Ground Up Café". Leal shows it in the person's activity log under Settings → AI agents, so they can see what was done for them. Leave out customer details.

  • preview_card_designsNo outputSchema

    Renders one to four loyalty card designs as Apple Wallet and Google Wallet passes so the person can compare them and pick one. Checks each design against Leal's rules and flags hard-to-read colour combinations. Returns a shareable preview link per design. Works without a Leal account; nothing is saved.

    Input designs: array, intent?: string, store_name?: string
    • designs: arrayrequired

      The designs to show side by side.

    • intent?: stringoptional

      Optional. One short sentence on what the person asked you to do, e.g. "Set up a stamp card for Ground Up Café". Leal shows it in the person's activity log under Settings → AI agents, so they can see what was done for them. Leave out customer details.

    • store_name?: stringoptional

      The business name, shown where the pass shows the store.

  • update_cardNo outputSchema

    Changes a saved card's design. Only the fields passed change; the rest stay as they are. Customers' passes in Apple Wallet and Google Wallet update automatically.

    Input auxiliary_fields?: array, card_color?: string, card_id: integer, google_hero_image_url?: string, google_logo_style?: string, header_text?: string, initial_stamps?: integer, intent?: string, logo_url?: string, name?: string, qr_style?: string, referee_stamps?: integer, referrals_enabled?: boolean, referrer_stamps?: integer, show_member_field?: boolean, show_stamps_to_reward_field?: boolean, square_logo_url?: string, stamp_background_color?: string, stamp_color?: string, stamp_icon?: string, stamps_required?: integer, strip_color?: string, strip_image_url?: string, strip_opacity?: integer, strip_preset?: string, strip_type?: string, text_color?: string
    • auxiliary_fields?: arrayoptional

      Up to two extra front-of-pass fields, e.g. {label: "Perk", value: "10% off pastries"}.

    • card_color?: stringoptional

      Pass background colour, hex (#RRGGBB). Fills the whole screen in Google Wallet, so avoid neon, fully saturated colours such as #00ff00.

    • card_id: integerrequired

      Card id from list_cards.

    • google_hero_image_url?: stringoptional

      Public https URL of a nearly square photo (1032×812, about 5:4) for Google Wallet's hero image, with no text in it. The stamps are drawn on top. Optional: without it the hero uses the strip background.

    • google_logo_style?: stringoptional

      How the logo sits on Google Wallet. round (default): square_logo_url in a circle with the store name. wide: logo_url in place of the circle and store name, best for wordmarks.

    • header_text?: stringoptional

      Text at the top of the pass. Defaults to the store name. Wallet apps truncate long headers, so keep it short.

    • initial_stamps?: integeroptional

      Stamps a new customer starts with (a head start). Must be less than stamps_required.

    • intent?: stringoptional

      Optional. One short sentence on what the person asked you to do, e.g. "Set up a stamp card for Ground Up Café". Leal shows it in the person's activity log under Settings → AI agents, so they can see what was done for them. Leave out customer details.

    • logo_url?: stringoptional

      Public https URL of the wide logo shown top-left of the Apple pass (PNG, JPEG, WebP, GIF or SVG; transparent PNG works best). Ideally a version that reads on card_color.

    • name?: stringoptional

      Internal name for the card, e.g. "Coffee card". Shown in Leal, not on the pass.

    • qr_style?: stringoptional

      What the pass QR holds. link (default for new cards): a phone camera opens the store's sign-up page with this customer as referrer, and the store scanner still reads it. code: the bare card code only. Passes showing the old QR keep scanning.

    • referee_stamps?: integeroptional

      Stamps the invited friend gets on their first stamped visit. Less than stamps_required. Default 1.

    • referrals_enabled?: booleanoptional

      Let customers invite friends from the back of their pass. Both get stamps once the store first stamps the friend's card on a visit, never just for signing up. Default false.

    • referrer_stamps?: integeroptional

      Stamps the inviting customer gets when their friend's first visit is stamped. Less than stamps_required. Default 1.

    • show_member_field?: booleanoptional

      Show the customer's name on the front of the pass. Default true.

    • show_stamps_to_reward_field?: booleanoptional

      Show how many stamps until the next reward. Default true.

    • square_logo_url?: stringoptional

      Public https URL of a square logo or icon, used as the round logo on Google Wallet.

    • stamp_background_color?: stringoptional

      Fill colour of a collected stamp circle, hex. Empty stamp slots use a translucent version of it, so it should stand out from the strip.

    • stamp_color?: stringoptional

      Colour of the icon inside a collected stamp, hex. Must read clearly on stamp_background_color.

    • stamp_icon?: stringoptional

      Icon shown in each collected stamp.

    • stamps_required?: integeroptional

      Stamps needed to fill the card. 6, 8 or 10 are common.

    • strip_color?: stringoptional

      Strip colour, hex. Also shows behind preset and image strips when strip_opacity is below 100.

    • strip_image_url?: stringoptional

      Public https URL of a wide photo for the strip (strip_type image), e.g. a hero image from the brand's website. Cropped to 375×144 on Apple Wallet; Google Wallet shows the middle of it in its nearly square hero unless google_hero_image_url is given.

    • strip_opacity?: integeroptional

      Opacity of the strip colour or image over the card colour. 100 shows it exactly; 60–85 tints a photo with the card colour so stamps stand out.

    • strip_preset?: stringoptional

      Preset strip photo, used when strip_type is preset.

    • strip_type?: stringoptional

      Background of the stamp strip: a flat colour, one of Leal's preset photos, or an image from strip_image_url.

    • text_color?: stringoptional

      Colour of all text on the Apple pass, hex. Must read clearly on card_color (4.5:1 contrast or better). Google Wallet ignores it and picks black or white itself.

  • update_rewardNo outputSchema

    Changes a reward's name, stamps needed or description, or turns it off. Only the fields passed change.

    Input active?: boolean, description?: string, intent?: string, name?: string, reward_id: integer, stamps_required?: integer
    • active?: booleanoptional

      false hides the reward from customers and staff.

    • description?: stringoptional
    • intent?: stringoptional

      Optional. One short sentence on what the person asked you to do, e.g. "Set up a stamp card for Ground Up Café". Leal shows it in the person's activity log under Settings → AI agents, so they can see what was done for them. Leave out customer details.

    • name?: stringoptional
    • reward_id: integerrequired

      Reward id from list_cards or get_store_setup.

    • stamps_required?: integeroptional
  • update_storeNo outputSchema

    Sets a store's public name and logos, which Leal uses on cards, posters and signup pages. Logos are fetched from public image URLs (PNG, JPEG, WebP, GIF or SVG). Replaces the current values.

    Input intent?: string, logo_url?: string, square_logo_url?: string, store_id?: integer, store_name?: string
    • intent?: stringoptional

      Optional. One short sentence on what the person asked you to do, e.g. "Set up a stamp card for Ground Up Café". Leal shows it in the person's activity log under Settings → AI agents, so they can see what was done for them. Leave out customer details.

    • logo_url?: stringoptional

      Public https URL of the wide logo.

    • square_logo_url?: stringoptional

      Public https URL of a square logo or icon.

    • store_id?: integeroptional

      Store id from list_stores. Optional when the login has one store.

    • store_name?: stringoptional

      The business name customers know, e.g. "Bean There Coffee".

Resources 1

Some details were sanitized for public display.

  • card_preview

    Loyalty card preview — Apple Wallet and Google Wallet previews of Leal loyalty card designs.

Prompts 2

  • design_card_from_website

    Proposes loyalty card designs that match a website's brand. No Leal account needed.

    Arguments website: any
    • website: anyrequired

      e.g. beanthere.coffee

  • setup_loyalty_program

    Walks through setting up a store on Leal from its website: card design, reward, poster and location.

    Arguments business?: any, website?: any
    • business?: anyoptional

      What the business is, if there's no website, e.g. "a small bakery in Galway"

    • website?: anyoptional

      The business's website, e.g. beanthere.coffee