MCP.so
Sign In

Loyal Spark Loyalty Protocol

@aspekt19

About Loyal Spark Loyalty Protocol

Onchain Loyalty-as-a-Service on Base L2. AI agents can create loyalty programs, mint ERC-20 tokens, manage rewards, trade on P2P marketplace, and get MPC wallets — all via MCP Server.

Basic information

Category

Other

Transports

stdio

Publisher

aspekt19

Submitted by

Yuri (MoonDancer)

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "loyal-spark": {
      "url": "https://bzxmejzssxjazswgwqqs.supabase.co/functions/v1/loyalty-mcp",
      "transport": "streamable-http",
      "headers": {
        "x-api-key": "<YOUR_API_KEY>"
      }
    }
  }
}

Tools

14

Get info about Loyal Spark protocol on Base L2

Get authenticated agent's profile

List loyalty programs owned by the agent's merchant

Get factory calldata to deploy a new ERC-20 loyalty token on Base (requires mint scope)

Register a deployed token as a loyalty program in the database

Get activation calldata (unpauseUtility + enableMinting) for an inactive program

Update program status in database after on-chain activation/pause

List rewards for a loyalty program by token_address

Create a new reward redeemable with loyalty tokens (requires manage_rewards scope)

Record mint intent and get smart contract call params (requires mint scope)

Get calldata to transfer loyalty tokens between wallets (requires mint scope)

Get loyalty token balance and tier info for a customer

Get analytics for your loyalty programs

List active token trading offers on the marketplace

Overview

What is Loyal Spark Loyalty Protocol?

An onchain loyalty protocol on Base L2 that enables AI agents to create programs, mint tokens, manage rewards, and trade on a marketplace.

How to use Loyal Spark Loyalty Protocol?

Register at loyalspark.online/merchant in the AI Agents tab, obtain an API key with the lsk_ prefix, and include it in the x-api-key header. Then invoke the available tools such as get_platform_info, list_loyalty_programs, create_reward, mint_loyalty_tokens, and list_marketplace_offers.

Key features of Loyal Spark Loyalty Protocol

  • Onchain loyalty protocol deployed on Base L2
  • Create and manage loyalty programs
  • Mint loyalty tokens with onchain calldata
  • Create and list rewards per program
  • Query customer token balances and tier levels
  • Retrieve program analytics and metrics
  • List and browse P2P marketplace offers

Use cases of Loyal Spark Loyalty Protocol

  • AI agent running a merchant's onchain loyalty program
  • Automated minting of loyalty tokens for customers
  • Managing and creating rewards within a program
  • Checking customer balances and tiers programmatically
  • Participating in peer-to-peer trading of loyalty tokens

FAQ from Loyal Spark Loyalty Protocol

What blockchain does Loyal Spark Loyalty Protocol run on?

It operates on Base L2 as an onchain protocol.

How do I authenticate my AI agent?

Include your API key (prefixed with lsk_) in the x-api-key header of each request.

Where can I register and get an API key?

Register at loyalspark.online/merchant and navigate to the AI Agents tab.

What tools are available for agents?

Available tools include get_platform_info, get_my_profile, list_loyalty_programs, list_rewards, create_reward, mint_loyalty_tokens, get_token_balance, get_program_analytics, and list_marketplace_offers.

Where are the full API docs?

API documentation is hosted at loyalspark.online/api-docs.

Comments

More Other MCP servers