Skip to content

Commit bef7811

Browse files
authored
Merge pull request #6 from growthbook/msamper/update-readme
Update readme with package
2 parents fa2f7dc + 5736361 commit bef7811

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

README.md

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,7 @@
22

33
With the GrowthBook MCP server, you can interact with GrowthBook right from your LLM client. See experiment details, add a feature flag, and more.
44

5-
## Installation
6-
7-
### Local Installation
8-
9-
1. Clone the repo
10-
2. Run `npx tsc` to generate a build
5+
## Setup
116

127
**Environment Variables**
138
Use the following env variables to configure the MCP server.
@@ -31,8 +26,8 @@ Find instructions below to add the MCP server to a client. Any client that suppo
3126
{
3227
"mcpServers": {
3328
"growthbook": {
34-
"command": "node",
35-
"args": ["ABSOLUTE_PATH_TO_THE_BUILT_MCP_SERVER"],
29+
"command": "npx",
30+
"args": ["-y", "@growthbook/mcp"],
3631
"env": {
3732
"GB_API_KEY": "YOUR_API_KEY",
3833
"GB_API_URL": "YOUR_API_URL",
@@ -57,9 +52,9 @@ You should now see a green active status after the server successfully connects!
5752
"mcp": {
5853
"servers": {
5954
"growthbook": {
60-
"command": "node",
55+
"command": "npx",
6156
"args": [
62-
"ABSOLUTE_PATH_TO_THE_BUILT_MCP_SERVER"
57+
"-y", "@growthbook/mcp"
6358
],
6459
"env": {
6560
"GB_API_KEY": "YOUR_API_KEY",
@@ -87,8 +82,8 @@ GrowthBook MCP is now ready to use in VS Code.
8782
{
8883
"mcpServers": {
8984
"growthbook": {
90-
"command": "node",
91-
"args": ["ABSOLUTE_PATH_TO_THE_BUILT_MCP_SERVER"],
85+
"command": "npx",
86+
"args": ["-y", "@growthbook/mcp"],
9287
"env": {
9388
"GB_API_KEY": "YOUR_API_KEY",
9489
"GB_API_URL": "YOUR_API_URL",

0 commit comments

Comments
 (0)