You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Expose Username Parameter to getBuildId MCP Tool #184
Right now, the getBuildId tool has two parameters: project name and build name. From looking at the code here, it looks like the underlying code supports passing in a username, but it probably gets the username from the MCP tool setup. At my org, we have some tests imported into browserstack by a service account, so they all show up under the service account's username.
In a Claude CLI session earlier, I wasn't able to use the getBuildId MCP tool to get any of the builds I was trying to look up because they were under the service account's username. I switched to manually using the browserstack REST API and passed the service account's username and everything worked. Any chance you guys can expose the username as a parameter to the getBuildId tool to make this easier in that scenario?
Steps to Reproduce
Add some test runs under a service account or other user
Setup the browserstack MCP tool as a different user
Prompt an AI agent with something like:
Find me the latest test results in the project `SomeProject` with build name `SomeBuildName` under the user `SomeUserName`.
Thanks for reporting this. We’ll get back to you shortly, but meanwhile could you help us understand what challenges you’re facing in supplying the service-account credentials during MCP initialization?
This will help us evaluate whether exposing the username parameter is the right fix or if there’s an easier path.
Thanks for reporting this. We’ll get back to you shortly, but meanwhile could you help us understand what challenges you’re facing in supplying the service-account credentials during MCP initialization?
This will help us evaluate whether exposing the username parameter is the right fix or if there’s an easier path.
The service account isn't exposed to the rest of the engineering team so none of them have those credentials.
Activity
tech-sushant commentedon Nov 14, 2025
Hello @dflor003 ,
Thanks for reporting this. We’ll get back to you shortly, but meanwhile could you help us understand what challenges you’re facing in supplying the service-account credentials during MCP initialization?
This will help us evaluate whether exposing the username parameter is the right fix or if there’s an easier path.
dflor003 commentedon Nov 14, 2025
The service account isn't exposed to the rest of the engineering team so none of them have those credentials.