MEMBERSTACK MCP connector
OAuth 2.1/DCR Customer SupportAutomationConnect to Memberstack MCP. Manage members, plans, form submissions, and permissions for your membership-based application.
MEMBERSTACK MCP connector
-
Install the SDK
Section titled “Install the SDK”Terminal window npm install @scalekit-sdk/nodeTerminal window pip install scalekit -
Set your credentials
Section titled “Set your credentials”Add your Scalekit credentials to your
.envfile. Find values in app.scalekit.com > Developers > API Credentials..env SCALEKIT_ENVIRONMENT_URL=<your-environment-url>SCALEKIT_CLIENT_ID=<your-client-id>SCALEKIT_CLIENT_SECRET=<your-client-secret> -
Authorize and make your first call
Section titled “Authorize and make your first call”quickstart.ts import { ScalekitClient } from '@scalekit-sdk/node'import 'dotenv/config'const scalekit = new ScalekitClient(process.env.SCALEKIT_ENV_URL,process.env.SCALEKIT_CLIENT_ID,process.env.SCALEKIT_CLIENT_SECRET,)const actions = scalekit.actionsconst connector = 'memberstackmcp'const identifier = 'user_123'// Generate an authorization link for the userconst { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })console.log('Authorize MEMBERSTACK MCP:', link)process.stdout.write('Press Enter after authorizing...')await new Promise(r => process.stdin.once('data', r))// Make your first callconst result = await actions.executeTool({connector,identifier,toolName: 'memberstackmcp_get_tool_schema',toolInput: { toolName: 'YOUR_TOOLNAME' },})console.log(result)quickstart.py import osfrom scalekit.client import ScalekitClientfrom dotenv import load_dotenvload_dotenv()scalekit_client = ScalekitClient(env_url=os.getenv("SCALEKIT_ENV_URL"),client_id=os.getenv("SCALEKIT_CLIENT_ID"),client_secret=os.getenv("SCALEKIT_CLIENT_SECRET"),)actions = scalekit_client.actionsconnection_name = "memberstackmcp"identifier = "user_123"# Generate an authorization link for the userlink_response = actions.get_authorization_link(connection_name=connection_name,identifier=identifier,)print("Authorize MEMBERSTACK MCP:", link_response.link)input("Press Enter after authorizing...")# Make your first callresult = actions.execute_tool(tool_input={"toolName":"YOUR_TOOLNAME"},tool_name="memberstackmcp_get_tool_schema",connection_name=connection_name,identifier=identifier,)print(result)
What you can do
Section titled “What you can do”Connect this agent connector to let your agent:
- Switchmemberstackenvironment records — Switch the environment (LIVE or SANDBOX) used for member operations
- Switchapp records — Set the active app context so all subsequent operations target the specified app
- Listapps records — List all Memberstack apps accessible to the dashboard user, including roles and creation dates
- Getmemberstackenvironment records — Get the current environment (LIVE or SANDBOX) used for member-related operations
- Get tool schema — Load the full input schema and usage instructions for a specific Memberstack tool by name
- Tools explore — Browse available Memberstack tools by category or search term
Tool list
Section titled “Tool list”Use the exact tool names from the Tool list below when you call execute_tool. If you’re not sure which name to use, list the tools available for the current user first.
memberstackmcp_createapp
#
Create a new Memberstack app (project) with isolated members, plans, data tables, and gated content. Only use when the user explicitly requests a new app. After creation the session context automatically switches to the new app. 4 params
Create a new Memberstack app (project) with isolated members, plans, data tables, and gated content. Only use when the user explicitly requests a new app. After creation the session context automatically switches to the new app.
name string required Name for the new app. Maximum 24 characters. stack string required Platform/stack for the app. Accepted values: WEBFLOW, VANILLA, WORDPRESS. templateId string optional Webflow template ID to scaffold the app from. Only applicable for WEBFLOW stack. wordpressPageBuilder string optional WordPress page builder plugin. Accepted values: GUTENBERG, ELEMENTOR, DIVI, BEAVER_BUILDER, BRICKS, CORNERSTONE, OTHER. memberstackmcp_currentapp
#
Get the currently active Memberstack app, including its environment mode (SANDBOX or LIVE), user role, and domain configuration. 0 params
Get the currently active Memberstack app, including its environment mode (SANDBOX or LIVE), user role, and domain configuration.
memberstackmcp_currentuser
#
Get the authenticated dashboard user's profile and the list of Memberstack apps they can manage. 0 params
Get the authenticated dashboard user's profile and the list of Memberstack apps they can manage.
memberstackmcp_explore_tools
#
Browse available Memberstack tools by category or search term. Returns tool names with brief descriptions. Use get_tool_schema to load the full schema for a specific tool before calling it. 2 params
Browse available Memberstack tools by category or search term. Returns tool names with brief descriptions. Use get_tool_schema to load the full schema for a specific tool before calling it.
category string optional Filter tools by category. Accepted values: core, members, plans, dataTables, gatedContent, teams, customFields, stripe. Omit to see all. search string optional Search term to filter tools by name or description. memberstackmcp_get_tool_schema
#
Load the full input schema and usage instructions for a specific Memberstack tool by name. 1 param
Load the full input schema and usage instructions for a specific Memberstack tool by name.
toolName string required Exact tool name returned by explore_tools, e.g. getMember. memberstackmcp_getmemberstackenvironment
#
Get the current environment (LIVE or SANDBOX) used for member-related operations. 0 params
Get the current environment (LIVE or SANDBOX) used for member-related operations.
memberstackmcp_listapps
#
List all Memberstack apps accessible to the dashboard user, including roles and creation dates. 0 params
List all Memberstack apps accessible to the dashboard user, including roles and creation dates.
memberstackmcp_switchapp
#
Set the active app context so all subsequent operations target the specified app. 1 param
Set the active app context so all subsequent operations target the specified app.
appId string required Unique identifier of the app to switch to. Retrieve app IDs using listApps. memberstackmcp_switchmemberstackenvironment
#
Switch the environment (LIVE or SANDBOX) used for member operations. Only affects member-related tools. 1 param
Switch the environment (LIVE or SANDBOX) used for member operations. Only affects member-related tools.
environment string required Environment for member operations. Accepted values: LIVE (production), SANDBOX (test data).