# DevCycle MCP server

> Lets AI coding assistants create, update, and manage DevCycle feature flags, variables, variations, and targeting rules from the editor.

- Repository: https://github.com/DevCycleHQ/cli
- Page: https://hostedmcp.org/servers/devcyclehq/cli
- Transport: remote
- Stars: 20
- License: MIT
- Latest version: 6.6.1

## Install

### Claude Code

```sh
claude mcp add --transport http cli https://mcp.devcycle.com/mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "cli": {
      "url": "https://mcp.devcycle.com/mcp"
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "cli": {
      "type": "http",
      "url": "https://mcp.devcycle.com/mcp"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"cli","type":"http","url":"https://mcp.devcycle.com/mcp"}'
```

### Codex

```sh
codex mcp add cli --url https://mcp.devcycle.com/mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.cli]
url = "https://mcp.devcycle.com/mcp"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http cli https://mcp.devcycle.com/mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "cli": {
      "url": "https://mcp.devcycle.com/mcp",
      "type": "http"
    }
  }
}
```

## FAQ

### Does the DevCycle MCP server need OAuth authentication?

Yes, the hosted server walks you through OAuth authentication the first time you use it.

### What can an AI assistant do with DevCycle feature flags through MCP?

It can create, update, and manage feature flags on your behalf, including features, variables, variations, and targeting rules.

### Which AI assistants work with the DevCycle MCP server?

It is designed for AI coding assistants such as Cursor and Claude, with setup snippets for both.
