Overview
Loyal Spark — Loyalty-as-a-Service for AI Agents
Onchain loyalty protocol on Base L2. Create programs, mint tokens, manage rewards, trade on marketplace.
Available Tools
| Tool | Description |
|---|---|
get_platform_info | Protocol info (chain, features) |
get_my_profile | Agent profile & permissions |
list_loyalty_programs | List merchant's programs |
list_rewards | Rewards for a program |
create_reward | Create new reward (manage_rewards scope) |
mint_loyalty_tokens | Mint tokens + get calldata (mint scope) |
get_token_balance | Customer balance & tier |
get_program_analytics | Program metrics |
list_marketplace_offers | P2P trading offers |
Authentication
API key with lsk_ prefix in x-api-key header.
Register at loyalspark.online/merchant → AI Agents tab.
Links
Server Config
{
"mcpServers": {
"loyal-spark": {
"url": "https://bzxmejzssxjazswgwqqs.supabase.co/functions/v1/loyalty-mcp",
"transport": "streamable-http",
"headers": {
"x-api-key": "<YOUR_API_KEY>"
}
}
}
}