2
2
3
3
With the GrowthBook MCP server, you can interact with GrowthBook right from your LLM client. See experiment details, add a feature flag, and more.
4
4
5
- ## Installation
6
-
7
- ### Local Installation
8
-
9
- 1 . Clone the repo
10
- 2 . Run ` npx tsc ` to generate a build
5
+ ## Setup
11
6
12
7
** Environment Variables**
13
8
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
31
26
{
32
27
"mcpServers" : {
33
28
"growthbook" : {
34
- "command" : " node " ,
35
- "args" : [" ABSOLUTE_PATH_TO_THE_BUILT_MCP_SERVER " ],
29
+ "command" : " npx " ,
30
+ "args" : [" -y " , " @growthbook/mcp " ],
36
31
"env" : {
37
32
"GB_API_KEY" : " YOUR_API_KEY" ,
38
33
"GB_API_URL" : " YOUR_API_URL" ,
@@ -57,9 +52,9 @@ You should now see a green active status after the server successfully connects!
57
52
"mcp" : {
58
53
"servers" : {
59
54
"growthbook" : {
60
- "command" : " node " ,
55
+ "command" : " npx " ,
61
56
"args" : [
62
- " ABSOLUTE_PATH_TO_THE_BUILT_MCP_SERVER "
57
+ " -y " , " @growthbook/mcp "
63
58
],
64
59
"env" : {
65
60
"GB_API_KEY" : " YOUR_API_KEY" ,
@@ -87,8 +82,8 @@ GrowthBook MCP is now ready to use in VS Code.
87
82
{
88
83
"mcpServers" : {
89
84
"growthbook" : {
90
- "command" : " node " ,
91
- "args" : [" ABSOLUTE_PATH_TO_THE_BUILT_MCP_SERVER " ],
85
+ "command" : " npx " ,
86
+ "args" : [" -y " , " @growthbook/mcp " ],
92
87
"env" : {
93
88
"GB_API_KEY" : " YOUR_API_KEY" ,
94
89
"GB_API_URL" : " YOUR_API_URL" ,
0 commit comments