-
Notifications
You must be signed in to change notification settings - Fork 4
docs: update MCP docs to match available tools #518
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -18,8 +18,8 @@ Both implementations share the same underlying tools, schemas, and utilities, en | |||||||||
| - [Available Tools](#available-tools) | ||||||||||
| - [Feature Management](#feature-management) | ||||||||||
| - [Variable Management](#variable-management) | ||||||||||
| - [Environment Management](#environment-management) | ||||||||||
| - [Project Management](#project-management) | ||||||||||
| - [SDK Installation](#sdk-installation) | ||||||||||
| - [Self-Targeting & Overrides](#self-targeting--overrides) | ||||||||||
| - [Results & Analytics](#results--analytics) | ||||||||||
| - [Error Handling](#error-handling) | ||||||||||
|
|
@@ -218,66 +218,13 @@ Delete a feature flag from ALL environments. | |||||||||
|
|
||||||||||
| - `key`: Feature key to delete | ||||||||||
|
|
||||||||||
| #### `fetch_feature_variations` | ||||||||||
| #### `cleanup_feature` | ||||||||||
|
|
||||||||||
| Get all variations for a feature. | ||||||||||
| Fetch the DevCycle Feature Cleanup prompt and return its markdown content to guide safe cleanup of a completed feature and its variables in codebases. | ||||||||||
|
|
||||||||||
| **Parameters:** | ||||||||||
|
|
||||||||||
| - `feature_key`: Feature key | ||||||||||
|
|
||||||||||
| #### `create_feature_variation` | ||||||||||
|
|
||||||||||
| Create a new variation within a feature. | ||||||||||
|
|
||||||||||
| **Parameters:** | ||||||||||
|
|
||||||||||
| - `feature_key`: Feature key | ||||||||||
| - `key`: Unique variation key | ||||||||||
| - `name`: Variation name | ||||||||||
| - `variables`: Key-value map of variable keys to their values for this variation | ||||||||||
|
|
||||||||||
| #### `update_feature_variation` | ||||||||||
|
|
||||||||||
| Update an existing variation by key. ⚠️ WARNING: Updating a feature variation may affect production environments. | ||||||||||
|
|
||||||||||
| **Parameters:** | ||||||||||
|
|
||||||||||
| - `feature_key`: Feature key | ||||||||||
| - `variation_key`: Variation to update | ||||||||||
| - `key` (optional): New variation key | ||||||||||
| - `name` (optional): New variation name | ||||||||||
| - `variables` (optional): Updated variable values | ||||||||||
|
|
||||||||||
| #### `set_feature_targeting` ⚠️ | ||||||||||
|
|
||||||||||
| Set targeting status (enable or disable) for a feature in an environment. | ||||||||||
|
|
||||||||||
| **Parameters:** | ||||||||||
|
|
||||||||||
| - `feature_key`: Feature key | ||||||||||
| - `environment_key`: Environment key | ||||||||||
| - `enabled`: Boolean - true to enable targeting, false to disable | ||||||||||
|
|
||||||||||
| #### `list_feature_targeting` | ||||||||||
|
|
||||||||||
| List targeting rules for a feature. | ||||||||||
|
|
||||||||||
| **Parameters:** | ||||||||||
|
|
||||||||||
| - `feature_key`: Feature key | ||||||||||
| - `environment_key` (optional): Specific environment (returns all if omitted) | ||||||||||
|
|
||||||||||
| #### `update_feature_targeting` ⚠️ | ||||||||||
|
|
||||||||||
| Update targeting rules for a feature in an environment. | ||||||||||
|
|
||||||||||
| **Parameters:** | ||||||||||
|
|
||||||||||
| - `feature_key`: Feature key | ||||||||||
| - `environment_key`: Environment key | ||||||||||
| - `status` (optional): Targeting status (`active`, `inactive`, `archived`) | ||||||||||
| - `targets` (optional): Array of targeting rules with audience filters and distributions | ||||||||||
| - `featureKey`: The feature key you plan to clean up (used for context in the prompt) | ||||||||||
|
|
||||||||||
| #### `get_feature_audit_log_history` | ||||||||||
|
|
||||||||||
|
|
@@ -347,45 +294,8 @@ Delete a variable from ALL environments. | |||||||||
|
|
||||||||||
| - `key`: Variable key to delete | ||||||||||
|
|
||||||||||
| ### Environment Management | ||||||||||
|
|
||||||||||
| #### `list_environments` | ||||||||||
|
|
||||||||||
| List all environments in the current project. | ||||||||||
|
|
||||||||||
| **Parameters:** | ||||||||||
|
|
||||||||||
| - `search` (optional): Search query (min 3 chars) | ||||||||||
| - `page` (optional): Page number | ||||||||||
| - `perPage` (optional): Items per page | ||||||||||
| - `sortBy` (optional): Sort field | ||||||||||
| - `sortOrder` (optional): Sort order (`asc`, `desc`) | ||||||||||
| - `createdBy` (optional): Filter by creator user ID | ||||||||||
|
|
||||||||||
| #### `get_sdk_keys` | ||||||||||
|
|
||||||||||
| Get SDK keys for an environment. | ||||||||||
|
|
||||||||||
| **Parameters:** | ||||||||||
|
|
||||||||||
| - `environmentKey`: Environment key | ||||||||||
| - `keyType` (optional): Specific key type (`mobile`, `server`, `client`) | ||||||||||
|
|
||||||||||
| ### Project Management | ||||||||||
|
|
||||||||||
| #### `list_projects` | ||||||||||
|
|
||||||||||
| List all projects in the organization. | ||||||||||
|
|
||||||||||
| **Parameters:** | ||||||||||
|
|
||||||||||
| - `search` (optional): Search query | ||||||||||
| - `page` (optional): Page number (default: 1) | ||||||||||
| - `perPage` (optional): Items per page (default: 100, max: 1000) | ||||||||||
| - `sortBy` (optional): Sort field (`createdAt`, `updatedAt`, `name`, `key`, `createdBy`) | ||||||||||
| - `sortOrder` (optional): Sort order (`asc`, `desc`) | ||||||||||
| - `createdBy` (optional): Filter by creator user ID | ||||||||||
|
|
||||||||||
| #### `get_current_project` | ||||||||||
|
|
||||||||||
| Get details of the currently selected project. | ||||||||||
|
|
@@ -397,14 +307,31 @@ Returns the project defined by your current MCP context. If no project is select | |||||||||
|
|
||||||||||
| **Parameters:** None | ||||||||||
|
|
||||||||||
| #### `select_project` (Local MCP only) | ||||||||||
| #### `select_project` | ||||||||||
|
|
||||||||||
| Select a project to use for subsequent MCP operations. | ||||||||||
|
|
||||||||||
| Select a project to use for subsequent MCP operations. This tool is only available in the local MCP server, not the remote worker. | ||||||||||
| - Local MCP: updates your local DevCycle configuration at `~/.config/devcycle/user.yml` | ||||||||||
| - Remote MCP: stores the selection in the worker state for your session | ||||||||||
|
Comment on lines
+314
to
+315
|
||||||||||
| - Local MCP: updates your local DevCycle configuration at `~/.config/devcycle/user.yml` | |
| - Remote MCP: stores the selection in the worker state for your session | |
| - Local MCP: updates your local DevCycle configuration at `~/.config/devcycle/user.yml` | |
| - Remote MCP: stores the selection in the worker state for your session |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The table of contents lists 'SDK Installation' but the actual section heading uses 'SDK Installation' (which matches). However, this entry appears to be inserted where 'Environment Management' was removed, but there's no corresponding removal in the TOC for 'Environment Management' shown in this diff.