---
canonical_url: "https://docs.composio.dev/toolkits/devcycle_mcp"
markdown_url: "https://docs.composio.dev/toolkits/devcycle_mcp.md"
product: "platform"
version: null
last_updated: null
---

# DevCycle MCP

Manage DevCycle feature flags, variables, targeting, self-targeting overrides and evaluation metrics through DevCycle's hosted MCP server.

- **Category:** model context protocol
- **Auth:** DCR_OAUTH
- **Composio-managed OAuth available?** No
- **Tools:** 21
- **Triggers:** 0
- **Slug:** `DEVCYCLE_MCP`
- **Version:** 00000000_00

## Tools

### Cleanup feature

**Slug:** `DEVCYCLE_MCP_CLEANUP_FEATURE`

Fetch the DevCycle Feature Cleanup prompt and return its markdown content.
Use this to guide safe cleanup of a completed feature and its variables in codebases.
Includes steps to analyze production state, complete the feature, and remove variables.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `featureKey` | string | Yes |  |

### Clear feature self targeting overrides

**Slug:** `DEVCYCLE_MCP_CLEAR_FEATURE_SELF_TARGETING_OVERRIDES`

Clear self-targeting overrides for a specific feature/environment.
⚠️ IMPORTANT: Always confirm with the user before clearing overrides for production environments (environments where type = "production").
Include dashboard link in the response.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `projectKey` | string | No | Project to target. Defaults to the project set by select_project. |
| `feature_key` | string | Yes | Feature key to clear overrides for |
| `environment_key` | string | Yes | Environment key to clear overrides in |

### Create feature

**Slug:** `DEVCYCLE_MCP_CREATE_FEATURE`

Create a new DevCycle feature. Include dashboard link in the response.
Features are the main logical container for variables and targeting rules, defining what values variables will be served to users across environments.
Features can contain multiple variables, and many variations, defined by the targeting rules to determine how variable values are distributed to users.
Feature configurations determine the targeting rules applied for a user per environment. Configurations that are "active" (on) will serve the feature to configured users.
When turning on/off configurations for a feature, keep existing targeting rules.
If a user is creating a feature, you should follow these steps and ask users for input on these steps:
1. create a variable and associate it with this feature. (default to creating a "boolean" variable with the same key as the feature)
2. create variations for the feature. (default to creating an "on" and "off" variation)
3. set and enable initial targeting for at least the development environment. (default to all users with variation "on", unless otherwise specified). Make sure to name any rules created.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `key` | string | Yes | Unique feature key |
| `name` | string | Yes |  |
| `tags` | array | No | Tags to organize features |
| `type` | string ("release" | "experiment" | "permission" | "ops") | No |  |
| `settings` | object | No | Feature-level settings configuration |
| `variables` | array | No | Array of variables to create or reassociate with this feature |
| `projectKey` | string | No | Project to target. Defaults to the project set by select_project. |
| `variations` | array | No | Array of variations for this feature. Variable values must use native JSON types: true/false for booleans, numbers for numeric values, strings only for string values. e.g. { "boolVar": false, "numVar": 42, "stringVar": "value" } |
| `description` | string | No |  |
| `sdkVisibility` | object | No | SDK Type Visibility Settings for mobile, client, and server SDKs |
| `configurations` | object | No | Environment-specific configurations (key-value map of environment keys to config) |
| `controlVariation` | string | No | The key of the variation that is used as the control variation for Metrics |

### Create variable

**Slug:** `DEVCYCLE_MCP_CREATE_VARIABLE`

Create a new variable.
DevCycle variables can also be referred to as "feature flags" or "flags".
Include dashboard link in the response.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `key` | string | Yes | Unique variable key |
| `name` | string | No |  |
| `tags` | array | No | Tags to organize variables |
| `type` | string ("String" | "Boolean" | "Number" | "JSON") | Yes |  |
| `_feature` | string | No | Feature key or ID to associate with this variable, only set if variable is associated with a feature |
| `persistent` | boolean | No | indicating if the variable is intended to be long-lived within a feature |
| `projectKey` | string | No | Project to target. Defaults to the project set by select_project. |
| `description` | string | No |  |
| `defaultValue` | string | No | Default value for the variable, the data type of the defaultValue must match the variable.type |
| `validationSchema` | object | No | Validation schema for variable values |

