MCP server

MCP tools reference

Every tool and prompt the Flows MCP server provides, grouped by what they work with.

Your agent picks the right tool based on your request, so you don't need to name tools yourself. This page lists them so you know what the agent can do and which tools you may want to allow or block in your client.

Tools marked Read only read data. Tools marked Write create, change or delete data, and most clients ask for your approval before running them. See Safety for how changes reach your users.

Organizations

ToolAccessDescription
flows_list_organizationsReadList your organizations with their environments, languages and workflow groups. Most other tools start here.
flows_save_workflow_groupWriteCreate or update a workflow group, which limits how many of its workflows a user sees at once.
flows_reorder_workflow_groupsWriteSet which workflow group goes first when a user qualifies for workflows from several groups.
flows_delete_workflow_groupWriteDelete a workflow group. Its workflows keep running without the group's limits.

Workflows

ToolAccessDescription
flows_list_workflowsReadList workflows, most recently changed first, with where they run and how many users started and completed them.
flows_get_workflowReadRead a whole workflow: its blocks, settings, connections, published versions and any issues to fix.
flows_create_workflowWriteCreate an empty workflow, optionally with a recipe for the kind of workflow you want to build.
flows_edit_workflowWriteAdd, update, remove and connect blocks in a workflow's draft, in a single call.
flows_duplicate_workflowWriteCopy a workflow's draft into a new unpublished workflow.
flows_delete_workflowWriteDelete a workflow with all its versions and stop it everywhere it runs. Cannot be undone.

Publishing

ToolAccessDescription
flows_publish_workflowWritePublish the draft as a new version and make it live in the environments you choose.
flows_set_workflow_environmentWritePause or resume a workflow in an environment, roll back to an earlier version or change how often users can repeat it.

Components

ToolAccessDescription
flows_list_componentsReadList every block and component you can add to a workflow, with their properties, exits and usage tips.
flows_get_componentReadRead a custom component with its draft and published definition.
flows_save_componentWriteCreate or update a custom component and publish it.
flows_delete_componentWriteDelete a custom component. Blocks that use it keep working with their current properties. Cannot be undone.

Users

ToolAccessDescription
flows_find_usersReadFind users of your app that the Flows SDK has identified.
flows_get_userReadRead a user's properties, language, workflow states and newest events. Useful when a workflow doesn't show up for someone.
flows_reset_user_progressWriteLet a user go through a workflow again from the start, for example to test it after publishing.

Analytics

ToolAccessDescription
flows_get_workflow_analyticsReadRead how many users started, completed and stopped a workflow per day, and where they drop off.
flows_get_survey_resultsReadRead the answers to a survey: answer distribution for every question and the newest free text answers.
flows_get_organization_analyticsReadRead workflow starts and completions across the organization and your monthly tracked users.
flows_get_setup_statusReadCheck whether the Flows SDK is installed and reaching each environment, and whether workflows are live.

Settings

ToolAccessDescription
flows_save_languageWriteAdd a language or change its name and which browser locales use it.
flows_delete_languageWriteDelete a language and every translation into it. Cannot be undone.
flows_save_environmentWriteAdd or rename an environment, or turn identity verification on or off.
flows_delete_environmentWriteDelete an environment with all its users, their progress and survey answers. Cannot be undone.
flows_create_environment_secretWriteCreate a secret your backend uses for identity verification. It's shown only once.
flows_delete_environment_secretWriteDelete an identity verification secret. Backends still signing with it fail verification.

Documentation

ToolAccessDescription
flows_read_docsReadRead the Flows documentation as markdown. The pages are also available as MCP resources under flows://docs/.

Prompts

Prompts are ready made instructions for common tasks. You start them from your client, and the agent then uses the tools above to finish the task. Every argument is optional unless noted.

PromptArgumentsDescription
install_flows_sdkframework, environmentInstall and configure the Flows SDK in the codebase you're working in.
build_onboardinggoal, audienceDesign and build an onboarding workflow with a welcome message, setup checklist and tours.
add_product_tourfeature (required), page, workflow_idCreate a step by step product tour that points at elements of a feature.
create_nps_surveyaudience, follow_upCreate an NPS survey with a follow up question and read its results once answers come in.
debug_workflowworkflow (required), user, problemFind out why a workflow doesn't show up, or doesn't behave as expected, for a user.
analyze_drop_offworkflow (required), environment, periodFind where users drop out of a workflow and propose changes to copy, steps, targeting or timing.
localize_workflowworkflow (required), language (required), toneTranslate every text of a workflow, including survey questions, into another language.
audit_workflowsorganizationReview all workflows of an organization for stale, broken, overlapping or unpublished ones.

On this page