Skip to main content
Glama

MCP Browser Screenshot Server

environment.tsโ€ข884 B
/** * @license * Copyright 2020 Google Inc. * SPDX-License-Identifier: Apache-2.0 */ import type FS from 'node:fs'; import type Path from 'node:path'; import type {ScreenRecorder} from './node/ScreenRecorder.js'; /** * @internal */ export const isNode = !!(typeof process !== 'undefined' && process.version); export interface EnvironmentDependencies { fs: typeof FS; path?: typeof Path; ScreenRecorder: typeof ScreenRecorder; } /** * Holder for environment dependencies. These dependencies cannot * be used during the module instantiation. */ export const environment: { value: EnvironmentDependencies; } = { value: { get fs(): typeof FS { throw new Error('fs is not available in this environment'); }, get ScreenRecorder(): typeof ScreenRecorder { throw new Error('ScreenRecorder is not available in this environment'); }, }, };

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/seabassgonzalez/mcp-browser-screenshot'

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