ReferralRock for AI agents

ReferralRock runs referral marketing programs, tracking members, referrals, and payouts so businesses can turn customers into advocates. Connect it once through Arc0, and your agent, or Claude, ChatGPT and Cursor, can use it through one MCP endpoint, limited to what each user approved.

MarketingUsername and passwordMCP + RESTreferralrock.com
AUDIT LOG · REFERRALROCKPOLICY: acme-support
09:41:07 · claude · u_8f2read
referralrock.get_members
List Program Members✓ allowed · 212ms
09:41:08 · claude · u_8f2read
referralrock.get_rewards
Get Rewards✓ allowed · 164ms
09:41:09 · claude · u_8f2write
referralrock.post_hooks
Create Webhook Subscription✓ approved · approved by user
09:41:12 · claude · u_8f2destructive
referralrock.delete_hooks
Delete Webhook✕ blocked · policy: deny
EVERY REFERRALROCK CALL, ON THE RECORD
01 · USE CASES

What agents do in ReferralRock.

01

Look up a referral's status

Pull details on a single referral or program member before taking any action on their account.

02

Review pending payouts

List pending payouts and payout transactions so a manager can approve rewards before they go out.

03

Confirm before removing a member

Check a program member's stats first, then delete them from the program only after sign-off.

02 · ACTIONS

33 ReferralRock actions, graded by risk.

Every ReferralRock action is tagged read, write or destructive, so one policy covers the whole app and new actions inherit the right default.

read

13

Look things up. Allowed by default.

  • referralrock.get_members
    List Program Members
  • referralrock.get_rewards
    Get Rewards
  • referralrock.get_programs
    List Referral Programs
  • referralrock.get_referrals
    Get Referrals
  • referralrock.get_payouts_id
    Get Payout Details by ID
  • referralrock.get_rewardrules
    Get Reward Rules
  • referralrock.get_payouts_pending
    Get Pending Payouts
  • referralrock.get_referral_single
    Get Single Referral
  • referralrock.get_program_getsingle
    Get Single Program
  • referralrock.get_payouts_transactions
    Get Payout Transactions
  • referralrock.get_email_getunsubscribed
    Get Email Unsubscribed Status
  • referralrock.get_hooks_history_eventname
    Get Webhook History for Event
  • referralrock.get_member_stats_get_single
    Get Member Statistics

write

11

Create and change things. Allow, or ask the user first.

  • referralrock.post_hooks
    Create Webhook Subscription
  • referralrock.post_members
    Add new member to program
  • referralrock.post_referrals
    Create New Referral
  • referralrock.post_invitefeed
    Create Invite Feed Entry
  • referralrock.post_invitefeeds
    Create Invite Feed Entries
  • referralrock.post_rewards_issue
    Issue Reward to Member
  • referralrock.post_referralaction
    Create Referral Action
  • referralrock.post_referral_update
    Update Referral Details
  • referralrock.post_referrals_status
    Update Referral Status
  • referralrock.post_member_access_urls
    Generate Member Access URLs
  • referralrock.post_email_removeunsubscribe
    Remove Email from Unsubscribe List

destructive

9

Delete, cancel or archive. Ask first, or deny outright.

  • referralrock.delete_hooks
    Delete Webhook
  • referralrock.delete_members_remove
    Delete Members from Program
  • referralrock.delete_rewards_remove
    Delete Rewards
  • referralrock.delete_referral_remove
    Delete Referral
  • referralrock.delete_email_removeunsubscribe
    Remove Email from Unsubscribe List
  • referralrock.post_members_remove
    Remove Members from Program
  • referralrock.post_rewards_remove
    Remove Rewards
  • referralrock.post_referral_remove
    Remove Referral
  • referralrock.post_email_unsubscribe
    Unsubscribe Email Address
03 · HOW IT WORKS

ReferralRock in three steps.

  1. 01Your users connect ReferralRockThey add their ReferralRock username and password on Arc0 Connect, under your brand. It goes straight into the vault.
  2. 02You set the rulesReads run, writes like “create Webhook Subscription” can wait for the user, and “delete Webhook” can be denied outright.
  3. 03Any agent can actYour agent calls ReferralRock through the Arc0 SDK or MCP, and so can Claude, ChatGPT and Cursor. Every call lands on the audit log.
POLICY.TS
await arc0.policies.set('referralrock', {
  read: 'allow',
  write: 'ask',        // post_hooks
  destructive: 'deny',  // delete_hooks
})

# Claude Code: the same connection, one URL
$ claude mcp add --transport http arc0 \
    https://mcp.arc0.ai/u/u_8f2
04 · AUTH AND DATA

How ReferralRock connects.

Users add their ReferralRock username and password on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.

The same ReferralRock connection serves your agent over MCP and your own backend over REST and the proxy, so a user connects once. How Arc0 handles credentials →

AUTH
Username and password
CREDENTIALS
Per-tenant encrypted vault
MODEL SEES
Results only, never credentials
AUDIT LOG
Every call, on every plan
05 · WORKS WITH

Use ReferralRock from any agent.

Claude
ChatGPT
Cursor
Codex
VS Code
OpenAI Agents SDK
Claude Agent SDK
Vercel AI SDK
Mastra
LangGraph
07 · FAQ

ReferralRock and Arc0, answered.

Q01

Can I use ReferralRock with Claude, ChatGPT or Cursor?

Yes. Connect ReferralRock to Arc0 once, then add your Arc0 MCP URL to Claude, ChatGPT, Cursor, Claude Code or any other remote-MCP client. Each assistant only gets the ReferralRock actions you allow.

Q02

How do users connect ReferralRock?

Users add their ReferralRock username and password on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.

Q03

Which ReferralRock actions can my agent take?

33 in total: 13 read, 11 write and 9 destructive, such as “create Webhook Subscription”. Your policies decide which of them each agent may call.

Q04

Can I stop my agent from deleting things in ReferralRock?

Yes. Actions like “delete Webhook” are graded destructive. Set destructive actions to deny, or to ask so the user approves each one, and blocked calls still show up on the audit log.

Q05

Can my own backend call ReferralRock too?

Yes. The same ReferralRock connection is available over REST and through the Arc0 proxy, so your product and your agent share one connection per user.

Get started

Plug ReferralRock into your agent.

Your users connect ReferralRock once, under your brand. Your agent gets 33 actions behind your policies, with every call on the record.

Free to build · MCP + REST · Audit log on every plan