Skip to content

Conversation

Kylejeong2
Copy link
Member

@Kylejeong2 Kylejeong2 commented Oct 12, 2025

what

Remove multisession tools, remove prompts sampling, simplify tool descriptions for better context, add support if google apikey set, latest version of stagehand, remove custom availmodelschema to use stagehand model type instead.

added some jsdoc tool descriptions and links

also refactored session management logic, isolating sessionmanager to individual contexts.

testing

ran regression evals

greptile-apps[bot]

This comment was marked as resolved.

greptile-apps[bot]

This comment was marked as resolved.

Kylejeong2 and others added 6 commits October 13, 2025 15:20
…y tool descriptions for better context, add support if google apikey set, latest version of stagehand, remove custom availmodelschema to use stagehand
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
src/index.ts Outdated
import { AvailableModelSchema } from "./types/models.js";
import { PROMPTS, getPrompt } from "./mcp/prompts.js";
import { AvailableModelSchema } from "@browserbasehq/stagehand";
// import { PROMPTS, getPrompt } from "./mcp/prompts.js";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are you keeping these for the future?

src/index.ts Outdated
ListPromptsRequestSchema,
GetPromptRequestSchema,
// ListPromptsRequestSchema,
// GetPromptRequestSchema,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

src/index.ts Outdated
// server.server.setRequestHandler(GetPromptRequestSchema, async (request) => {
// const prompt = getPrompt(request.params.name);
// return prompt;
// });
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same

// if (!PROMPTS.some((prompt) => prompt.name === name)) {
// throw new Error(`Invalid prompt name: ${name}`);
// }
// }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same

@Kylejeong2 Kylejeong2 force-pushed the kyle/gro-307-mcp-tools-revamp branch from 638aed8 to ff3cda0 Compare October 16, 2025 18:23
Kylejeong2 added a commit to browserbase/stagehand that referenced this pull request Oct 16, 2025
…ocs (#1140)

# why

We recently shipped updates to our MCP server that should be reflected
in the documentation.

# what changed

update tools list for MCP update, removing mentions of multisession,
adding experimental flag + get url tool

related PR:
browserbase/mcp-server-browserbase#123

# test plan
n/a
@Kylejeong2 Kylejeong2 merged commit b7ec6f6 into main Oct 16, 2025
1 check passed
nludd25 pushed a commit to nludd25/stagehand that referenced this pull request Oct 16, 2025
…ocs (#1140)

# why

We recently shipped updates to our MCP server that should be reflected
in the documentation.

# what changed

update tools list for MCP update, removing mentions of multisession,
adding experimental flag + get url tool

related PR:
browserbase/mcp-server-browserbase#123

# test plan
n/a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants