Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/mcp-server/tools/featureFlagsGet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const args = {
export const tool$featureFlagsGet: ToolDefinition<typeof args> = {
name: "get-feature-flag",
description:
`Fetches the full configuration for a specific feature flag, including environments, variations, and targeting rules. Useful for agents auditing or managing specific feature toggles in a detailed, contextual manner.
`Fetches the full configuration for a specific feature flag, including environments, variations, and targeting rules. For navigation/open-in-browser flows, use environments.<environmentKey>._site.href from this response as the canonical UI path for that environment.
Comment thread
alohaninja marked this conversation as resolved.
Outdated
`,
scopes: ["read"],
args,
Expand Down
2 changes: 1 addition & 1 deletion src/mcp-server/tools/featureFlagsList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const args = {
export const tool$featureFlagsList: ToolDefinition<typeof args> = {
name: "list-feature-flags",
description:
`Retrieves all feature flags within a project, including metadata and targeting rules. Enables AI agents to enumerate existing flags for inspection, configuration analysis, or generating flag usage reports across environments.
`Retrieves all feature flags within a project, including metadata and targeting rules. Enables AI agents to enumerate existing flags for inspection, configuration analysis, or generating flag usage reports across environments. IMPORTANT: Do not fabricate UI URLs from project/key. This endpoint is for discovery; when a user asks to open a flag, call get-feature-flag and use environments.<environmentKey>._site.href from that response. The 'filter' parameter uses field:value syntax — to search by keyword use query:<search-text> (e.g. filter: "query:dark-mode"). Other supported filters: tags:<tag>, state:live|deprecated|archived, hasExperiment:true|false, maintainerId:<id>, hasDataExport:true|false. Combine with commas.
Comment thread
alohaninja marked this conversation as resolved.
Outdated
`,
scopes: ["read"],
args,
Expand Down