Skip to main content
Glama

Context Optimizer MCP Server

schema.ts976 B
/** * Configuration schema definitions for the MCP server * * All configuration is loaded from environment variables */ export interface MCPServerConfig { // Security boundaries security: { allowedBasePaths: string[]; // Allowed working directories maxFileSize: number; // Max file size for analysis (bytes) commandTimeout: number; // Command execution timeout (ms) sessionTimeout: number; // Session expiration (ms) }; // LLM providers llm: { provider: 'gemini' | 'claude' | 'openai'; model?: string; // Optional custom model geminiKey?: string; claudeKey?: string; openaiKey?: string; }; // Research tools research: { exaKey?: string; // Exa.ai API key }; // Server settings server: { sessionStoragePath?: string; // Custom session storage location logLevel: 'error' | 'warn' | 'info' | 'debug'; }; }

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/malaksedarous/context-optimizer-mcp-server'

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