### Delete feature

**Slug:** `DEVCYCLE_MCP_DELETE_FEATURE`

Delete an existing feature.
⚠️ CRITICAL: Deleting a feature will remove it from ALL environments including production.
ALWAYS confirm with the user before deleting any feature.
Include dashboard link in the response.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `key` | string | Yes | key to identify feature to delete |
| `projectKey` | string | No | Project to target. Defaults to the project set by select_project. |

### Delete variable

**Slug:** `DEVCYCLE_MCP_DELETE_VARIABLE`

Delete a variable. Variable must be removed from its associated _feature before it can be deleted.
⚠️ CRITICAL: Deleting a variable will remove it from ALL environments including production.
ALWAYS confirm with the user before deleting any variable.
Include dashboard link in the response.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `key` | string | Yes | key to identify variable to delete |
| `projectKey` | string | No | Project to target. Defaults to the project set by select_project. |

### Get current project

**Slug:** `DEVCYCLE_MCP_GET_CURRENT_PROJECT`

Get a project, defaulting to the currently selected one.
Only call this tool if you have already selected a project using the select_project tool, or you are passing a projectKey.
Include dashboard link in the response.
Returns the current project, its environments, and SDK keys.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `projectKey` | string | No | Project to target. Defaults to the project set by select_project. |

### Get feature audit log history

**Slug:** `DEVCYCLE_MCP_GET_FEATURE_AUDIT_LOG_HISTORY`

Get feature audit log history from DevCycle.
Returns audit log data for all changes made to a feature / variation / targeting rule ordered by date.
Include dashboard link in the response.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | number | No | Page number for pagination |
| `user` | string | No | User ID to filter audit entries by |
| `action` | string ("created" | "modified" | "deleted") | No | Action type to filter audit entries by |
| `sortBy` | string ("createdAt" | "updatedAt" | "action" | "user") | No |  |
| `endDate` | string | No | End date for filtering audit entries (ISO 8601 format) |
| `perPage` | number | No | Number of items per page |
| `sortOrder` | string ("asc" | "desc") | No |  |
| `startDate` | string | No | Start date for filtering audit entries (ISO 8601 format) |
| `projectKey` | string | No | Project to target. Defaults to the project set by select_project. |
| `environment` | string | No | Environment key to filter audit entries by |
| `feature_key` | string | Yes | Feature key to get audit log history for |

### Get feature total evaluations

**Slug:** `DEVCYCLE_MCP_GET_FEATURE_TOTAL_EVALUATIONS`

Get total variable evaluations per time period for a feature.
Useful for understanding if a feature is being used or not.
Include dashboard link in the response.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `period` | string ("day" | "hour" | "month") | No | Time period for aggregation |
| `endDate` | number | No | End date as Unix timestamp |
| `sdkType` | string ("client" | "server" | "mobile" | "api") | No | SDK type to filter by |
| `platform` | string | No | Platform to filter by |
| `variable` | string | No | Variable key to filter by |
| `startDate` | number | No | Start date as Unix timestamp |
| `featureKey` | string | Yes | Feature key to get evaluation data for |
| `projectKey` | string | No | Project to target. Defaults to the project set by select_project. |
| `environment` | string | No | Environment key to filter by |

### Get project total evaluations

**Slug:** `DEVCYCLE_MCP_GET_PROJECT_TOTAL_EVALUATIONS`

Get total variable evaluations per time period for the entire project.
Useful for understanding the overall usage of variables in a project by environment or SDK type.
Include dashboard link in the response.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `period` | string ("day" | "hour" | "month") | No | Time period for aggregation |
| `endDate` | number | No | End date as Unix timestamp |
| `sdkType` | string ("client" | "server" | "mobile" | "api") | No | SDK type to filter by |
| `startDate` | number | No | Start date as Unix timestamp |
| `projectKey` | string | No | Project to target. Defaults to the project set by select_project. |
| `environment` | string | No | Environment key to filter by |

