Set up Memberstack in Metorial for Claude, ChatGPT and Cursor
Share Memberstack with your team in Claude, ChatGPT and Cursor through Metorial: API secret key sign-in, 12 tools (6 read-only).
To give your team Memberstack in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Memberstack integration in a Metorial portal, and each person connects with an API secret key. Agents can manage Memberstack members, authentication tokens, free membership plans, and data table records. The integration has 12 tools, 6 read-only, 4 write and 2 destructive, plus 2 triggers.
What you'll learn
- How an admin shares Memberstack in a portal and how each person connects
- What Memberstack asks for when you connect, and where to find it
- How to keep the 6 read-only tools and reject the other 6
Before you start
- A portal with at least one access group
- An API secret key from Memberstack for each person, or one for a shared connection
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in method
| Method | Type | What a person provides |
|---|---|---|
| API Secret Key | API token | token |
API Secret Key
To connect, a person enters:
token: Your Memberstack secret API key (starts with sk_sb_ for sandbox or sk_ for live)
Admin: share Memberstack in a portal
In the dashboard
Open Shared Resources
Open Workforce, choose the portal, and select Shared Resources under Access.
Share a new integration
Select Share a Resource, then New Integration, and choose Memberstack. For how members connect, choose Each person connects so everyone enters their own API secret key, or Shared connection to enter one API secret key for everyone.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Memberstack.
Choose who gets it
Add the access groups that should see Memberstack. When a person asks for access from the portal, the request appears under Access Requests.
With the CLI
The CLI cannot create the per-user Memberstack integration. Once it exists, check which groups have it:
Employee: connect Memberstack
In the portal
Open Memberstack in the catalog
Sign in to your portal and open Memberstack. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. In the setup window, enter your API secret key (token).
Confirm
The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.
With the CLI
catalog search prints the catalog item ID.
Add it to your AI client
metorial install adds your Memberstack connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.
For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.
Make it read-only
Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 6 read-only tools, such as get_member and list_members, and lose the 4 write tools, such as create_member or update_member, and the 2 destructive tools, such as delete_member or manage_data_record.
Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.
Check it worked
metorial tools lists the 12 tools, minus any you rejected. list_members takes no input. It lists members in your Memberstack app with cursor-based pagination.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (6)
verify_member_token: Verify a member's JWT authentication token server-side. NeedsmemberToken.get_member: Retrieve a single member's full details by their member ID or email address. NeedsmemberIdOrEmail.list_members: List members in your Memberstack app with cursor-based pagination.query_data_records: Query, retrieve, or count records from a table discovered with list_data_tables.list_data_tables: Discover data table IDs, keys, names, field definitions, and access rules.get_data_table: Inspect a data table by a key or ID discovered with list_data_tables.
Write tools (4)
manage_member_plan: Add or remove a free plan from a member. NeedsmemberId,planIdandaction.create_member: Create a new member in your Memberstack app. Needsemailandpassword.update_member: Update an existing member's email, verification status, profile image, custom fields, metadata, JSON data, or login redirect. NeedsmemberId.create_passwordless_member: Create a member without a password in an app with email/OTP authentication enabled.
Destructive tools (2)
delete_member: Permanently delete a member from your Memberstack app. NeedsmemberId.manage_data_record: Create, partially update, or permanently delete a data table record.
Triggers
Memberstack has 2 triggers, which fire on events in Memberstack:
plan_connection_events: Triggers when a member's plan connection is created, updated, or canceled.member_events: Triggers when a member is created, updated, or deleted.
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use Memberstack there
- Tool permissions: tool filters and what employees see
- Memberstack on metorial.com: the integration overview