How to integrate Userflow MCP with Codex

Connect Codex to Userflow MCP. Start a product tour for new users, add checklist item for onboarding task, and more using natural language, with authentication handled for you.

Userflow logoUserflow
Api Key

Userflow is user onboarding software for building product tours and checklists. It helps teams guide users and drive product adoption without coding.

18 Tools

Introduction

Codex is one of the most popular coding harnesses out there. And MCP makes the experience even better. With the Userflow MCP integration, Codex can create and update users and groups, track events, list content and sessions, and manage group membership, all without leaving the terminal or the app, whichever you prefer.

For exact tool slugs and parameter tables, see the tool catalog in the Composio docs.

Also integrate Userflow with

Why use Composio?

Apart from a managed and hosted MCP server, you will get:

  • CodeAct: A dedicated workbench that allows GPT to write its code to handle complex tool chaining. Reduces to-and-fro with LLMs for frequent tool calling.
  • Large tool responses: Handle them to minimise context rot.
  • Dynamic just-in-time access to 20,000 tools across 1700+ other Apps for cross-app workflows. It loads the tools you need, so GPTs aren't overwhelmed by tools you don't need.

How to install Userflow MCP in Codex

Run the setup command

Run this command in your terminal to add the Composio MCP server to Codex.

Terminal

It will initiate the authentication in a browser window, authorize Codex to access your Composio account.

Composio authentication page

(Optional) Authenticate with OAuth

To authenticate manually, run the login command to open a browser window and authorize Codex to access your Composio account.

bash
codex mcp login composio

Verify the connection

Run codex mcp list to confirm Composio appears as a registered MCP server.

bash
codex mcp list

Codex App

Codex App follows the same approach as VS Code.

  1. Click ⚙️ on the bottom left → MCP Servers → + Add servers → Streamable HTTP:
  2. Fill the header and Key fields with { "x-consumer-api-key" = "ck_*******" }.
  3. The Key is the Composio API key, that you can find on dashboard.composio.dev
  4. Click on Authenticate and authorize Codex to your Composio account and you're all set.
Codex App MCP setup
  1. Restart and verify if it's there in .codex/config.toml
bash
[mcp_servers.composio]
url = "https://connect.composio.dev/mcp"
http_headers = { "x-consumer-api-key" = "ck_*******" }

Try it

Ask Codex for a Userflow task. The first time, Composio asks you to connect your Userflow account.

For example, ask it to:

  • "Start a product tour for new users"
  • "Add checklist item for onboarding task"
  • "Update user segment to 'Power Users'"

What is the Userflow MCP server, and what's possible with it?

The Userflow MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Userflow account. It provides structured and secure access to your users, groups, onboarding content, and tracked events, so your agent can manage user profiles, organize companies, review onboarding experiences, and record product activity on your behalf.

  • User profile management: Have your agent create new users, update existing profiles, or retrieve details about a specific user.
  • Company and group management: Let the agent create or update companies, review a specific group, and list the groups in your account.
  • Onboarding content discovery: Direct your agent to list available flows, checklists, and launchers, or retrieve details about a specific onboarding experience.
  • Product activity tracking: Instruct your agent to record custom events for users or groups to support analytics and personalized onboarding.
  • Account-wide user review: Have your agent list users in your Userflow account so you can review your audience and plan follow-up actions.

Conclusion

You've successfully integrated Userflow with Codex using Composio's MCP server. Now you can interact with Userflow directly from your terminal, VS Code, or the Codex App using natural language commands.

Key benefits of this setup:

  • Seamless integration across CLI, VS Code, and standalone app
  • Natural language commands for Userflow operations
  • Managed authentication through Composio
  • Access to 20,000+ tools across 1700+ apps for cross-app workflows
  • CodeAct workbench for complex tool chaining

Next steps:

  • Try asking Codex to perform various Userflow operations
  • Explore cross-app workflows by connecting more toolkits
  • Build automation scripts that leverage Codex's AI capabilities
TOOLS

Supported Tools

Every Userflow action and event your agent gets out of the box.

Create or Update a Group

Tool to create a new group or update an existing group (also referred to as companies in the Userflow UI).

Create or Update a User

Create or update a Userflow user by ID, merging supplied attributes for an existing user.

Delete a Content Session

Tool to permanently delete a content session including its associated progress and survey answers.

Delete a Group

Tool to permanently delete a group including all their attributes, memberships and events.

Delete a User

Tool to permanently delete a user including all their attributes, memberships, events and flow history.

Get a Content Object

Tool to retrieve details of a specific content object (flow, checklist, or launcher) by ID.

Get a Content Version

Retrieve a specific content version by ID, including its version metadata.

Get a Group

Tool to retrieve details of a specific group (company) by group_id.

Get a User

Tool to retrieve details of a specific user by user_id.

List Attribute Definitions

List Userflow attribute definitions for users, groups, group memberships, and events.

List Content

Tool to retrieve all content (flows, checklists, and launchers) in your Userflow account.

List Content Sessions

List content sessions tracking user journeys through flows, checklists, or launchers, including their progress.

List Content Versions

List versions of a specified content object to inspect its version history.

List Event Definitions

Tool to retrieve all event definitions tracked in Userflow.

List Groups

Tool to retrieve all groups (companies) in your Userflow account with pagination and filtering support.

List Users

Retrieve a paginated list of users with optional attribute filtering and requests to expand related objects such as memberships and groups.

Remove a User from a Group

Tool to remove a user from a group (group membership).

Track an Event

Tool to record a custom event for a user or group for analytics and personalization.

FAQ

Frequently asked questions

Start with Userflow.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Userflow tool your agent needs.Free to start.

Start building