### Get self targeting identity

**Slug:** `DEVCYCLE_MCP_GET_SELF_TARGETING_IDENTITY`

Get current DevCycle identity for self-targeting yourself into a feature.
Your applications user_id used to identify yourself with the DevCycle SDK needs to match for self-targeting to work.
Include dashboard link in the response.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `projectKey` | string | No | Project to target. Defaults to the project set by select_project. |

### Install devcycle sdk

**Slug:** `DEVCYCLE_MCP_INSTALL_DEVCYCLE_SDK`

Fetch DevCycle SDK installation instructions, and follow the instructions to install the DevCycle SDK.
Also includes documentation and examples for using DevCycle SDK in your application.
Choose the guide that matches the application's language/framework.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `guide` | string ("android" | "android-openfeature" | "angular" | "dotnet" | "dotnet-openfeature" | "flutter" | "go" | "go-openfeature" | "ios" | "ios-openfeature" | "java" | "java-openfeature" | "javascript" | "javascript-openfeature" | "nestjs" | "nestjs-openfeature" | "nextjs" | "nodejs" | "nodejs-openfeature" | "php" | "php-openfeature" | "python" | "python-openfeature" | "react" | "react-native" | "react-openfeature" | "roku" | "ruby" | "ruby-openfeature") | Yes |  |

### List features

**Slug:** `DEVCYCLE_MCP_LIST_FEATURES`

List features in the current project.
Include dashboard link in the response.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | number | No | Page number for pagination |
| `type` | string ("release" | "experiment" | "permission" | "ops") | No | Filter features by type |
| `search` | string | No | Search term to filter features by "name" or "key" |
| `sortBy` | string ("createdAt" | "updatedAt" | "name" | "key" | "createdBy" | "propertyKey") | No |  |
| `status` | string ("active" | "complete" | "archived") | No | Filter features by status |
| `perPage` | number | No | Number of items per page |
| `createdBy` | string | No | Filter features by creator user ID |
| `sortOrder` | string ("asc" | "desc") | No |  |
| `staleness` | string ("all" | "unused" | "released" | "unmodified" | "notStale") | No | Filter features by staleness status |
| `projectKey` | string | No | Project to target. Defaults to the project set by select_project. |

### List self targeting overrides

**Slug:** `DEVCYCLE_MCP_LIST_SELF_TARGETING_OVERRIDES`

List all self-targeting overrides for the current project.
Include dashboard link in the response.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `projectKey` | string | No | Project to target. Defaults to the project set by select_project. |

### List variables

**Slug:** `DEVCYCLE_MCP_LIST_VARIABLES`

List variables in the current project.
Include dashboard link in the response.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | number | No | Page number for pagination |
| `type` | string ("String" | "Boolean" | "Number" | "JSON") | No | Filter by variable type |
| `search` | string | No | Search query to filter variables by "name" or "key" |
| `sortBy` | string ("createdAt" | "updatedAt" | "name" | "key" | "createdBy" | "propertyKey") | No |  |
| `status` | string ("active" | "archived") | No | Filter by variable status |
| `feature` | string | No | Filter by feature key |
| `perPage` | number | No | Number of items per page |
| `sortOrder` | string ("asc" | "desc") | No |  |
| `projectKey` | string | No | Project to target. Defaults to the project set by select_project. |

### Select project

**Slug:** `DEVCYCLE_MCP_SELECT_PROJECT`

Select a project to use for subsequent MCP operations.
Call without parameters to list available projects.
Selection is remembered per session. If your MCP host starts a new session per request, pass a projectKey argument to each tool instead.
Do not automatically select a project, ask the user which project they want to select.
Returns the current project, its environments, and SDK keys.
Include dashboard link in the response.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `projectKey` | string | No | The project key to select. If not provided, will list all available projects to choose from. |

### Set self targeting override

**Slug:** `DEVCYCLE_MCP_SET_SELF_TARGETING_OVERRIDE`

