UNPKG

exa-mcp-server

Version:

A Model Context Protocol server with Exa for web search, academic paper search, and Twitter/X.com search. Provides real-time web searches with configurable tool selection, allowing users to enable or disable specific search capabilities. Supports customiz

26 lines 685 B
import { z } from "zod"; export interface ToolRegistry { name: string; description: string; schema: z.ZodRawShape; handler: (args: { [key: string]: any; }, extra: any) => Promise<{ content: { type: "text"; text: string; }[]; isError?: boolean; }>; enabled: boolean; } export declare const API_CONFIG: { readonly BASE_URL: "https://api.exa.ai"; readonly ENDPOINTS: { readonly SEARCH: "/search"; }; readonly DEFAULT_NUM_RESULTS: 5; readonly DEFAULT_MAX_CHARACTERS: 3000; }; export declare const toolRegistry: Record<string, ToolRegistry>; //# sourceMappingURL=config.d.ts.map