Connect Userflow to Claude, ChatGPT, Cursor, Claude Code, Codex, Gemini, GitHub Copilot and any other MCP client, for your whole team. Metorial adds security, governance, and tracing, and gives everyone one Magic MCP URL to connect.
Ask your agent in plain language. Each of these maps to a real tool on the server.
Use the manage webhook subscription tool in Userflow
Use the delete user tool in Userflow
Use the list users tool in Userflow
Use the delete group tool in Userflow
Use the list groups tool in Userflow
Use the get user tool in Userflow
Supported Tools
manage_webhook_subscription
Manage Webhook Subscription
Creates, retrieves, lists, or deletes webhook subscriptions. Webhooks notify your application when events occur in Userflow (user created/updated, group changes, events tracked). Use topic **`*`** to subscribe to all events.
delete_user
Delete User
Permanently deletes a user and all associated data including attributes, memberships, events, and flow history. Groups the user was a member of are left intact. This action cannot be undone.
list_users
List Users
Lists users with pagination support. Returns a paginated list of users and their attributes. Supports sorting and expanding related objects.
delete_group
Delete Group
Permanently deletes a group (company) and all associated data including attributes, memberships, and events. Users who were members are left intact. This action cannot be undone.
list_groups
List Groups
Lists groups (companies) with pagination support. Returns a paginated list of groups and their attributes.
get_user
Get User
Retrieves a user by ID or finds a user by email. Returns the user's attributes, groups, and memberships. Supports expanding related objects.
remove_group_membership
Remove Group Membership
Removes a user from a group (company). Both the user and group remain intact — only the membership link is deleted.
list_event_definitions
List Event Definitions
Lists all event definitions configured in the account. Event definitions describe the types of events being tracked (e.g. "Flow Started", "Checklist Task Completed"). Useful for understanding which events are available for segmentation and targeting.
track_event
Track Event
Tracks a custom event for a user and/or group. Events can be used to segment users, personalize flows, and trigger automations. At least one of userId or groupId must be provided.
create_or_update_user
Create or Update User
Creates a new user or updates an existing one (upsert). If the user does not exist, it will be created; if it exists, given attributes are merged into the existing user's attributes. Supports attribute operations like **set_once**, **add** (increment numbers), **append** (add to arrays), and more. Can also associate the user with groups/companies in the same request.
get_group
Get Group
Retrieves a group (company) by its ID. Returns the group's attributes and optionally its memberships.
create_or_update_group
Create or Update Group
Creates a new group (company) or updates an existing one (upsert). Groups represent companies, accounts, or tenants. If the group does not exist, it will be created; if it exists, given attributes are merged. Supports the same attribute operations as users (**set**, **set_once**, **add**, **append**, etc.).
list_content
List Content
Lists all content objects (flows, checklists, and launchers) in the account. Can expand draft and published versions to include the actual content details.
get_content
Get Content
Retrieves a specific content item (flow, checklist, or launcher) by ID. Can also list content versions and content sessions for a given content item.
list_content_sessions
List Content Sessions
Lists onboarding sessions, completion state, progress, and survey answers. Filter by user or content and paginate through the results.
list_attribute_definitions
List Attribute Definitions
Lists attribute names, data types, and scopes to help build user or company filters and choose attributes for updates. Optionally filter by scope or event names.
Enable Userflow in Metorial. In your Metorial portal, enable the Userflow MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
Add a custom connector. Open Customize, then Connectors. Select Add, then Custom, then Web.
Paste your Metorial MCP URL. Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>) and continue.
Sign in. Select Add and sign in to load Userflow tools.
Enable Userflow in Metorial. In your Metorial portal, enable the Userflow MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
Add a custom MCP server. On ChatGPT web, open Plugins, select +, then Add custom MCP server.
Paste your Metorial MCP URL. Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>), choose OAuth and accept the risk notice.
Create and install the plugin. Select Create as a plugin, install it and sign in to load Userflow tools.
Enable Userflow in Metorial. In your Metorial portal, enable the Userflow MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
Add Metorial to your MCP config. Use ~/.cursor/mcp.json for every project, or .cursor/mcp.json for one.
Sign in. Open Customize in the sidebar, find Metorial and sign in to load Userflow tools.
{
"mcpServers":{
"metorial":{
"url":"<your-magic-mcp-url>"
}
}
}
Enable Userflow in Metorial. In your Metorial portal, enable the Userflow MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
Add the server over HTTP. Add --scope user to use it in every project.
Sign in. Run /mcp, select Metorial and sign in to load Userflow tools.
claude mcp add --transport http metorial <your-magic-mcp-url>
Enable Userflow in Metorial. In your Metorial portal, enable the Userflow MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
Add the server and sign in. The Codex CLI, IDE extension and ChatGPT desktop app share this config.
Check the connection. Type /mcp in Codex to see Metorial and its Userflow tools.
codex mcp add metorial --url <your-magic-mcp-url>
codex mcp login metorial
Run Userflow through the Metorial gateway
One governed layer for every app your agents reach, not a separate connector per tool.
Give Userflow and every other app to your whole team through one MCP gateway, behind your SSO.
Scope which teams and agents can use Userflow tools with role-based access control, and trace every call.
Prefer to run it yourself? Metorial is open source and self-hostable.
Manage users, companies, memberships, and events for in-app onboarding. Filter users and companies by attributes, retrieve onboarding content and session progress, discover attribute and event definitions, and manage webhook subscriptions.
Frequently asked questions
Common questions about connecting Userflow to AI agents with Metorial.
How many tools does the Userflow MCP server have?
The Userflow MCP server exposes 16 tools, including Manage Webhook Subscription, Delete User, List Users. Each one is governed and traced through Metorial.
Does the Userflow MCP server support triggers?
Userflow exposes tools your agents call on demand; it does not publish event triggers yet. Everything still runs through one governed MCP URL.
Which AI clients can use the Userflow MCP server?
Any MCP client, including VS Code, Windsurf, Zed, OpenCode and Grok. Each one reaches the Userflow MCP server through the same Metorial URL.
How do I give only some teams access to Userflow?
Use role-based access control to decide which teams, users, and agents can use Userflow and which of its tools they can call.
Can I self-host the Userflow MCP server?
Yes. Metorial is open source, so you can run the Userflow MCP server yourself or use the hosted gateway.
Connect Userflow to production AI agents
See how Metorial gives your team governed access to Userflow, with tracing and security controls built in.