I get the error when using `get_attributes` tool w...
# give-feedback
b
I get the error when using
get_attributes
tool when using Growthbook MCP? and not sure is it a bug or not? please help
Copy code
MCP Tool Error Response: Error fetching attributes: HTTP 400 Bad Request: {"message":"Querystring: [] Unrecognized key: \"limit\""}

Suggestions:
- Check that your GB_API_KEY has permission to read attributes.
The GB_API_KEY key I use is the Global Experimenter role, so I believe they have the access to the attributes
looking 1
f
Hi @billions-garden-4195 👋 Thanks for sharing the full error. Since the API response says
Unrecognized key: "limit"
, this looks like the MCP
get_attributes
tool is sending a query parameter that the attributes endpoint does not currently accept, rather than an API key permission issue. Your Experimenter role should suffice here. Please can you confirm if you're using the latest version of the MCP server (
@growthbook/mcp@latest
) and which MCP client you're using? Are you also cloud hosting or self-hosting GrowthBook?
b
Hi Natash Lee I'm using the latest version of Growthbook
@growthbook/mcp@latest
and I use Claude Code and Kiro Code (the same issue happens) I use the cloud hosting of Growthbook
f
Thank you, I was able to replicate this on Claude too, will escalate to the team for further review
Submitted a GitHub issue in the repo here. Thank you for bringing this to our attention and apologies for any inconvenience caused
🙌 1