KosmoKrator

authentication

Memberstack CLI for CI

Use the Memberstack CLI for CI with headless JSON commands, schema discovery, credentials, and permission controls.

7 functions 4 read 3 write Bearer token auth

Memberstack CLI for CI

Run integration calls from CI jobs with JSON output, explicit credentials, and predictable exit status.

Use this shape when a pipeline needs to read or update an external service. The Memberstack CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# Memberstack CLI for CI
kosmokrator integrations:configure memberstack --set access_token="$MEMBERSTACK_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call memberstack.memberstack_list_members '{"limit":1,"page":1}' --json

Discovery Before Execution

Agents and scripts can inspect Memberstack docs and schemas before choosing a function.

kosmo integrations:docs memberstack --json
kosmo integrations:docs memberstack.memberstack_list_members --json
kosmo integrations:schema memberstack.memberstack_list_members --json
kosmo integrations:search "Memberstack" --json
kosmo integrations:list --json

Useful Memberstack CLI Functions

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

Automation Notes

Related Memberstack CLI Pages