KosmoKrator

authentication

Memberstack MCP Integration for Generic MCP Clients

Connect Memberstack to Generic MCP Clients through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 4 read 3 write Bearer token auth

Connect Memberstack to Generic MCP Clients

Connect any stdio-compatible MCP client to local KosmoKrator integration tools.

Register kosmo mcp:serve as the command for a local stdio MCP server. The gateway is local, scoped to this integration, and starts with --write=deny so MCP clients can inspect read-capable tools without receiving write access by default.

Memberstack MCP Config for Generic MCP Clients

Start with read-only write policy and expand only for trusted projects.

{
  "mcpServers": {
    "kosmokrator-memberstack": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=memberstack",
        "--write=deny"
      ]
    }
  }
}

Run the Gateway Manually

kosmokrator mcp:serve --integration=memberstack --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only Memberstack instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

Memberstack Tools Visible to MCP clients

MCP clients sees stable MCP tool names generated from the Memberstack integration catalog.

MCP toolSource functionTypeDescription
integration__memberstack__memberstack_list_members memberstack.memberstack_list_members Read List members from Memberstack with pagination. Returns member IDs, emails, plan assignments, and metadata.
integration__memberstack__memberstack_get_member memberstack.memberstack_get_member Read Get detailed information about a single Memberstack member by their ID, including email, plan, and custom metadata.
integration__memberstack__memberstack_create_member memberstack.memberstack_create_member Write Create a new member in Memberstack. Requires an email address. Optionally set a password, assign a plan, and attach custom metadata.
integration__memberstack__memberstack_update_member memberstack.memberstack_update_member Write Update an existing Memberstack member. Provide the member ID and any fields to change (email, plan assignment, or custom metadata).
integration__memberstack__memberstack_delete_member memberstack.memberstack_delete_member Write Permanently delete a member from Memberstack. This action is irreversible and removes all associated data.
integration__memberstack__memberstack_list_plans memberstack.memberstack_list_plans Read List all membership plans configured in Memberstack. Returns plan IDs, names, pricing, and billing details.
integration__memberstack__memberstack_get_current_user memberstack.memberstack_get_current_user Read Get the currently authenticated user from Memberstack. Useful for verifying API credentials and checking account details.

Related Memberstack Pages