> This page is for Workforce.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.merge.dev/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.merge.dev/_mcp/server.

# ConfigCat

**Authentication:** public API credentials. See [Magic Link](/merge-agent-handler/features/magic-link) for the runtime auth flow.

## Sample use cases

* List stale feature flags in the Production environment that haven't changed in 90 days.
* Turn on `new_checkout_flow` in Staging and show me its current value in every environment.
* Pull this week's audit log for the Web App product and summarize who changed which flags.

## Available Tools

#### get_me

Get the ConfigCat user the Public API credential belongs to, with their email and name. Use this to confirm which acc...

#### list_organizations

List the ConfigCat organizations this credential can see. Start here: an organization ID is required to create a prod...

#### get_organization_limitations

Get an organization's feature flag limits: how many targeting rules, percentage options and predefined variations a f...

#### get_organization_usage

Get an organization's plan usage and quota counters, such as config JSON downloads against the plan allowance. Use li...

#### list_organization_members

List an organization's members, grouped into admins, billing managers and plain members. Use this to find the user ID...

#### list_product_members

List everyone with access to a product, with the permission group that grants it. Use list_products to find product IDs.

#### list_audit_logs

List a product's audit log entries, newest first, filtered by config, environment, change type or time window. Use it...

#### list_organization_audit_logs

List an organization's audit log entries across every product, newest first, filtered by product, config, environment...

#### get_sdk_keys

Get the primary and secondary SDK keys that serve one config in one environment. These are the keys an application pa...

#### list_configs

List the configs in a product. A config is the folder that holds feature flags, so its ID is what list_flags and crea...

#### get_config

Get one config by ID, including its evaluationVersion and owning product. Use list_configs to find config IDs.

#### create_config

Create a config in a product. Defaults to the v2 targeting engine; ConfigCat's own API default is the legacy v1, whic...

#### update_config

Update a config's name, description or display order. Fields you leave null keep their current values. A config's eva...

#### delete_config

Permanently delete a config and every feature flag inside it, in every environment. This cannot be undone. Use list_c...

#### list_environments

List the environments in a product. A flag holds one value per environment, so an environment ID is what the flag val...

#### get_environment

Get one environment by ID, including whether changes there need a reason or an approval. Use list_environments to fin...

#### create_environment

Create an environment in a product, adding one more value slot to every flag in it. Use list_products to find product...

#### update_environment

Update an environment's name, description, colour or display order. Fields you leave null keep their current values. ...

#### delete_environment

Permanently delete an environment and every flag value held in it. This cannot be undone. Use list_environments to fi...

#### list_flags

List the feature flags in a config, with each flag's numeric settingId, key, value type and tags. Use this to find th...

#### get_flag

Get one feature flag's definition by its numeric ID: key, name, hint, value type and tags. This returns the flag itse...

#### create_flag

Create a feature flag in a config. The key and the value type are fixed at creation. Use list_configs for config IDs ...

#### update_flag

Update a feature flag's name, hint or display order. Fields you leave null are not touched. The key and value type ca...

#### delete_flag

Permanently delete a feature flag and its values in every environment. SDKs asking for the key afterwards fall back t...

#### list_flags_by_tag

List every feature flag carrying one tag, across all of the product's configs. Use list_tags to find tag IDs.

#### list_stale_flags

Report a product's stale (zombie) flags: the ones whose value has not changed for long enough to look abandoned. Use ...

#### get_flag_value

Get one feature flag's value and targeting rules in one environment. Use list_flags for the flag ID and list_environm...

#### list_flag_values

Get every feature flag's value in one config and environment, in a single call. Use this instead of calling get_flag\_...

#### update_flag_value

Set a feature flag's default value in one environment. Supply exactly one of bool_value, string_value, int_value or d...

#### get_flag_value_by_sdk_key

Get one flag's value using the connected SDK key, which already identifies a config and environment, so no IDs are ne...

#### update_flag_value_by_sdk_key

Set a flag's default value using the connected SDK key, which already identifies the config and environment. Supply e...

#### get_published_config

Download the published config JSON that ConfigCat's SDKs evaluate, for the config and environment the connected SDK k...

#### list_products

List every ConfigCat product this credential can see, across all organizations. Start here to get the product ID that...

#### get_product

Get one product by ID, with its organization and change-approval flags. Use list_products to find product IDs.

#### create_product

Create a product inside an organization. Use list_organizations to find the organization ID first. Returns the new pr...

#### update_product

Update a product's name, description or display order. Fields you leave null keep their current values. Use list_prod...

#### delete_product

Permanently delete a product and everything in it: its configs, feature flags, environments, segments and webhooks. T...

#### get_product_preferences

Get a product's change-management preferences: whether a reason or an approval is required for flag value changes, gl...

#### list_segments

List the segments defined in a product. A segment is a reusable user group that targeting rules reference by ID. Use ...

#### get_segment

Get one segment by ID, with the attribute, comparator and value that define it. Use list_segments to find segment IDs.

#### create_segment

Create a segment in a product from one condition: an attribute, a comparator and a value. Use list_products to find p...

#### update_segment

Update a segment's name, description or condition. Fields you leave null keep their current values, and flags targeti...

#### delete_segment

Permanently delete a segment. Targeting rules that reference it stop applying. This cannot be undone. Use list_segmen...

#### list_tags

List the tags defined in a product. Tags group feature flags across configs; their IDs are what create_flag and list\_...

#### get_tag

Get one tag by ID, with its name, colour and owning product. Use list_tags to find tag IDs.

#### create_tag

Create a tag in a product so feature flags can be grouped by it. Use list_products to find product IDs. Returns the n...

#### update_tag

Update a tag's name or colour. Fields you leave null keep their current values. Use list_tags to find tag IDs.

#### delete_tag

Delete a tag and remove it from every feature flag carrying it. The flags themselves are not deleted. Use list_tags t...

#### list_webhooks

List a product's webhooks, with the config and environment each one watches. Use list_products to find product IDs.

#### get_webhook

Get one webhook by ID, with its URL, method, body template and headers. Use list_webhooks to find webhook IDs.

#### create_webhook

Create a webhook that fires when a flag value changes in one config and environment. Use list_configs and list_enviro...

#### delete_webhook

Permanently delete a webhook, so flag value changes stop being posted to its URL. Use list_webhooks to find webhook IDs.