Skip to content

MCP is broken - its failing - local sHTTP #149

@surapuramakhil

Description

@surapuramakhil

just following these instructions

https://docs.stagehand.dev/v3/integrations/mcp/setup#local-development

akhil@Mac mcp-server-browserbase % npm install
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: @browserbasehq/mcp-server-browserbase@2.4.3
npm warn Found: zod@4.3.6
npm warn node_modules/zod
npm warn   zod@"^3.25.67" from the root project
npm warn   24 more (@ai-sdk/anthropic, @ai-sdk/azure, @ai-sdk/cerebras, ...)
npm warn
npm warn Could not resolve dependency:
npm warn peer zod@"^4" from @smithery/cli@1.6.7
npm warn node_modules/@smithery/cli
npm warn   dev @smithery/cli@"^1.2.15" from the root project
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: @browserbasehq/mcp-server-browserbase@2.4.3
npm warn Found: zod@4.3.6
npm warn node_modules/zod
npm warn   zod@"^3.25.67" from the root project
npm warn   24 more (@ai-sdk/anthropic, @ai-sdk/azure, @ai-sdk/cerebras, ...)
npm warn
npm warn Could not resolve dependency:
npm warn peer zod@"^4" from @smithery/sdk@3.0.1
npm warn node_modules/@smithery/sdk
npm warn   peer @smithery/sdk@"^3.0.1" from @smithery/cli@1.6.7
npm warn   node_modules/@smithery/cli
npm warn ERESOLVE overriding peer dependency

> @browserbasehq/mcp-server-browserbase@2.4.3 prepare
> husky && pnpm build


> @browserbasehq/mcp-server-browserbase@2.4.3 build /Users/akhil/mcp-server-browserbase
> tsc && shx chmod +x dist/*.js

src/index.ts:127:5 - error TS2353: Object literal may only specify known properties, and 'capabilities' does not exist in type '{ version: string; name: string; websiteUrl?: string | undefined; description?: string | undefined; icons?: { src: string; mimeType?: string | undefined; sizes?: string[] | undefined; theme?: "light" | ... 1 more ... | undefined; }[] | undefined; title?: string | undefined; }'.

127     capabilities: {
        ~~~~~~~~~~~~


Found 1 error in src/index.ts:127

 ELIFECYCLE  Command failed with exit code 2.
npm error code 2
npm error path /Users/akhil/mcp-server-browserbase
npm error command failed
npm error command sh -c husky && pnpm build
npm error A complete log of this run can be found in: /Users/akhil/.npm/_logs/2026-02-18T17_01_40_402Z-debug-0.log
akhil@Mac mcp-server-browserbase % 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions