KosmoKrator

authentication

Memberstack MCP Integration for Codex

Connect Memberstack to Codex 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 Codex

Use KosmoKrator as a local MCP proxy for Codex so coding sessions can reach selected integrations with explicit write policy.

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

Memberstack MCP Config for Codex

Keep write access denied or ask-based unless the workspace is trusted.

{
  "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 Codex

Codex 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