# DevCycle MCP for AI Agents AI Agent Connect

> DevCycle MCP lets your AI agent manage feature flags, monitor project environments, and track variables. You can update statuses, fetch SDK keys, and audit targeting rules for your production and staging environments without leaving your chat interface.

## Overview
- **Category:** developer-tools
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_9KlGvMftHeRh3QNALNq6MDQdyAFoq82pVDX2uot9/ai-agent-connect
- **Tags:** feature-flags, experimentation, deployment-management, targeting-rules, environment-monitoring, software-testing

## Description

DevCycle brings your feature flags and experimentation platform directly into your AI workflow. Instead of jumping between tabs to check if a rollout is live or hunting for SDK keys in a dashboard, you can just ask your agent to do the heavy lifting. It makes managing your production environments much less of a headache. You can pull up specific configurations, search for flags by keyword, or update a status from active to archived with a simple command. It puts the power of your deployment controls into a conversational interface, making it easier to audit rules or check variables during a live incident. When you connect this through Vinkius, you're giving your agent a direct line to your feature flags. It's about getting the right information at the right time without the overhead of navigating a complex UI. You get to stay focused on the code while the agent handles the status checks.

## Tools

### get_feature_flag_details
Get the full configuration and targeting rules for a specific feature flag. This helps you see exactly who is seeing which version of a feature.

### list_active_flags
Identify which feature flags are currently turned on. Use this to get a quick overview of your live production state.

### list_project_environments
List all environments like Production and Staging for a project. This keeps your deployment targets organized.

### list_feature_flags
List all feature flags within a specific project. This gives you a complete inventory of your rollout options.

### get_environment_sdk_keys
List SDK keys for all environments in a project. Use this to quickly grab keys for mobile or server setups.

### list_devcycle_projects
List all projects in your account. This is a fast way to see the scope of your managed features.

### list_feature_variables
List all variables defined in a project. This ensures you have the right values for your configurations.

### search_feature_flags
Search for feature flags in a project by keyword. This is the fastest way to find a specific flag in a large project.

### update_feature_flag_status
Update the status of a feature flag to active or archived. Use this to toggle features on or off instantly.

### get_project_details
Get detailed information for a specific project. Use this to verify project-level settings and metadata.

## Prompt Examples

**Prompt:** 
```
Which flags are currently active in the 'Mobile-App' project?
```

**Response:** 
```
I've checked the 'Mobile-App' project for you. Here are the active flags:

| Flag Name | Status | Environment |
| :--- | :--- | :--- |
| **New-Dashboard-UI** | Active | Production |
| **Biometric-Login** | Active | Staging |
| **Legacy-Search** | Archived | Production |

Would you like to see the targeting rules for the New-Dashboard-UI flag?
```

**Prompt:** 
```
I need the production SDK keys for our project.
```

**Response:** 
```
I've retrieved the production keys for your project:

*   **Mobile SDK Key:** `mob_prod_9x82k...`
*   **Client SDK Key:** `client_prod_22z...`
*   **Server SDK Key:** `server_prod_11q...`

Let me know if you'd like me to copy any of these to your clipboard.
```

**Prompt:** 
```
Is the 'New-Checkout' flag active and what are its rules?
```

**Response:** 
```
The **New-Checkout** flag is currently **Active**. Here are the targeting rules:

*   **Variation A (Control):** 90% of users (False)
*   **Variation B (Treatment):** 10% of users (True)

It is currently targeting users in the **Production** environment only.
```

## Capabilities

### Update flag statuses
Change a feature flag from active to archived instantly with a single command.

### Fetch environment SDK keys
Retrieve the correct keys for mobile, client, or server environments for your project.

### Audit targeting rules
Get the full configuration and targeting rules for any specific feature flag.

### Search project flags
Find specific flags across your project using keywords instead of scrolling.

### Monitor project environments
View all staging and production environments in one place to keep your rollout on track.

## Use Cases

### Incident Response
An SRE notices a bug and asks the agent to use update_feature_flag_status to kill a new feature immediately.

### Onboarding
A new dev asks the agent for the production keys, and it uses get_environment_sdk_keys to provide them.

### Planning
A PM asks for a list of all flags in a project to see what's currently in the pipeline using list_feature_flags.

### Audit
A security lead asks the agent to show the targeting rules for a specific flag using get_feature_flag_details.

## Benefits

- Faster rollouts: Update flag statuses using update_feature_flag_status to toggle features instantly without manual UI clicks.
- Accurate keys: Retrieve the correct SDK keys for different environments using get_environment_sdk_keys to prevent configuration errors.
- Easy auditing: Use get_feature_flag_details to quickly see targeting rules and variations during high-pressure deployments.
- Better visibility: Keep track of all active features across your stack by using list_active_flags in a single command.
- Quick searching: Find specific flags in large projects instantly with search_feature_flags instead of scrolling through lists.

## How It Works

The bottom line is you get direct, conversational control over your feature flags and environments.

1. Connect DevCycle to your AI client via the Vinkius interface.
2. Provide your Management API Client ID and Secret.
3. Ask your agent to list flags, check keys, or update statuses.

## Frequently Asked Questions

**Can I use DevCycle MCP to turn off a broken feature?**
Yes, you can use the Connector to update a flag's status. Your agent can quickly switch a flag from active to archived to stop a rollout immediately.

**How do I get my SDK keys using DevCycle MCP?**
The Connector can fetch your SDK keys for any environment. Just ask your agent for the production, staging, or mobile keys, and it will retrieve them for you.

**Can the DevCycle MCP help me find specific flags?**
Yes, you can search for flags by keyword. This allows you to find specific features in large projects without having to scroll through long lists.

**Is DevCycle MCP good for incident response?**
It is excellent for incident response. It lets you quickly verify flag statuses and targeting rules to identify and mitigate issues faster.

**Can I see all my projects with DevCycle MCP?**
Yes, the Connector can list all projects in your account. This helps you get a high-level overview of your entire feature flag portfolio.

**Can DevCycle MCP show me targeting rules?**
Yes, it can pull the full configuration for a specific flag. This includes seeing exactly which variations are active and which environments they target.

**How do I get DevCycle API credentials?**
Log in to your DevCycle dashboard, navigate to **Settings > Organization > API Management**, and create a new Client ID and Client Secret.

**Can the agent toggle feature flags?**
Yes, you can use the update_feature_flag_status tool to set a flag to 'active' or 'archived' directly from the agent.

**Does the integration show SDK keys?**
Yes, the get_environment_sdk_keys tool allows the agent to retrieve the specific identifiers needed for your web, mobile, or server-side SDKs.