Skip to main content
Glama

Exa MCP Server

by dsouza-anush
logger.ts732 B
/** * Simple logging utility for MCP server */ export const log = (message: string): void => { console.error(`[EXA-MCP-DEBUG] ${message}`); }; export const createRequestLogger = (requestId: string, toolName: string) => { return { log: (message: string): void => { log(`[${requestId}] [${toolName}] ${message}`); }, start: (query: string): void => { log(`[${requestId}] [${toolName}] Starting search for query: "${query}"`); }, error: (error: unknown): void => { log(`[${requestId}] [${toolName}] Error: ${error instanceof Error ? error.message : String(error)}`); }, complete: (): void => { log(`[${requestId}] [${toolName}] Successfully completed request`); } }; };

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/dsouza-anush/exa-mcp-server-heroku'

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