Skip to content
Scalekit Docs
Talk to an Engineer Dashboard

MEMBERSTACK MCP connector

OAuth 2.1/DCR Customer SupportAutomation

Connect to Memberstack MCP. Manage members, plans, form submissions, and permissions for your membership-based application.

MEMBERSTACK MCP connector

  1. Terminal window
    npm install @scalekit-sdk/node

    Full SDK reference: Node.js | Python

  2. Add your Scalekit credentials to your .env file. 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>
  3. 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.actions
    const connector = 'memberstackmcp'
    const identifier = 'user_123'
    // Generate an authorization link for the user
    const { 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 call
    const result = await actions.executeTool({
    connector,
    identifier,
    toolName: 'memberstackmcp_get_tool_schema',
    toolInput: { toolName: 'YOUR_TOOLNAME' },
    })
    console.log(result)

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

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 Type Required Description
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.

Name Type Required Description
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.

Name Type Required Description
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.

Name Type Required Description
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.

Name Type Required Description
environment string required Environment for member operations. Accepted values: LIVE (production), SANDBOX (test data).