MCP Setup
MCP Server Setup
The Anonymily MCP (Model Context Protocol) server exposes your captured webhook history and endpoint management to any MCP-compatible AI agent — Claude Code, Cursor, Windsurf, and others.
Available tools
list_endpointsList all webhook endpoints claimed by the authenticated usercreate_endpointCreate and claim a new webhook endpointlist_requestsList captured requests — supports method, search, and limit filtersget_requestGet full body, headers, and metadata for a single requestreplay_requestReplay a captured request — optionally override payload or re-signtrigger_eventFire a pre-built synthetic event for a provider (correctly signed)list_event_templatesList all available synthetic event templates by providerdiagnose_requestAI-powered explanation of why a webhook exchange failedProgenerate_handlerGenerate a complete Express / Next.js / NestJS handler from a captured payloadProtrigger_edge_caseDescribe an edge case → AI generates, signs, and fires a schema-valid eventProClaude Code
Add the Anonymily MCP server to your Claude Code config. Run this command once:
# Add to Claude Code MCP servers
claude mcp add anonymily \
--command npx \
--args "@anonymilyhq/mcp-server" \
--env ANONYMILY_TOKEN=pat_xxx
Replace pat_xxx with your PAT from Account settings.
Cursor / Windsurf / other MCP clients
Add to your MCP configuration file (usually .cursor/mcp.json or equivalent):
{
"mcpServers": {
"anonymily": {
"command": "npx",
"args": ["@anonymilyhq/mcp-server"],
"env": {
"ANONYMILY_TOKEN": "pat_xxx"
}
}
}
}
Example agent prompt
Once connected, you can ask your agent things like:
“Show me the last Stripe payment.succeeded webhook captured on my stripe-dev endpoint and generate a handler for it.”