Set up with a coding agent
Let Claude Code, Cursor or any MCP client add Snagr to your codebase and draft your flows.
Your coding agent can do the whole SDK setup: find your checkout and webhook code, add the events, verify identity on the server, and create recovery flows. New flows start inactive, so nothing is sent until you've reviewed it.
Get a secret key
Create a free account, open Developers & API keys in the sidebar and create a secret key. Store it in your server environment as SNAGR_SECRET_KEY. Never commit it or expose it to the browser.
Connect the MCP server
For Claude Code:
claude mcp add --transport http snagr https://www.snagr.sh/api/mcp \
--header "Authorization: Bearer $SNAGR_SECRET_KEY"Other MCP clients connect to the same URL with an Authorization: Bearer header. See MCP tools.
Give it the task
Paste this into your agent:
Set up Snagr in this repository using
https://www.snagr.sh/.well-known/agent-skills/install-snagr/SKILL.md
Find our start and finish events, verify identity on the server,
and create an inactive recovery flow. Send a test event using
an address I own. Show me the changes before enabling the flow.Review and switch on
Read the code changes and the email copy. When you're happy, turn the flow on in Flows.