Set a self-targeting override for a feature variation.
⚠️ IMPORTANT: Always confirm with the user before setting overrides for production environments (environments where type = "production").
Include dashboard link in the response.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `projectKey` | string | No | Project to target. Defaults to the project set by select_project. |
| `feature_key` | string | Yes | Feature key to set override for |
| `variation_key` | string | Yes | Variation key to serve for the override |
| `environment_key` | string | Yes | Environment key to set override in |

### Update feature

**Slug:** `DEVCYCLE_MCP_UPDATE_FEATURE`

Update an existing feature flag.
Consider this a PATCH request to the feature, to update feature configuration, variables, variations, and targeting rules. Be careful to not overwrite existing data with the PATCH request.
Features are the main logical container for variables and targeting rules, defining what values variables will be served to users across environments.
Features can contain multiple variables, and many variations, defined by the targeting rules to determine how variable values are distributed to users.
Feature configurations determine the targeting rules applied for a user per environment. Configurations that are "active" (on) will serve the feature to configured users.
When turning on/off configurations for a feature, keep existing targeting rules.
⚠️ IMPORTANT: Changes to feature flags may affect production environments if production environment configurations are "active".
Always confirm with the user before making changes to features that have production environment configurations that are "active".
Include dashboard link in the response.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `key` | string | Yes | key to identify feature to update |
| `name` | string | No |  |
| `tags` | array | No | Updated tags to organize features |
| `type` | string ("release" | "experiment" | "permission" | "ops") | No |  |
| `summary` | object | No |  |
| `settings` | object | No | Updated feature-level settings configuration |
| `variables` | array | No | Updated array of variables for this feature |
| `projectKey` | string | No | Project to target. Defaults to the project set by select_project. |
| `variations` | array | No | Updated array of variations for this feature. Variable values must use native JSON types: true/false for booleans, numbers for numeric values, strings only for string values. e.g. { "boolVar": false, "numVar": 42, "stringVar": "value" } |
| `description` | string | No |  |
| `sdkVisibility` | object | No | Updated SDK Type Visibility Settings for mobile, client, and server SDKs |
| `configurations` | object | No | Updated environment-specific targeting configurations (key-value map of environment keys to config) |
| `controlVariation` | string | No | Updated control variation key for Metrics |

### Update feature status

**Slug:** `DEVCYCLE_MCP_UPDATE_FEATURE_STATUS`

Update the status of an existing feature.
⚠️ IMPORTANT: Changes to feature status may affect production environments.
Always confirm with the user before making changes to features that are active in production.
Include dashboard link in the response.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `key` | string | Yes | key to identify feature to update |
| `status` | string ("active" | "complete" | "archived") | Yes |  |
| `projectKey` | string | No | Project to target. Defaults to the project set by select_project. |
| `staticVariation` | string | No | The variation key or ID to serve if the status is set to complete |

### Update self targeting identity

**Slug:** `DEVCYCLE_MCP_UPDATE_SELF_TARGETING_IDENTITY`

Update DevCycle identity for self-targeting yourself into a feature.
Your applications user_id used to identify yourself with the DevCycle SDK needs to match for self-targeting to work.
Include dashboard link in the response.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `projectKey` | string | No | Project to target. Defaults to the project set by select_project. |
| `dvc_user_id` | string | Yes | DevCycle User ID for self-targeting (empty string to clear) |

### Update variable

**Slug:** `DEVCYCLE_MCP_UPDATE_VARIABLE`

Update an existing variable.
⚠️ IMPORTANT: Variable changes can affect features in production environments.
Always confirm with the user before updating variables for features that are active in production.
Include dashboard link in the response.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `key` | string | Yes | key to identify variable |
| `name` | string | No |  |
| `tags` | array | No | Tags to organize variables |
| `type` | string ("String" | "Boolean" | "Number" | "JSON") | No |  |
| `persistent` | boolean | No | indicating if the variable is intended to be long-lived within a feature |
| `projectKey` | string | No | Project to target. Defaults to the project set by select_project. |
| `description` | string | No |  |
| `validationSchema` | object | No | Validation schema for variable values |
