Skip to main content
Use Memberstack through Corsair: one client, typed API calls. Use a Memberstack secret key from Dev Tools as the API key. Keys are sent in the X-API-KEY header to https://admin.memberstack.com. Test-mode keys start with sk_sb_ and only see test-mode members (up to 50); live keys start with sk_. Member listing uses the numeric endCursor as after. Data record queries support offset and cursor pagination; cursor paging requires internalOrder ascending on every request. A missing member is returned as data: null. Member JSON updates replace the entire JSON value. Plan operations only support free plans. The provider limits the Admin API to 25 requests per second; Corsair retries a 429 and honours Retry-After. Failed calls drop the request body and mask emails, passwords and member tokens from errors. Webhook verification is only available through Memberstack’s Node admin package and is not included. What you get:
  • 14 typed API operations

Setup

1

Install

2

Add the plugin

corsair.ts
With multiTenancy: true, scope calls with corsair.withTenant(id). See Quick start for KEK + Hub keys, and Multi-tenancy for account isolation.
3

Choose authentication

4

Connect a tenant

Mint a connect link and send the tenant to it. Hub hosts the page and delivers the result to your app — see Connect / OAuth.

Example API calls

List members
Add a free plan
See the full list on the API page.

What’s next

API reference

Every memberstack.api.* operation with input and output types.

Connect / OAuth

createLink, Hub delivery, and tenant connect flows.

Use with agents

Expose this plugin’s operations as MCP tools.