Skip to content

Commit 139e7ae

Browse files
authored
Updated installation instructions (#13)
1 parent b7106fb commit 139e7ae

File tree

1 file changed

+23
-6
lines changed

1 file changed

+23
-6
lines changed

README.md

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ Create a `.cursor/mcp.json` file in your project root with the following content
3838
"LaunchDarkly": {
3939
"command": "npx",
4040
"args": [
41-
"-y", "--package", "@launchdarkly/mcp-server",
42-
"--", "mcp", "start",
41+
"-y", "--package", "@launchdarkly/mcp-server", "--", "mcp", "start",
4342
"--api-key", "api-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
4443
]
4544
}
@@ -59,8 +58,7 @@ Add the following server definition to your `claude_desktop_config.json` file:
5958
"LaunchDarkly": {
6059
"command": "npx",
6160
"args": [
62-
"-y", "--package", "@launchdarkly/mcp-server",
63-
"--", "mcp", "start",
61+
"-y", "--package", "@launchdarkly/mcp-server", "--", "mcp", "start",
6462
"--api-key", "api-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
6563
]
6664
}
@@ -75,11 +73,30 @@ Specify your API key as found on LaunchDarkly's Authorization page.
7573
You can also run the MCP server as a standalone binary with no additional dependencies. You must pull these binaries from available GitHub releases while specifying the appropriate `tag` value:
7674

7775
```bash
78-
curl -L -o mcp-server \
79-
https://github.com/launchdarkly/mcp-server/releases/download/{tag}/mcp-server-bun-darwin-arm64 && \
76+
curl -L -o mcp-server https://github.com/launchdarkly/mcp-server/releases/download/{tag}/mcp-server-bun-darwin-arm64 && \
8077
chmod +x mcp-server
8178
```
8279

80+
### Installation steps from a local clone
81+
82+
You can also run the MCP server locally by cloning this repository. Once cloned, you'll need to install dependencies (`npm install`) and build the server (`npm run build`).
83+
84+
Then, configure your server definition to reference your local clone. For example:
85+
86+
```json
87+
{
88+
"mcpServers": {
89+
"launchdarkly": {
90+
"command": "node",
91+
"args": [
92+
"/path/to/mcp-server/bin/mcp-server.js", "start",
93+
"--api-key", "api-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
94+
]
95+
}
96+
}
97+
}
98+
```
99+
83100
<!-- Start Requirements [requirements] -->
84101
## Requirements
85102

0 commit comments

Comments
 (0)