{
  "info": {
    "name": "ConfigCat — mcp.ai",
    "description": "REST API for the ConfigCat MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/configcat",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "configcat_create_setting",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/setting",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "setting"
          ]
        },
        "description": "Create a feature flag or typed setting in a Config. The key must be unique within that Config.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"key\": \"\",\n  \"hint\": \"\",\n  \"name\": \"\",\n  \"order\": 0,\n  \"is_json\": false,\n  \"tag_ids\": \"\",\n  \"config_id\": \"\",\n  \"setting_type\": \"\",\n  \"initial_values\": \"\",\n  \"predefined_variations\": \"\",\n  \"setting_id_to_init_from\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "configcat_delete_setting",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/setting",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "setting"
          ]
        },
        "description": "Permanently delete one ConfigCat feature flag or setting by ID. This cannot be undone; verify the setting ID before calling.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"setting_id\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "configcat_get_product_context",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/product/context",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "product",
            "context"
          ]
        },
        "description": "Return a ConfigCat Product's configs, environments, segments, and tags, including the identifiers and evaluation versions needed to manage flags and targeting.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"product_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "configcat_get_setting_value_v2",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/setting/value/v2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "setting",
            "value",
            "v2"
          ]
        },
        "description": "Get one Config V2 flag or setting's complete evaluation formula in an Environment, including its optimistic-concurrency version.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"setting_id\": 0,\n  \"environment_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "configcat_list_account_hierarchy",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/account/hierarchy",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "account",
            "hierarchy"
          ]
        },
        "description": "List accessible ConfigCat organizations and products so an agent can resolve the IDs needed by product-scoped tools.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "configcat_list_environment_values_v2",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/environment/values/v2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "environment",
            "values",
            "v2"
          ]
        },
        "description": "Return every Config V2 feature flag and setting evaluation formula for one Config and Environment, preserving ordered targeting rules and concurrency versions while omitting parent objects and updater",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"config_id\": \"\",\n  \"environment_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "configcat_list_settings",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/settings",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "settings"
          ]
        },
        "description": "List feature flags and settings in one Config, including IDs, keys, types, tags, and metadata needed by value operations.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"config_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "configcat_patch_setting_value_v2",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/patch/setting/value/v2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "patch",
            "setting",
            "value",
            "v2"
          ]
        },
        "description": "Update selected typed fields of one Config V2 evaluation formula while preserving every field the caller omits.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"reason\": \"\",\n  \"setting_id\": 0,\n  \"default_value\": {},\n  \"environment_id\": \"\",\n  \"bypass_approval\": false,\n  \"targeting_rules\": \"\",\n  \"latest_version_id\": \"\",\n  \"percentage_evaluation_attribute\": \"\",\n  \"reset_percentage_evaluation_attribute\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "configcat_replace_setting_value_v2",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/replace/setting/value/v2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "replace",
            "setting",
            "value",
            "v2"
          ]
        },
        "description": "Completely replace one Config V2 flag or setting evaluation formula in an Environment. Supply the complete default value, ordered targeting rules, and percentage attribute; omitted state is intentiona",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"reason\": \"\",\n  \"setting_id\": 0,\n  \"default_value\": {},\n  \"environment_id\": \"\",\n  \"bypass_approval\": false,\n  \"targeting_rules\": \"\",\n  \"latest_version_id\": \"\",\n  \"percentage_evaluation_attribute\": \"\",\n  \"use_identifier_for_percentage_evaluation\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "configcat_update_setting_metadata",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/update/setting/metadata",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "update",
            "setting",
            "metadata"
          ]
        },
        "description": "Partially update a flag or setting's name, hint, or complete tag assignment without resetting untouched metadata.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"hint\": \"\",\n  \"name\": \"\",\n  \"tag_ids\": \"\",\n  \"clear_hint\": false,\n  \"setting_id\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}