Skip to content

Commit 1b9986d

Browse files
Merge pull request #25 from thisrohangupta/feat/fme-feature-flag-get
feat: add fme_feature_flag resource type (parity with harness/mcp-server#36)
2 parents dd95e0a + 507a4d8 commit 1b9986d

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

src/registry/toolsets/feature-flags.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,24 @@ export const featureFlagsToolset: ToolsetDefinition = {
5757
},
5858
},
5959
},
60+
{
61+
resourceType: "fme_feature_flag",
62+
displayName: "FME Feature Flag",
63+
description:
64+
"Feature flag basic metadata (name, description, traffic type, tags, rollout status) via the Split.io API. Does not require an environment — use feature_flag get for environment-specific definitions.",
65+
toolset: "feature-flags",
66+
scope: "account",
67+
identifierFields: ["workspace_id", "feature_flag_name"],
68+
operations: {
69+
get: {
70+
method: "GET",
71+
path: "/internal/api/v2/splits/ws/{wsId}/{featureFlagName}",
72+
pathParams: { workspace_id: "wsId", feature_flag_name: "featureFlagName" },
73+
responseExtractor: passthrough,
74+
description: "Get a specific feature flag's metadata without requiring an environment",
75+
},
76+
},
77+
},
6078
{
6179
resourceType: "feature_flag",
6280
displayName: "Feature Flag",

0 commit comments

Comments
 (0)