Skip to main content
Glama

Curupira

by drzln
chrome-service.interface.ts1.02 kB
/** * Chrome Service Interface - Level 0 (Foundation) * Defines the contract for Chrome browser interaction services */ import type { IChromeClient, ConnectionOptions } from '../../chrome/interfaces.js'; export interface IChromeService { /** * Connect to a Chrome instance * @param options Connection options including host, port, etc. * @returns A connected Chrome client instance */ connect(options: ConnectionOptions): Promise<IChromeClient>; /** * Get the current client if connected * @returns The current Chrome client or null if not connected */ getCurrentClient(): IChromeClient | null; /** * Check if currently connected to Chrome */ isConnected(): boolean; /** * Disconnect from Chrome */ disconnect(): Promise<void>; /** * Enable console monitoring for a session */ enableConsoleMonitoring(sessionId: string): Promise<void>; /** * Get the default session ID for Chrome operations */ getDefaultSessionId(): Promise<string | null>; }

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/drzln/curupira'

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