The ConfigCat's Model Context Protocol (MCP) server provides access to ConfigCat's public management API for feature flag and configuration management. It also enables your code editor to understand your feature flags, integrate the appropriate ConfigCat SDK into your project or even create new feature flags directly in your codebase.
- Tools:
- Complete set of tools for ConfigCat's public management API operations. You can Create, Read, Update and Delete any entities like Feature Flags, Configs, Environments or Products within ConfigCat.
- Get comprehensive SDK documentation and code examples for seamless feature flag implementation in your project.
You can use the following environment variables to configure the MCP server.
Environment variable | Required | Default | Description |
---|---|---|---|
CONFIGCAT_API_USER | ☑ | ConfigCat Management API basic authentication username. | |
CONFIGCAT_API_PASS | ☑ | ConfigCat Management API basic authentication password. | |
CONFIGCAT_BASE_URL | https://api.configcat.com | ConfigCat Management API host. |
The instructions below shows how to connect a client to the MCP server.
- Open
Preferences
->Cursor Settings
->MCP & Integrations
- Click
Add Custom MCP
- Add the following server definition for the ConfigCat MCP server:
{
"mcpServers": {
"ConfigCat": {
"command": "npx",
"args": ["-y", "@configcat/mcp-server"],
"env": {
"CONFIGCAT_API_USER": "YOUR_API_USER",
"CONFIGCAT_API_PASS": "YOUR_API_PASSWORD"
}
}
}
}
- Save the settings.
- Create a
.vscode/mcp.json
file in your project root with the following content:
{
"servers": {
"ConfigCat": {
"command": "npx",
"args": ["-y", "@configcat/mcp-server"],
"env": {
"CONFIGCAT_API_USER": "YOUR_API_USER",
"CONFIGCAT_API_PASS": "YOUR_API_PASSWORD"
}
}
}
}
- Save the settings file. The MCP server should now be available in VS Code.
- Open Settings → Developer
- Click Edit Config
- Open
claude_desktop_config.json
- Add the following server definition for the ConfigCat MCP server:
{
"mcpServers": {
"ConfigCat": {
"command": "npx",
"args": ["-y", "@configcat/mcp-server"],
"env": {
"CONFIGCAT_API_USER": "YOUR_API_USER",
"CONFIGCAT_API_PASS": "YOUR_API_PASSWORD"
}
}
}
}
- Save and restart Claude.
list-organizations
- List all organizations
list-organization-members
- List organization memberslist-pending-invitations
- List pending invitationslist-pending-invitations-org
- List org pending invitationslist-product-members
- List product membersinvite-member
- Invite a new memberupdate-member-permissions
- Update the permissions of a memberdelete-organization-member
- Remove organization memberdelete-product-member
- Remove product memberdelete-invitation
- Cancel invitation
list-permission-groups
- List permission groupscreate-permission-group
- Create a new permission groupget-permission-group
- Get permission group detailsupdate-permission-group
- Update permission groupdelete-permission-group
- Delete permission group
list-products
- List all productsget-product
- Get specific product detailsupdate-product
- Update existing productdelete-product
- Delete a productget-product-preferences
- Get product preferencesupdate-product-preferences
- Update product preferencescreate-product
- Create a new product
list-configs
- List configs for a productcreate-config
- Create a new configget-config
- Get specific config detailsupdate-config
- Update existing configdelete-config
- Delete a config
list-environments
- List environments for a productcreate-environment
- Create a new environmentget-environment
- Get specific environment detailsupdate-environment
- Update existing environmentdelete-environment
- Delete an environment
list-segments
- List user segmentscreate-segment
- Create a new segmentget-segment
- Get specific segment detailsupdate-segment
- Update existing segmentdelete-segment
- Delete a segment
get-sdk-keys
- Get SDK keys for config/environment
list-webhooks
- List webhooksget-webhook
- Get webhook detailsreplace-webhook
- Replace webhook configurationupdate-webhook
- Update existing webhookdelete-webhook
- Delete a webhookget-webhook-signing-keys
- List webhook signing keyscreate-webhook
- Create a new webhook
list-integrations
- List integrationscreate-integration
- Create a new integrationget-integration
- Get integration detailsupdate-integration
- Update existing integrationdelete-integration
- Delete an integration
get-code-references
- Get code references
list-auditlogs
- Get product audit logslist-organization-auditlogs
- Get organization audit logs
list-staleflags
- Get stale feature flags report
list-settings
- List feature flags for a configcreate-setting
- Create a new feature flagget-setting
- Get specific feature flag detailsreplace-setting
- Replace feature flag configurationupdate-setting
- Update existing feature flagdelete-setting
- Delete a feature flag
list-tags
- List tags for a productcreate-tag
- Create a new taglist-settings-by-tag
- Get feature flags by tagget-tag
- Get specific tag detailsupdate-tag
- Update existing tagdelete-tag
- Delete a tag
get-setting-value
- Get feature flag valueupdate-setting-value
- Update feature flag valuereplace-setting-value
- Replace feature flag valueget-setting-values
- Get multiple setting valuespost-setting-values
- Update multiple setting values- V2 variants:
*-v2
versions of above tools for Config V2
update-sdk-documentation
- Get comprehensive SDK documentation and code examples for seamless feature flag implementation in your project.
The ConfigCat public API has rate limits. The server will respect these limits and return appropriate error messages if limits are exceeded.
This server is designed for management operations only. Do not use it for evaluating feature flag values in production applications - use the ConfigCat SDKs or ConfigCat Proxy instead.