MetorialDocs

Set up Split in Metorial for Claude, ChatGPT and Cursor

Share Split with your team in Claude, ChatGPT and Cursor through Metorial: admin API key sign-in, 16 tools (8 read-only).

To give your team Split in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Split integration in a Metorial portal, and each person connects with an admin API key. Agents can manage feature flags, segments, and experimentation for software releases. The integration has 16 tools, 8 read-only, 7 write and 1 destructive, plus 4 triggers.

What you'll learn

  • How an admin shares Split in a portal and how each person connects
  • What Split asks for when you connect, and where to find it
  • How to keep the 8 read-only tools and reject the other 8

Before you start

Sign-in method

MethodTypeWhat a person provides
Admin API KeyAPI tokenapiToken

Admin API Key

To connect, a person enters:

  • apiToken: Split Admin API key. Generate one from Split UI under Admin Settings > API Keys with the Admin role.

Setup settings

Setup also asks for:

  • workspaceId (optional): Default workspace (project) ID to use for API operations. If not set, must be provided per-tool.
  • environmentId (optional): Default environment ID or name to use for flag definitions and segment operations.

Admin: share Split in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose Split. For how members connect, choose Each person connects so everyone enters their own admin API key, or Shared connection to enter one admin API key for everyone.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Split.

Choose who gets it

Add the access groups that should see Split. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user Split integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search split

Employee: connect Split

In the portal

Open Split in the catalog

Sign in to your portal and open Split. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your admin API key (apiToken).

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search split
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your Split connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list split
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 8 read-only tools, such as list_segments and list_workspaces, and lose the 7 write tools, such as manage_users or manage_groups, and the destructive tool delete_feature_flag.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list split
metorial tools <integration-id>
metorial call <integration-id> list_segments -d '{}'

metorial tools lists the 16 tools, minus any you rejected. list_segments takes no input. It lists a page of segments in a Split workspace.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (8)

  • list_feature_flags: List feature flags in a Split workspace.
  • get_feature_flag: Retrieve a feature flag's metadata and optionally its full definition in a specific environment. Needs flagName.
  • list_workspaces: List all workspaces (projects) in the Split organization.
  • list_traffic_types: List all traffic types in a workspace.
  • list_segments: List a page of segments in a Split workspace.
  • list_environments: List all environments in a Split workspace.
  • list_rollout_statuses: Discover rollout status IDs, names, and descriptions for a workspace.
  • list_flag_definitions: List a page of feature flag definitions in an environment, including targeting rules, treatments, traffic allocation, and kill status.

Write tools (7)

  • create_feature_flag: Create a new feature flag in a Split workspace and optionally set up its initial definition in an environment. Needs trafficTypeName and flagName.
  • update_feature_flag: Update a feature flag's metadata (description, rollout status) or its environment-level definition (treatments, rules, default rule, traffic allocation, individual targeting keys). Needs flagName.
  • manage_users: Invite, list, get, update, or delete users in the Split organization. Needs action.
  • manage_groups: Create, list, update, or delete groups in the Split organization. Needs action.
  • manage_flag_set: Create, list, get, or delete flag sets. Needs action.
  • manage_segment: Create, delete, or manage keys in a user segment. Needs action and segmentName.
  • manage_environment: Create or delete an environment in a Split workspace. Needs action and environmentName.

Destructive tools (1)

  • delete_feature_flag: Permanently delete a feature flag from all environments. Needs flagName.

Triggers

Split has 4 triggers, which fire on events in Split:

  • admin_audit: Triggers on admin-level configuration changes such as project, environment, API key, traffic type, user, group, or security setting modifications.
  • flag_change: Triggers when a feature flag definition is modified in any environment.
  • metric_alert: Triggers when a metric alert fires or experiment results reach statistical significance.
  • impressions: Triggers when feature flag impressions (evaluations) are recorded.

Next steps