-
Notifications
You must be signed in to change notification settings - Fork 343
[STG-1681] Align tools with hosted MCP server #161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
0d4ca3e
feat!: align tools with hosted MCP server at mcp.browserbase.com
shrey150 66811cf
test: add unit tests, smoke test, and update eval configs
shrey150 8fda5e2
fix: update eval expectedState to match new response format
shrey150 68d8c78
ci: add changesets release workflow for automated npm publishing
shrey150 52cc892
ci: enable provenance for trusted publishing
shrey150 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| --- | ||
| "@browserbasehq/mcp-server-browserbase": major | ||
| --- | ||
|
|
||
| Align tool names and schemas with the hosted Browserbase MCP server at mcp.browserbase.com. | ||
|
|
||
| **Breaking changes:** | ||
|
|
||
| - Tool `browserbase_session_create` renamed to `start` | ||
| - Tool `browserbase_session_close` renamed to `end` | ||
| - Tool `browserbase_stagehand_navigate` renamed to `navigate` | ||
| - Tool `browserbase_stagehand_act` renamed to `act` | ||
| - Tool `browserbase_stagehand_observe` renamed to `observe` | ||
| - Tool `browserbase_stagehand_extract` renamed to `extract` | ||
| - Tools `browserbase_screenshot`, `browserbase_stagehand_get_url`, and `browserbase_stagehand_agent` removed | ||
| - `act` tool no longer accepts `variables` parameter | ||
| - `start` tool no longer accepts `sessionId` parameter | ||
| - `extract` tool `instruction` is now optional (matches hosted) | ||
| - Default model changed from `gemini-2.0-flash` to `google/gemini-2.5-flash-lite` | ||
| - Removed Smithery references and dependencies | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| name: Release | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
|
|
||
| permissions: | ||
| contents: write | ||
| pull-requests: write | ||
| id-token: write | ||
|
|
||
| concurrency: ${{ github.workflow }}-${{ github.ref }} | ||
|
|
||
| jobs: | ||
| release: | ||
| name: Release | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout Repo | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Install pnpm | ||
| uses: pnpm/action-setup@v4 | ||
|
|
||
| - name: Setup Node.js | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: "22" | ||
| cache: "pnpm" | ||
| registry-url: "https://registry.npmjs.org" | ||
|
|
||
| - name: Install dependencies | ||
| run: pnpm install --frozen-lockfile | ||
|
|
||
| - name: Build | ||
| run: pnpm build | ||
|
|
||
| - name: Create Release Pull Request or Publish to npm | ||
| uses: changesets/action@v1 | ||
| with: | ||
| publish: pnpm release | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| NPM_CONFIG_PROVENANCE: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we keep the prefix? might get confusing but if this is exact 1-1 with hosted it makes sense
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think making it line up 1-1 is the goal