Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 2 additions & 2 deletions .devcontainer/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ curl -fsSL https://raw.githubusercontent.com/speakeasy-api/speakeasy/main/instal
rmdir samples || true
mkdir samples

npm install
npm install -g ts-node
npm install --ignore-scripts
npm install -g ts-node --ignore-scripts
npm link
npm link @launchdarkly/mcp-server
TS_CONFIG_CONTENT=$(cat <<EOL
Expand Down
19 changes: 9 additions & 10 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,35 +3,35 @@ id: cc3a5766-8b39-40da-a0be-fff57173d8e1
management:
docChecksum: 2e0929fc035a4d91d9fbf708633ca988
docVersion: "2.0"
speakeasyVersion: 1.580.0
generationVersion: 2.654.2
releaseVersion: 0.4.0
configChecksum: 941cd2dd2f7c5a28dd935c935f7e8ac2
speakeasyVersion: 1.636.3
generationVersion: 2.723.11
releaseVersion: 0.5.0
configChecksum: 70e71e7f96b32d933f98a14c6e4427b3
repoURL: https://github.com/launchdarkly/mcp-server.git
installationURL: https://github.com/launchdarkly/mcp-server
published: true
features:
typescript:
additionalDependencies: 0.1.0
constsAndDefaults: 0.1.12
core: 3.21.13
core: 3.21.26
defaultEnabledRetries: 0.1.0
deprecations: 2.81.1
devContainers: 2.90.0
devContainers: 2.90.1
enumUnions: 0.1.0
envVarSecurityUsage: 0.1.2
globalSecurity: 2.82.13
globalSecurity: 2.82.14
globalSecurityCallbacks: 0.1.0
globalSecurityFlattening: 0.1.0
globalServerURLs: 2.82.5
groups: 2.81.2
groups: 2.81.3
ignores: 2.81.1
mcpServer: 0.9.3
nameOverrides: 2.81.2
responseFormat: 0.2.3
retries: 2.83.0
sdkHooks: 0.3.0
unions: 2.85.11
unions: 2.86.0
generatedFiles:
- .devcontainer/README.md
- .devcontainer/devcontainer.json
Expand Down Expand Up @@ -188,7 +188,6 @@ generatedFiles:
- docs/models/operations/postfeatureflagrequest.md
- docs/sdks/aiconfigs/README.md
- docs/sdks/featureflags/README.md
- docs/sdks/launchdarkly/README.md
- eslint.config.mjs
- examples/.env.template
- examples/README.md
Expand Down
7 changes: 6 additions & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,14 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: false
oAuth2PasswordEnabled: false
hoistGlobalSecurity: true
tests:
generateTests: true
generateNewTests: false
skipResponseBodyAssertions: false
typescript:
version: 0.4.0
version: 0.5.0
acceptHeaderEnum: true
additionalDependencies:
dependencies: {}
devDependencies: {}
Expand Down Expand Up @@ -62,9 +64,12 @@ typescript:
jsonpath: rfc9535
maxMethodParams: 0
methodArguments: require-security-and-request
modelPropertyCasing: camel
moduleFormat: dual
outputModelSuffix: output
packageName: '@launchdarkly/mcp-server'
responseFormat: flat
sseFlatResponse: false
templateVersion: v2
usageSDKInitImports: []
useIndexModules: true
6 changes: 3 additions & 3 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
speakeasyVersion: 1.580.0
speakeasyVersion: 1.636.3
sources:
LaunchDarkly REST API:
sourceNamespace: launchdarkly-rest-api
sourceRevisionDigest: sha256:667150cae7854e824a91a3ea68fc1e92bdfa475bdc24a89722778a0493d53b4f
sourceBlobDigest: sha256:2a2d6840880d11e156b354f916820df9b75048fe92fda6203ee6d0aaf0f21227
tags:
- latest
- speakeasy-sdk-regen-1752019878
- speakeasy-sdk-regen-1752106275
- "2.0"
targets:
launchdarkly-mcp-server:
Expand All @@ -15,7 +15,7 @@ targets:
sourceRevisionDigest: sha256:667150cae7854e824a91a3ea68fc1e92bdfa475bdc24a89722778a0493d53b4f
sourceBlobDigest: sha256:2a2d6840880d11e156b354f916820df9b75048fe92fda6203ee6d0aaf0f21227
codeSamplesNamespace: launchdarkly-rest-api-typescript-code-samples
codeSamplesRevisionDigest: sha256:7088f7fcad1698616ec4a48146b51f644af8dacef407aa1e013db650dd42e42b
codeSamplesRevisionDigest: sha256:6d06cb8fe689f2ac03153edb83085075560bc4676d1c96a84d6d90814230edde
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ For supported JavaScript runtimes, please consult [RUNTIMES.md](RUNTIMES.md).
* [patch](docs/sdks/featureflags/README.md#patch) - Update feature flag
* [delete](docs/sdks/featureflags/README.md#delete) - Delete feature flag


</details>
<!-- End Available Resources and Operations [operations] -->

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,14 @@ Based on:
### Generated
- [typescript v0.4.0] .
### Releases
- [NPM v0.4.0] https://www.npmjs.com/package/@launchdarkly/mcp-server/v/0.4.0 - .
- [NPM v0.4.0] https://www.npmjs.com/package/@launchdarkly/mcp-server/v/0.4.0 - .

## 2025-10-16 00:10:38
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.636.3 (2.723.11) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.5.0] .
### Releases
- [NPM v0.5.0] https://www.npmjs.com/package/@launchdarkly/mcp-server/v/0.5.0 - .
12 changes: 6 additions & 6 deletions RUNTIMES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

This SDK is intended to be used in JavaScript runtimes that support ECMAScript 2020 or newer. The SDK uses the following features:

* [Web Fetch API][web-fetch]
* [Web Streams API][web-streams] and in particular `ReadableStream`
* [Async iterables][async-iter] using `Symbol.asyncIterator`
- [Web Fetch API][web-fetch]
- [Web Streams API][web-streams] and in particular `ReadableStream`
- [Async iterables][async-iter] using `Symbol.asyncIterator`

[web-fetch]: https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API
[web-streams]: https://developer.mozilla.org/en-US/docs/Web/API/Streams_API
Expand All @@ -25,7 +25,7 @@ Runtime environments that are explicitly supported are:

The following `tsconfig.json` options are recommended for projects using this
SDK in order to get static type support for features like async iterables,
streams and `fetch`-related APIs ([`for await...of`][for-await-of],
streams and `fetch`-related APIs ([`for await...of`][for-await-of],
[`AbortSignal`][abort-signal], [`Request`][request], [`Response`][response] and
so on):

Expand All @@ -38,11 +38,11 @@ so on):
{
"compilerOptions": {
"target": "es2020", // or higher
"lib": ["es2020", "dom", "dom.iterable"],
"lib": ["es2020", "dom", "dom.iterable"]
}
}
```

While `target` can be set to older ECMAScript versions, it may result in extra,
unnecessary compatibility code being generated if you are not targeting old
runtimes.
runtimes.
11 changes: 11 additions & 0 deletions docs/sdks/aiconfigs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Retrieves a specific AI Config's targeting by its key

### Example Usage

<!-- UsageSnippet language="typescript" operationID="getAIConfigTargeting" method="get" path="/api/v2/projects/{projectKey}/ai-configs/{configKey}/targeting" -->
```typescript
import { LaunchDarkly } from "@launchdarkly/mcp-server";

Expand Down Expand Up @@ -659,6 +660,7 @@ Here's an example:

### Example Usage

<!-- UsageSnippet language="typescript" operationID="patchAIConfigTargeting" method="patch" path="/api/v2/projects/{projectKey}/ai-configs/{configKey}/targeting" -->
```typescript
import { LaunchDarkly } from "@launchdarkly/mcp-server";

Expand Down Expand Up @@ -761,6 +763,7 @@ Get a list of all AI Configs in the given project.

### Example Usage

<!-- UsageSnippet language="typescript" operationID="getAIConfigs" method="get" path="/api/v2/projects/{projectKey}/ai-configs" -->
```typescript
import { LaunchDarkly } from "@launchdarkly/mcp-server";

Expand Down Expand Up @@ -837,6 +840,7 @@ Create a new AI Config within the given project.

### Example Usage

<!-- UsageSnippet language="typescript" operationID="postAIConfig" method="post" path="/api/v2/projects/{projectKey}/ai-configs" -->
```typescript
import { LaunchDarkly } from "@launchdarkly/mcp-server";

Expand Down Expand Up @@ -933,6 +937,7 @@ Delete an existing AI Config.

### Example Usage

<!-- UsageSnippet language="typescript" operationID="deleteAIConfig" method="delete" path="/api/v2/projects/{projectKey}/ai-configs/{configKey}" -->
```typescript
import { LaunchDarkly } from "@launchdarkly/mcp-server";

Expand Down Expand Up @@ -1011,6 +1016,7 @@ Retrieve a specific AI Config by its key.

### Example Usage

<!-- UsageSnippet language="typescript" operationID="getAIConfig" method="get" path="/api/v2/projects/{projectKey}/ai-configs/{configKey}" -->
```typescript
import { LaunchDarkly } from "@launchdarkly/mcp-server";

Expand Down Expand Up @@ -1100,6 +1106,7 @@ Here's an example:

### Example Usage

<!-- UsageSnippet language="typescript" operationID="patchAIConfig" method="patch" path="/api/v2/projects/{projectKey}/ai-configs/{configKey}" -->
```typescript
import { LaunchDarkly } from "@launchdarkly/mcp-server";

Expand Down Expand Up @@ -1210,6 +1217,7 @@ The <code>model</code> in the request body requires a <code>modelName</code> and

### Example Usage

<!-- UsageSnippet language="typescript" operationID="postAIConfigVariation" method="post" path="/api/v2/projects/{projectKey}/ai-configs/{configKey}/variations" -->
```typescript
import { LaunchDarkly } from "@launchdarkly/mcp-server";

Expand Down Expand Up @@ -1326,6 +1334,7 @@ Delete a specific variation of an AI Config by config key and variation key.

### Example Usage

<!-- UsageSnippet language="typescript" operationID="deleteAIConfigVariation" method="delete" path="/api/v2/projects/{projectKey}/ai-configs/{configKey}/variations/{variationKey}" -->
```typescript
import { LaunchDarkly } from "@launchdarkly/mcp-server";

Expand Down Expand Up @@ -1406,6 +1415,7 @@ Get an AI Config variation by key. The response includes all variation versions

### Example Usage

<!-- UsageSnippet language="typescript" operationID="getAIConfigVariation" method="get" path="/api/v2/projects/{projectKey}/ai-configs/{configKey}/variations/{variationKey}" -->
```typescript
import { LaunchDarkly } from "@launchdarkly/mcp-server";

Expand Down Expand Up @@ -1501,6 +1511,7 @@ Here's an example:

### Example Usage

<!-- UsageSnippet language="typescript" operationID="patchAIConfigVariation" method="patch" path="/api/v2/projects/{projectKey}/ai-configs/{configKey}/variations/{variationKey}" -->
```typescript
import { LaunchDarkly } from "@launchdarkly/mcp-server";

Expand Down
5 changes: 5 additions & 0 deletions docs/sdks/featureflags/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ To learn more, read [Migration Flags](https://launchdarkly.com/docs/home/flags/m

### Example Usage

<!-- UsageSnippet language="typescript" operationID="getFeatureFlags" method="get" path="/api/v2/flags/{projectKey}" -->
```typescript
import { LaunchDarkly } from "@launchdarkly/mcp-server";

Expand Down Expand Up @@ -185,6 +186,7 @@ To learn more, read [Migration Flags](https://launchdarkly.com/docs/home/flags/m

### Example Usage

<!-- UsageSnippet language="typescript" operationID="postFeatureFlag" method="post" path="/api/v2/flags/{projectKey}" -->
```typescript
import { LaunchDarkly } from "@launchdarkly/mcp-server";

Expand Down Expand Up @@ -291,6 +293,7 @@ For example, `expand=evaluation` includes the `evaluation` field in the response

### Example Usage

<!-- UsageSnippet language="typescript" operationID="getFeatureFlag" method="get" path="/api/v2/flags/{projectKey}/{featureFlagKey}" -->
```typescript
import { LaunchDarkly } from "@launchdarkly/mcp-server";

Expand Down Expand Up @@ -1558,6 +1561,7 @@ To learn more, read [Migration flags](https://launchdarkly.com/docs/home/flags/m

### Example Usage

<!-- UsageSnippet language="typescript" operationID="patchFeatureFlag" method="patch" path="/api/v2/flags/{projectKey}/{featureFlagKey}" -->
```typescript
import { LaunchDarkly } from "@launchdarkly/mcp-server";

Expand Down Expand Up @@ -1656,6 +1660,7 @@ Delete a feature flag in all environments. Use with caution: only delete feature

### Example Usage

<!-- UsageSnippet language="typescript" operationID="deleteFeatureFlag" method="delete" path="/api/v2/flags/{projectKey}/{featureFlagKey}" -->
```typescript
import { LaunchDarkly } from "@launchdarkly/mcp-server";

Expand Down
Loading