Skip to main content
Glama

MCPControl

config.ts1.12 kB
/** * Configuration interface for automation settings */ export interface AutomationConfig { /** * Legacy: The provider to use for all automation * Currently supported: 'keysender' */ provider?: string; /** * New: Modular provider configuration * Allows mixing different providers for different components */ providers?: { keyboard?: string; mouse?: string; screen?: string; clipboard?: string; }; } /** * Load configuration from environment variables */ export function loadConfig(): AutomationConfig { // Check for new modular configuration const keyboard = process.env.AUTOMATION_KEYBOARD_PROVIDER; const mouse = process.env.AUTOMATION_MOUSE_PROVIDER; const screen = process.env.AUTOMATION_SCREEN_PROVIDER; const clipboard = process.env.AUTOMATION_CLIPBOARD_PROVIDER; if (keyboard || mouse || screen || clipboard) { return { providers: { keyboard, mouse, screen, clipboard, }, }; } // Fall back to legacy configuration return { provider: process.env.AUTOMATION_PROVIDER || 'keysender', }; }

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/claude-did-this/MCPControl'

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