Hey everyone, I wanted to try out the MCP tool pro...
# ask-questions
b
Hey everyone, I wanted to try out the MCP tool provided in cursor, but when I set it up it says 0 tools enabled. Any clues what I'm doing wrong?
f
@strong-mouse-55694?
s
@better-barista-18500 I'm guessing something in the config is missing. Are you able to share your config? It's what shows when you click the edit (pencil) button. For reference, here's mine on my machine:
Copy code
{
  "mcpServers": {
    "growthbook": {
      "command": "npx",
      "args": ["-y", "@growthbook/mcp"],
      "env": {
        "GB_API_KEY": "secret_admin_SECRET",
        "GB_API_URL": "<http://localhost:3100>",
        "GB_APP_ORIGIN": "<http://localhost:3000>",
        "GB_USER": "Ryan"
      }
    },
}
Remember not to share any sensitive info.
b
Copy code
{
  "mcpServers": {
    "growthbook": {
      "command": "wsl bash -ic",
      "args": [
        "npx",
        "-y",
        "@growthbook/mcp"
      ],
      "env": {
        "GB_API_KEY": "secret_admin_VALID_SECRET",
        "GB_USER": "Developer"
      }
    }
  }
}
s
Thanks Viktor. Are you using GrowthBook cloud?
I haven't used WSL much with MCP. Have you had success with other servers?
b
Yes, GB Cloud and yes, I have had success with other MCP tools.
s
Thanks for the response. Let me try this out on my Windows machine and see if I can replicate.