Skip to main content
Glama
mednabouli

MCP Multi-Context Hook Generator

by mednabouli
mcp-ai.config.ts1.56 kB
// Description: Configuration for AI agents in MCP (Multi-Cloud Platform) export interface MCPAgentConfig { ci: any; enableAI: boolean; // Master switch for AI suggestions defaultAgent: 'none' | 'copilot' | 'openai' | 'custom'; projectOverrides?: Record<string, Partial<MCPAgentConfig>>; // Optional per-project overrides maxRetries?: number; // Retry AI calls if failed apiKeys?: { openai?: string; // Add your OpenAI key copilot?: string; // Add your Copilot key custom?: string; // Custom AI endpoint }; cursorIDEIntegration?: boolean; // Enable Cursor/IDE hints autoSuggest?: { hooks?: boolean; // Suggest hooks pageRenderMode?: boolean; // Suggest page render modes docs?: boolean; // Suggest documentation links components?: boolean; // Suggest components }; uiFramework?: 'tailwind' | 'shadcn' | 'mui' | 'none' | 'auto'; // UI framework for component suggestions } export const mcpAgentConfig: MCPAgentConfig = { enableAI: true, defaultAgent: 'copilot', maxRetries: 2, apiKeys: { openai: process.env.OPENAI_API_KEY || '', copilot: process.env.COPILOT_API_KEY || '', custom: process.env.CUSTOM_AI_API_KEY || '', }, cursorIDEIntegration: true, autoSuggest: { hooks: true, pageRenderMode: true, docs: true, components: true, }, projectOverrides: { // Example: override for a specific repo/project 'my-nextjs-app': { defaultAgent: 'openai', enableAI: true, }, }, uiFramework: 'auto', ci: { failOnBreakingChange: true, }, };

Latest Blog Posts

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/mednabouli/MCPV2'

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