Skip to main content
Glama

mcp-server-browserbase

Official
by browserbase
Apache 2.0
2,054
2,682
config.d.ts2.95 kB
import type { Cookie } from "playwright-core"; import type { AvailableModelSchema } from "./src/types/models.js"; export type Config = { /** * Browserbase API Key to authenticate requests */ browserbaseApiKey: string; /** * Browserbase Project ID associated with the API key */ browserbaseProjectId: string; /** * Whether or not to use Browserbase proxies * https://docs.browserbase.com/features/proxies * * @default false */ proxies?: boolean; /** * Use advanced stealth mode. Only available to Browserbase Scale Plan users. * * @default false */ advancedStealth?: boolean; /** * Whether or not to keep the Browserbase session alive * * @default false */ keepAlive?: boolean; /** * Potential Browserbase Context to use * Would be a context ID */ context?: { /** * The ID of the context to use */ contextId?: string; /** * Whether or not to persist the context * * @default true */ persist?: boolean; }; /** * The viewport of the browser * @default { browserWidth: 1024, browserHeight: 768 } */ viewPort?: { /** * The width of the browser */ browserWidth?: number; /** * The height of the browser */ browserHeight?: number; }; /** * Cookies to inject into the Browserbase context * Format: Array of cookie objects with name, value, domain, and optional path, expires, httpOnly, secure, sameSite */ cookies?: Cookie[]; /** * Server configuration for MCP transport layer * * Controls how the MCP server binds and listens for connections. * When port is specified, the server will start an SHTTP transport. * When both port and host are undefined, the server uses stdio transport. * * Security considerations: * - Use localhost (default) for local development * - Use 0.0.0.0 only when you need external access and have proper security measures * - Consider firewall rules and network security when exposing the server */ server?: { /** * The port to listen on for SHTTP or MCP transport. * If undefined, uses stdio transport instead of HTTP. * * @example 3000 */ port?: number; /** * The host to bind the server to. * * @default "localhost" - Only accepts local connections * @example "0.0.0.0" - Accepts connections from any interface (use with caution) */ host?: string; }; /** * The Model that Stagehand uses * Available models: OpenAI, Claude, Gemini, Cerebras, Groq, and other providers * * @default "google/gemini-2.0-flash" */ modelName?: AvailableModelSchema; /** * API key for the custom model provider * Required when using a model other than the default google/gemini-2.0-flash */ modelApiKey?: string; /** * Enable experimental features * * @default false */ experimental?: boolean; };

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/browserbase/mcp-server-browserbase'

If you have feedback or need assistance with the MCP directory API, please join our Discord server