AI tools
CashSDK is agent-friendly — connect your coding agent to operate your account and search the docs.
CashSDK is built to be driven by AI coding agents. Instead of clicking through the dashboard, you can ask an agent to model your catalog, generate a paywall, register a webhook, or tail live events — all through the same REST API the dashboard uses.
There are three surfaces that make this work.
Two MCP servers#
CashSDK exposes two Model Context Protocol servers. They do different jobs, and most teams connect both.
@cashsdk/mcp — a stdio server that operates your account: catalog,
paywalls, keys, webhooks, and more. This is the one you authenticate.
A hosted, read-only server at https://docs.cashsdk.com/mcp that lets an
agent search this documentation. No credentials required.
The API MCP takes actions in your workspace, so it needs a token. The docs MCP only reads documentation, so it's safe to add anywhere.
llms.txt#
Every docs page is also published as plain text for agents that don't speak MCP.
Point any model at llms.txt — an index — or
llms-full.txt for the entire corpus in one file.
Connect your client#
Add CashSDK to .cursor/mcp.json and enable it in Settings.
Add the server with claude mcp add, or commit an .mcp.json.
Configure ~/.codex/config.toml with the CashSDK MCP server.
The full tool list, environment variables, and config.
What you can ask an agent to do#
Once connected, natural-language requests map directly onto CashSDK tools:
- Set up a catalog — "Create a monthly Pro subscription with a
proentitlement." - Generate a paywall — "Build a paywall from the trial template and add it to onboarding."
- Register a webhook — "Register
https://api.myapp.com/hooks/cashsdkand send a test event." - Tail events — "Show me the last purchases and renewals for this app."
- Check setup — "What's left on my go-live checklist?"