Skip to content
Scalekit Docs
Talk to an Engineer Dashboard

Connect AI agents to ConfigCat

Scalekit connector
Open markdown

The ConfigCat connector lets your AI agent work with ConfigCat. Scalekit handles authentication for every call, so your agent never handles credentials. It comes with 59 tools.

Tools
59
What they doRead · write · destructive
35 · 17 · 735 read17 write7 destructive
Users sign in with

Setup

  1. Install the SDK

    Terminal window
    npm install @scalekit-sdk/node dotenv
  2. Set your credentials

    Add your Scalekit credentials to your .env file. Find values in app.scalekit.com > Developers > API Credentials.

    .env
    SCALEKIT_ENVIRONMENT_URL=<your-environment-url>
    SCALEKIT_CLIENT_ID=<your-client-id>
    SCALEKIT_CLIENT_SECRET=<your-client-secret>
  3. Create the ConfigCat connection

    In AgentKit > Connections, create a ConfigCat connection. The name you give it is the connection_name your code passes. See Configure connections.

Tools

Pass the exact name to execute_tool
Try in PlaygroundRequest a tool
  • configcat_config_getGet one config.Read-only

    Get Config

    Get one config. Returns configId, name, description, order, evaluationVersion and product. Use configcat_configs_list to find IDs.

    Inputs

    config_idstringrequired
    Config ID. Get it from configcat_configs_list. Example: 08d86d63-2726-47cd-8bfc-59608ecb91e2.
  • configcat_config_values_getGet the values and targeting rules of every flag in a config for one environment (Config V2 format).Read-only

    Get Config Values

    Get the values and targeting rules of every flag in a config for one environment (Config V2 format). Returns settingValues with each flag's defaultValue, targetingRules and setting info, plus the config and environment. Use this for an overview of an environment.

    Inputs

    config_idstringrequired
    Config ID. Get it from configcat_configs_list. Example: 08d86d63-2726-47cd-8bfc-59608ecb91e2.
    environment_idstringrequired
    Environment ID. Get it from configcat_environments_list. Example: 08d86d63-272c-4355-8027-4b52787bc1bd.
  • configcat_configs_listList the configs (flag collections) in a product.Read-only

    List Configs

    List the configs (flag collections) in a product. Returns each config's configId, name, description, order and evaluationVersion. Use this to find a config ID.

    Inputs

    product_idstringrequired
    Product ID. Get it from configcat_products_list. Example: 08d86d63-2721-4da6-8c06-584521d516bc.
  • configcat_deleted_flags_listList the feature flags and settings that were deleted from a config.Read-only

    List Deleted Flags

    List the feature flags and settings that were deleted from a config. Returns each deleted flag's settingId, key, name and settingType. Use this to audit removals.

    Inputs

    config_idstringrequired
    Config ID. Get it from configcat_configs_list. Example: 08d86d63-2726-47cd-8bfc-59608ecb91e2.
  • configcat_environment_getGet one environment.Read-only

    Get Environment

    Get one environment. Returns environmentId, name, color, description, order and product. Use configcat_environments_list to find IDs.

    Inputs

    environment_idstringrequired
    Environment ID. Get it from configcat_environments_list. Example: 08d86d63-272c-4355-8027-4b52787bc1bd.
  • configcat_environments_listList the environments (such as Development, Staging, Production) in a product.Read-only

    List Environments

    List the environments (such as Development, Staging, Production) in a product. Returns each environment's environmentId, name, color, description and order. Use this to find an environment ID.

    Inputs

    product_idstringrequired
    Product ID. Get it from configcat_products_list. Example: 08d86d63-2721-4da6-8c06-584521d516bc.
  • configcat_flag_code_references_getGet where a feature flag is referenced in your code, as reported by the ConfigCat code scanner.Read-only

    Get Flag Code References

    Get where a feature flag is referenced in your code, as reported by the ConfigCat code scanner. Returns repositories, branches, files and lines that use the flag. Use this before deleting a flag.

    Inputs

    setting_idintegerrequired
    Numeric ID of the feature flag or setting. Get it from configcat_flags_list. Example: 1234.
  • configcat_flag_getGet one feature flag or setting's metadata.Read-only

    Get Flag

    Get one feature flag or setting's metadata. Returns settingId, key, name, hint, settingType, order, tags and config. Use configcat_flag_value_get for its value in an environment.

    Inputs

    setting_idintegerrequired
    Numeric ID of the feature flag or setting. Get it from configcat_flags_list. Example: 1234.