UNPKG

@nekobato/chatgpt-websearch-mcp

Version:

A local MCP stdio server that provides access to the OpenAI (ChatGPT) API with web search capabilities for Claude Code and other MCP clients.

19 lines (18 loc) 858 B
export declare const REASONING_MODELS: readonly ["gpt-5", "gpt-5-mini", "gpt-5-nano", "o3", "o3-pro", "o4-mini"]; export declare const REGULAR_MODELS: readonly ["gpt-4.1", "gpt-4.1-mini"]; export declare const ALL_SUPPORTED_MODELS: readonly ["gpt-5", "gpt-5-mini", "gpt-5-nano", "o3", "o3-pro", "o4-mini", "gpt-4.1", "gpt-4.1-mini"]; export type SupportedModel = (typeof ALL_SUPPORTED_MODELS)[number]; export declare function isReasoningModel(model: string): boolean; export declare function isSupportedModel(model: string): model is SupportedModel; export interface ReasoningParams { effort?: 'minimal' | 'low' | 'medium' | 'high'; verbosity?: 'low' | 'medium' | 'high'; } export interface ChatParams { model: string; prompt: string; temperature?: number; stream?: boolean; maxTokens?: number; reasoning?: ReasoningParams; }