authentication
Memberstack MCP Integration for LangGraph
Connect Memberstack to LangGraph through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Memberstack to LangGraph
Run KosmoKrator integration calls from LangGraph nodes while preserving local credentials and permissions.
Use a graph node that calls the KosmoKrator CLI for deterministic steps or an MCP client for dynamic tool selection. The gateway is local, scoped to this integration, and starts with
--write=deny so LangGraph can inspect read-capable tools without receiving write access by default.
Memberstack MCP Config for LangGraph
Headless CLI calls fit repeatable graph edges; MCP fits exploratory agent nodes.
{
"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
Expose only Memberstack instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Memberstack Tools Visible to LangGraph
LangGraph sees stable MCP tool names generated from the Memberstack integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
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. |