We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/greatSumini/puppeteer-swarm-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
import { BrowserState } from "../types/browser-state.js";
export class BrowserStateManager {
private state: BrowserState = 'not_launched';
getState(): BrowserState {
return this.state;
}
isLaunched(): boolean {
return this.state === 'launched';
}
setLaunched(): void {
this.state = 'launched';
}
setClosed(): void {
this.state = 'not_launched';
}
}
export const browserStateManager = new BrowserStateManager();