@launchdarkly/mcp-server 0.2.4 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +22 -18
- package/bin/mcp-server.js +5 -5
- package/bin/mcp-server.js.map +4 -4
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/jsr.json +1 -1
- package/package.json +9 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 LaunchDarkly
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
The official [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) server for [LaunchDarkly](https://launchdarkly.com/).
|
|
4
4
|
|
|
5
5
|
<div align="left">
|
|
6
|
-
<a href="https://www.speakeasy.com/?utm_source=@launchdarkly/mcp-server&utm_campaign=typescript"><img src="https://custom-icon-badges.demolab.com/badge/-Built%20By%20Speakeasy-212015?style=for-the-badge&logoColor=FBE331&logo=speakeasy&labelColor=545454" /></a>
|
|
7
6
|
<a href="https://opensource.org/licenses/MIT">
|
|
8
7
|
<img src="https://img.shields.io/badge/License-MIT-blue.svg" style="width: 100px; height: 28px;" />
|
|
9
8
|
</a>
|
|
@@ -19,9 +18,8 @@ The official [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) se
|
|
|
19
18
|
* [Requirements](#requirements)
|
|
20
19
|
* [Available Resources and Operations](#available-resources-and-operations)
|
|
21
20
|
* [Available environments](#available-environments)
|
|
22
|
-
* [Development](#development)
|
|
23
|
-
* [Maturity](#maturity)
|
|
24
21
|
* [Contributions](#contributions)
|
|
22
|
+
* [About LaunchDarkly](#about-launchdarkly)
|
|
25
23
|
|
|
26
24
|
<!-- End Table of Contents [toc] -->
|
|
27
25
|
|
|
@@ -138,25 +136,31 @@ For supported JavaScript runtimes, please consult [RUNTIMES.md](RUNTIMES.md).
|
|
|
138
136
|
|
|
139
137
|
## Available environments
|
|
140
138
|
|
|
141
|
-
Most customer accounts run on LaunchDarkly's commercial (default) environment. Customers on other environments can specify the `--server-url` argument to connect to the appropriate environment. For example, customers on LaunchDarkly's Federal environment should specify `--server-url https://app.launchdarkly.us` when starting their MCP server.
|
|
139
|
+
Most customer accounts run on LaunchDarkly's commercial (default) environment. Customers on other environments can specify the `--server-url` argument to connect to the appropriate environment. For example, customers on LaunchDarkly's Federal environment should specify the `--server-url https://app.launchdarkly.us` argument when starting their MCP server.
|
|
142
140
|
|
|
143
|
-
|
|
|
144
|
-
|
|
|
145
|
-
|
|
|
146
|
-
|
|
|
147
|
-
|
|
|
148
|
-
|
|
149
|
-
# Development
|
|
150
|
-
|
|
151
|
-
## Maturity
|
|
152
|
-
|
|
153
|
-
This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning usage
|
|
154
|
-
to a specific package version. This way, you can install the same version each time without breaking changes unless you are intentionally
|
|
155
|
-
looking for the latest version.
|
|
141
|
+
| Environment | Server URL |
|
|
142
|
+
| -------------------- | --------------------------------- |
|
|
143
|
+
| Commercial (Default) | `https://app.launchdarkly.com` |
|
|
144
|
+
| Federal | `https://app.launchdarkly.us` |
|
|
145
|
+
| EU | `https://app.eu.launchdarkly.com` |
|
|
156
146
|
|
|
157
147
|
## Contributions
|
|
158
148
|
|
|
159
149
|
While we value open-source contributions to this SDK, this library is generated programmatically. Any manual changes added to internal files will be overwritten on the next generation.
|
|
160
150
|
We look forward to hearing your feedback. Feel free to open a PR or an issue with a proof of concept and we'll do our best to include it in a future release.
|
|
161
151
|
|
|
162
|
-
|
|
152
|
+
## About LaunchDarkly
|
|
153
|
+
|
|
154
|
+
- LaunchDarkly is a continuous delivery platform that provides feature flags as a service and allows developers to iterate quickly and safely. We allow you to easily flag your features and manage them from the LaunchDarkly dashboard. With LaunchDarkly, you can:
|
|
155
|
+
- Roll out a new feature to a subset of your users (like a group of users who opt-in to a beta tester group), gathering feedback and bug reports from real-world use cases.
|
|
156
|
+
- Gradually roll out a feature to an increasing percentage of users, and track the effect that the feature has on key metrics (for instance, how likely is a user to complete a purchase if they have feature A versus feature B?).
|
|
157
|
+
- Turn off a feature that you realize is causing performance problems in production, without needing to re-deploy, or even restart the application with a changed configuration file.
|
|
158
|
+
- Grant access to certain features based on user attributes, like payment plan (eg: users on the ‘gold’ plan get access to more features than users in the ‘silver’ plan).
|
|
159
|
+
- Disable parts of your application to facilitate maintenance, without taking everything offline.
|
|
160
|
+
- LaunchDarkly provides feature flag SDKs for a wide variety of languages and technologies. Read [our documentation](https://launchdarkly.com/docs/sdk) for a complete list.
|
|
161
|
+
- Explore LaunchDarkly
|
|
162
|
+
- [https://app.launchdarkly.com/signup](Sign up for a free LaunchDarkly account here)
|
|
163
|
+
- [launchdarkly.com](https://www.launchdarkly.com/ 'LaunchDarkly Main Website') for more information
|
|
164
|
+
- [launchdarkly.com/docs](https://launchdarkly.com/docs/home 'LaunchDarkly Documentation') for our documentation and SDK reference guides
|
|
165
|
+
- [launchdarkly.com/docs/api](https://launchdarkly.com/docs/api 'LaunchDarkly API Documentation') for our API documentation
|
|
166
|
+
- [blog.launchdarkly.com](https://launchdarkly.com/blog/ 'LaunchDarkly Blog Documentation') for the latest product updates
|
package/bin/mcp-server.js
CHANGED
|
@@ -34236,9 +34236,9 @@ var init_config = __esm(() => {
|
|
|
34236
34236
|
SDK_METADATA = {
|
|
34237
34237
|
language: "typescript",
|
|
34238
34238
|
openapiDocVersion: "2.0",
|
|
34239
|
-
sdkVersion: "0.2.
|
|
34239
|
+
sdkVersion: "0.2.5",
|
|
34240
34240
|
genVersion: "2.610.0",
|
|
34241
|
-
userAgent: "speakeasy-sdk/typescript 0.2.
|
|
34241
|
+
userAgent: "speakeasy-sdk/typescript 0.2.5 2.610.0 2.0 @launchdarkly/mcp-server"
|
|
34242
34242
|
};
|
|
34243
34243
|
});
|
|
34244
34244
|
|
|
@@ -40075,7 +40075,7 @@ var init_featureFlagsPatch2 = __esm(() => {
|
|
|
40075
40075
|
function createMCPServer(deps) {
|
|
40076
40076
|
const server = new McpServer({
|
|
40077
40077
|
name: "LaunchDarkly",
|
|
40078
|
-
version: "0.2.
|
|
40078
|
+
version: "0.2.5"
|
|
40079
40079
|
});
|
|
40080
40080
|
const client = new LaunchDarklyCore({
|
|
40081
40081
|
apiKey: deps.apiKey,
|
|
@@ -41317,7 +41317,7 @@ var routes = an({
|
|
|
41317
41317
|
var app = He(routes, {
|
|
41318
41318
|
name: "mcp",
|
|
41319
41319
|
versionInfo: {
|
|
41320
|
-
currentVersion: "0.2.
|
|
41320
|
+
currentVersion: "0.2.5"
|
|
41321
41321
|
}
|
|
41322
41322
|
});
|
|
41323
41323
|
zt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -41325,5 +41325,5 @@ export {
|
|
|
41325
41325
|
app
|
|
41326
41326
|
};
|
|
41327
41327
|
|
|
41328
|
-
//# debugId=
|
|
41328
|
+
//# debugId=B8EF49D8197E02A264756E2164756E21
|
|
41329
41329
|
//# sourceMappingURL=mcp-server.js.map
|