MCP server
Control your Picked workspace from an AI tool that writes code, with the Model Context Protocol (MCP).
Tools
Each tool has its own section. Link to a tool with its name as the anchor, for example
/reference/tools/mcp#create_feature.
Discovery
list_projects
Lists your organizations and projects. Call it first: each other tool needs a project ID or a workspace ID.
get_my_permissions
Lists the permissions that you hold in each organization. A tool call fails with the
permission that it needs when you do not hold it. Call this tool before a change, or to
find out why a call failed. Give organization_id to see one organization. Give
project_id with it to see your permissions at that project.
list_workspaces
Lists the workspaces in a project.
get_workspace_overview
Reads the live version of the project, and the draft of a workspace with its experiences, features, steps and fields.
get_project_context
Reads the brief that the project owner wrote about the project, its goals and its entry points.
update_project_context
Replaces the project brief. Read the brief first with get_project_context, change it,
and send the whole document back. An empty value clears the brief. You must have
permission to edit project settings.
get_project_analytics_context
Reads the analytics brief that the project owner wrote: the metric definitions, the key events, the segments and the report rules. Read it before you query or explain analytics.
update_project_analytics_context
Replaces the analytics brief. Read the brief first with get_project_analytics_context,
change it, and send the whole document back. An empty value clears the brief. You must
have permission to edit project settings.
get_project_settings
Gives the name, the time zone, and the stored settings of a project. Also gives the country where
the project keeps its analytics data, the Default Reports of the project, and the link to the
project settings page. For each Default Reports area (Leads and Sessions), it gives the mode
(AUTOMATIC, ON, or OFF) and if the area applies to the project. You change the settings in
the dashboard.
guide_create_organisation
Gives the link to create an organization in the dashboard. The MCP server cannot create an organization.
guide_create_project
Gives the link to create a project in the dashboard. The MCP server cannot create a project.
open_dashboard
Opens the dashboard on a project, an organization, or your landing page. Claude shows this tool as a start point for Picked, so you can open the dashboard in Claude without a prompt.
Workspaces
create_workspace
Creates an empty draft workspace in a project.
update_workspace
Changes the name of a workspace.
duplicate_workspace
Copies a workspace into a new draft workspace in the same project. Use the copy to make a large change without a risk to the workspace that you edit.
archive_workspace
Removes a workspace from the default list of workspaces. The contents do not change. You cannot archive the live workspace.
unarchive_workspace
Puts an archived workspace back in the list as a draft.
export_workspace
Gives a workspace as a bundle that you can import. The bundle can be large.
import_workspace
Creates a draft workspace from a bundle, in the same project or in a different project.
If the content uses assets, upload the assets to the project first and give asset_map.
If the tool refuses the bundle, it creates nothing and gives all the errors.
You cannot delete or publish a workspace with these tools. Do these in the dashboard.
Documentation
get_schema_info
Reads the rules for one topic, for example an entity type or the format of a flow graph. The
topics are experience, step, field, condition, action, feature, flow_graph,
json_logic, field_types, content_model, analytics_query, analytics_sql, and all.
Before the first change to each type, call it with the topic for that type. For example,
use flow_graph before update_experience_flow. Before you write an analytics query, use
analytics_query or analytics_sql.
list_picked_docs
Lists every Picked documentation page with its URL.
read_picked_doc
Reads one documentation page, or one section of it.
Experiences
list_experiences
Lists the experiences in a workspace.
get_experience
Reads an experience, with its flow graph.
create_experience
Creates an experience.
update_experience_flow
Creates, updates, or deletes steps, conditions, actions, fields, nodes, and edges as one operation.
delete_experience
Deletes an experience from the workspace draft. Live visitors see the change after you publish the workspace.
Steps, fields, conditions, and actions
list_steps
Lists the steps in a workspace.
get_step
Reads a step, with its fields.
update_step
Renames a step, or binds it to the content entry that it renders.
delete_step
Deletes a step from the workspace draft. You cannot delete a step that a flow uses. Live visitors see the change after you publish the workspace.
list_fields
Lists the fields in a workspace. A step ID filters the list.
get_field
Reads a field, with its options and the steps that use it.
create_field
Creates a field in a workspace. To show the field to visitors, add it to a step with
update_experience_flow.
delete_field
Deletes a field from the workspace draft. You cannot delete a field that a step uses. Live visitors see the change after you publish the workspace.
list_conditions
Lists the conditions in a workspace.
get_condition
Reads a condition, with its JSON Logic rule.
list_actions
Lists the actions in a workspace.
get_action
Reads an action.
create_action
Creates an action in a workspace, with the fields that it gets. The action runs when a
flow gets to it: add it to a flow with update_experience_flow.
Feature flags
list_features
Lists your feature flags, with the variants of each one.
get_feature
Reads a feature flag.
create_feature
Creates a feature flag.
update_feature
Updates the name, description, state, or weight of a feature flag.
delete_feature
Deletes a feature flag from the workspace draft. Live visitors see the change after you publish the workspace.
Content
list_content_models
Lists the content models in a workspace.
get_content_model
Reads a content model, with its field schema.
create_content_model
Creates a content model.
update_content_model
Renames a content model, or changes its schema. A schema change migrates the entries of the model.
delete_content_model
Deletes a content model from the workspace draft. You cannot delete a content model while a content entry uses it. Live visitors see the change after you publish the workspace.
list_content_blocks
Lists the content blocks in a workspace.
get_content_block
Reads a content block, with its field schema.
create_content_block
Creates a content block.
update_content_block
Renames a content block, or changes its schema. The entries do not change.
delete_content_block
Deletes a content block from the workspace draft. Live visitors see the change after you publish the workspace.
list_content_entries
Lists the content entries in a workspace. Give the ID of a content model to show only its entries.
get_content_entry
Reads a content entry, with its data.
create_content_entry
Creates a content entry of a content model.
update_content_entry
Changes the data of a content entry.
delete_content_entry
Deletes a content entry from the workspace draft. You cannot delete an entry that a step or a different entry uses. Live visitors see the change after you publish the workspace.
validate_workspace_content_entries
Checks each content entry of a workspace against its schema, and names each entry that is not valid. It changes nothing.
Assets
list_assets
Lists the assets of a project.
get_asset
Reads an asset, with its file name, type, size and version.
init_asset_upload
Gives a URL to upload the file of an asset to.
commit_asset_upload
Records the asset after you upload its file.
delete_asset
Deletes an asset from the project, with its files. You cannot delete an asset that a published version uses. The deletion occurs immediately.
Design systems
list_design_systems
Lists the design systems of a project.
get_design_system
Reads a design system, with the asset that holds its guidance.
create_design_system
Creates a design system from a Markdown asset.
update_design_system
Renames a design system, or replaces its Markdown asset.
delete_design_system
Deletes a design system from the project. The deletion occurs immediately.
Preview environments
A preview environment is a site with the Picked SDK installed, for example your production site or your test site. A preview opens on it.
list_preview_environments
Lists the preview environments of a project, with the URL of each site. Give a URL to
get_preview_url to see your unpublished work on that site.
create_preview_environment
Adds a preview environment to a project.
update_preview_environment
Changes the name or the URL of a preview environment. You cannot delete a preview environment with the MCP server. Delete it in the dashboard.
Integrations
list_external_apis
Lists the external APIs of a project. A workflow http node can call only a URL on one
of these APIs. The list shows the name, the origin, and the type of the credential of each API.
It does not show a credential value. You register an API in the dashboard.
Workflows
A workflow runs a graph of nodes when its trigger occurs. The trigger is a domain event or one action.
list_workflows
Lists the workflows in a workspace, with search and sort.
get_workflow
Reads a workflow, with its trigger, graph, warnings, and the paths that its nodes use.
list_workflow_tools
Lists the tools that a tool node can run, with the arguments of each tool.
create_workflow
Creates a workflow with its trigger. You cannot change the trigger after this step.
update_workflow
Renames a workflow, and sets its visit cap.
update_workflow_graph
Creates, updates, or deletes nodes and edges as one operation.
delete_workflow
Deletes a workflow from the workspace draft. The published workflow continues to run until you publish the workspace.
list_workflow_runs
Lists the runs of a workflow, with the newest run first.
get_workflow_run
Reads the status of a run and the reason for a failure.
list_workflow_run_tasks
Lists the nodes that a run started, and the leads and labels that each node changed.
test_run_workflow
Runs the draft of a workflow one time as a test, and shows what each node did.
If update_workflow_graph refuses a change, it saves nothing. The result names each
node or edge that has a problem. If the origin node does not connect to a node, the
change is saved, and the result gives a warning for that node.
A workflow run uses the published version of the workflow. Publish the workspace to apply a change.
test_run_workflow runs the draft, so you can test a change before you publish it. Give
the responses of the action, or the entity_id of the event. The result shows the
input, the output, the status, and the branch of each node.
If the JSON of an input or an output has more than 16,384 characters, the result shows
only the start of it. To read the full value, call test_run_workflow in picked_run.
A tool that reads, such as search_leads or an http GET, runs. A tool that writes
does not run: the result shows what it would send. A wait node does not wait. The test
run saves nothing. You must have each scope that the workflow uses.
Leads
list_lead_fields
Lists the fields that you can use to search the leads of a project. These are the response keys and the labels of the newest leads. For each field, it gives the number of leads that have it. It gives only the names of the fields, not the values.
search_leads
Gives the number of leads that match a search, and a link to the leads list in the
dashboard. It does not give the leads. Use list_lead_fields first to get the fields
that you can search by.
Analytics
The analytics tools read and save Picked Analytics data as your own analytics user. Each
tool takes a project_id. The project sets the organization. You see the data that
your analytics user can see, which is not only the data of that project. Filter your
queries by project_id. You must have the reports read permission on the organization.
list_analytics_reports
Lists the analytics reports of a project. The list starts with the Default Reports that
apply to the project. When Leads applies, these are Leads: Acquisition, Leads: Journeys,
and Leads: Conversion. When Sessions applies, these are Sessions: Acquisition,
Sessions: Journeys, and Sessions: Conversion. Then the list has the other reports of the
project. To see which Default
Reports apply, use get_project_settings.
Each report has its ID and the parameters that limit its data. The Default Reports set
project_id to the ID of the project. The other reports have only the parameters that a
user set for them with lockedParameters in reportCreate or reportUpdate. A report can
have no parameters.
To read a question, give its ID to run_analytics_question as question_id. A dashboard
runs one card at a time. Give its ID as dashboard_id, and get the dashcard_id and the
question_id of each card from get_analytics_content. In parameters, set a value for
each of these parameters.
This tool also accepts the leads read permission. With only that permission, the list has the Leads and Sessions reports, but not the other reports of the project.
search_analytics
Finds tables, models, metrics, saved questions, dashboards, and collections. Give search terms, a description in plain words, or both.
browse_analytics_data
Lists the databases, their schemas, tables, and models, and the fields of tables. A query uses the names of tables and fields exactly as this tool gives them.
browse_analytics_collections
Lists the contents of a collection, or the tree of all the collections that you can
see. It also gives sharedCollectionId, the shared collection of the organization of
the project. List this collection to see the items of the organization, or give it as
the collection_id of an update to move an item into it.
get_analytics_content
Reads saved questions, models, metrics, dashboards, collections, and tables by their
IDs. Set include_definition to also get the query and parameters of a question, or
the parameters and cards of a dashboard.
query_analytics
Runs a structured query and gives the rows: 200 rows on each page, and a maximum of 2,000
rows. When there are more rows, the result has a continuation_token. Send only this
token to get the next page. Read get_schema_info with the topic analytics_query for
the query format.
run_analytics_sql
Runs SQL on a database and gives the rows. Use it only when query_analytics cannot
do the query. Write the SQL for ClickHouse. Before you write SQL, read
get_schema_info with the topic analytics_sql. Your analytics user must have permission
to write SQL on that database.
run_analytics_question
Runs a saved question and gives the rows. To run a card of a dashboard with the
filters of the dashboard, give dashboard_id and dashcard_id. You can set the value
of each parameter, but not the field that the parameter filters.
get_analytics_parameter_values
Gives the values that a parameter of a question or dashboard accepts.
create_analytics_question
Saves a structured query, or SQL with its database_id, as a question. The question
goes in the shared collection of the organization, so that the organization can see
it. To use a different collection, give a collection_id. To keep the question in your
personal collection, set personal to true. When the analytics pages are available
to you, the result has a dashboardUrl that opens the question in the dashboard.
update_analytics_question
Changes the fields of a saved question that you give. Set archived to true to
archive it, or to false to restore it.
create_analytics_metric
Saves a metric: a structured query with one aggregation. The query can have a maximum
of one date column that divides the result. The metric goes in the same collection as a
question from create_analytics_question, and the result has the same dashboardUrl.
update_analytics_metric
Changes the fields of a saved metric that you give, or archives it.
create_analytics_dashboard
Makes a dashboard from saved questions, with headings and text. The dashboard goes in
the same collection as a question from create_analytics_question, and the result has
the same dashboardUrl.
update_analytics_dashboard
Changes the name, description, collection, or cards of a dashboard, or archives it.
Publish
get_preview_url
Makes a preview URL for your unpublished work.
guide_publish_workspace
Gives the link to publish the workspace in the dashboard. The MCP server cannot publish.
guide_workspace_version_publish
Gives the link to restore a published version in the dashboard.
list_workspace_versions
Lists the published versions of a project, and shows the live one.
compare_workspace_versions
Shows the differences between the live version, a version, and a draft.
The list_* and get_* tools read the workspace draft. The draft can be
different from the live version that visitors see. Use
compare_workspace_versions to see what is live and what changes when you publish.
Code
These tools let an agent call many tools in one step.
picked_run
Runs JavaScript in which each tool above is a function on the tools object. Only the value that the code returns comes back. See MCP run tool for the arguments, examples and limits.
picked_search_api
Finds the tools that match the words you give, for use in picked_run.
picked_describe_api
Gives the arguments and the result of each tool that you name, for use in picked_run.
Reports
submit_feedback
Sends a report about a problem in the MCP server to the Picked team.
Example prompts
- "List my Picked projects and show me the options on each one"
- "Create a feature flag called 'new-checkout' at 50% traffic"
- "Create an experience with a step that collects an email address"
- "Make a preview URL for my workspace on
https://example.com" - "Create a workflow that adds the label
plan.proto each lead from the sign-up action" - "Show me why the last run of my workflow failed"
- "Test my sign-up workflow with the email
a@example.comand show me what each node does"
Tips
- Ask your agent for a list of your projects first. Then ask it to read your workspace and report the options on each record.
- For a large experience, ask your agent about flow graphs and JSON Logic. The agent can read the documentation for you.
- An update to an experience flow is atomic. Your agent can create steps, fields, nodes, and edges in one operation.
- See a preview of your work on your site before you publish, to check that each page is correct.
- The
create_workflowprompt tells your agent how to build a workflow. The resourcepicked://workflow/{workflowId}/graphgives the graph of a workflow as JSON.
