MCPcopy Index your code

hub / github.com/duke7able/gemini-mcp-desktop-client / functions

Functions85 in github.com/duke7able/gemini-mcp-desktop-client

↓ 83 callersFunctionlogToFile
(message: string | unknown)
src/utils/llmChat/getMcpTools.ts:35
↓ 5 callersFunctionget
( url: string, config: AxiosRequestConfig = {} )
src/utils/api_helper/api_helper.ts:20
↓ 4 callersFunctiongetGeminiApiKey
()
src/utils/getGeminiApiKey.ts:15
↓ 3 callersFunctioncanSubmitForm
()
src/screens/Chat/MessageInput.tsx:127
↓ 2 callersFunctioncheckAndRequestMicrophonePermission
()
electron/main.ts:45
↓ 2 callersFunctioncreateWindow
()
electron/main.ts:104
↓ 2 callersFunctiondelay
(ms: number)
src/backend/controllers/llmChat/chatLLM.ts:108
↓ 2 callersFunctionlogChatInteraction
( modelName: string, userQuery: string, chatbotResponse: string )
src/backend/controllers/llmChat/chatLLM.ts:118
↓ 2 callersFunctionparsePDFFile
( pdfFile: FormidableFile )
src/utils/llmChat/parsers/pdfParser.ts:9
↓ 2 callersFunctionpost
( url: string, data: Record<string, any>, config: AxiosRequestConfig = {} )
src/utils/api_helper/api_helper.ts:33
↓ 2 callersFunctionrenderList
( items: ServiceItem[], droppableId: string, color: string )
src/screens/McpSettingsPage/McpSettingsPage.tsx:591
↓ 2 callersFunctionsendMessageWithRetry
( chat: any, messageToSend: string | Part | Array<string | Part>, attemptInfo: string )
src/backend/controllers/llmChat/chatLLM.ts:156
↓ 1 callersFunctionaddSingleFileToSelection
(file: File)
src/screens/Chat/MessageInput.tsx:160
↓ 1 callersFunctioncheckIfBraveIsConfigfured
()
src/screens/Chat/MessageInput.tsx:102
↓ 1 callersFunctioncheckServerConfig
()
src/screens/ServerConfiguration/ServerConfiguration.tsx:49
↓ 1 callersFunctioncheckServerConfig
()
src/screens/Chat/ChatPage.tsx:33
↓ 1 callersFunctionconnectToMcpServers
(webSearch: boolean)
src/utils/llmChat/getMcpTools.ts:211
↓ 1 callersFunctionconvertMcpSchemaToGeminiSchema
(mcpSchema: McpTool['inputSchema'])
src/utils/llmChat/convertMcpSchemaToGeminiSchema.ts:8
↓ 1 callersFunctioncreateAxiosInstance
()
src/utils/api_helper/api_helper.ts:5
↓ 1 callersFunctioncreateServiceListFromConfigs
( configs: Record<string, any> )
src/screens/McpSettingsPage/McpSettingsPage.tsx:381
↓ 1 callersFunctiongetDefaultServiceConfigs
(path: string)
src/utils/serviceConfigs.tsx:1
↓ 1 callersMethodgetDisplayMedia
(constraints?: MediaStreamConstraints)
src/screens/Chat/MessageInput.tsx:31
↓ 1 callersFunctiongetFileIcon
(fileType: string)
src/screens/Chat/MessageItem.tsx:72
↓ 1 callersFunctiongetHomeRoute
()
src/screens/McpSettingsPage/McpSettingsPage.tsx:366
↓ 1 callersFunctiongroupChatsByDate
(chatHistories: ChatHistory[])
src/screens/Chat/ChatHistorySidebar.tsx:35
↓ 1 callersFunctionhandleFieldChange
(key: string, value: string)
src/screens/McpSettingsPage/McpSettingsPage.tsx:276
↓ 1 callersFunctionhandleFormSubmit
(e?: React.FormEvent<HTMLFormElement>)
src/screens/Chat/MessageInput.tsx:131
↓ 1 callersFunctionhandleModelSelect
(model: string)
src/screens/Chat/ChatHeader.tsx:56
↓ 1 callersFunctionhandleRemoveFile
(fileName: string)
src/screens/Chat/MessageInput.tsx:243
↓ 1 callersFunctionhandleToggleSearchWeb
()
src/screens/Chat/MessageInput.tsx:98
↓ 1 callersFunctioninitializeAndGetModel
(model: string,contentReadFromFile:string|boolean)
src/llm/gemini.ts:17
↓ 1 callersFunctionloadChat
(id: string)
src/screens/Chat/ChatPage.tsx:136
↓ 1 callersFunctionparseAudioFile
( audioFile: FormidableFile )
src/utils/llmChat/parsers/audioParser.ts:9
↓ 1 callersFunctionparseCSVFile
(file: FormidableFile | undefined)
src/utils/llmChat/parsers/csvParser.ts:4
↓ 1 callersFunctionparseDocxFile
(file: FormidableFile | undefined)
src/utils/llmChat/parsers/docxParser.ts:4
↓ 1 callersFunctionparseExcelFile
(file: FormidableFile | undefined)
src/utils/llmChat/parsers/excelParser.ts:5
↓ 1 callersFunctionparseForm
( req: Request )
src/backend/controllers/llmChat/chatLLM.ts:31
↓ 1 callersFunctionparseForm
( req: Request )
src/backend/controllers/llmChat/audioToText.ts:25
↓ 1 callersFunctionparseImageFile
( imageFile: FormidableFile )
src/utils/llmChat/parsers/imageParser.ts:9
↓ 1 callersFunctionparsePptxFile
( file: FormidableFile | undefined )
src/utils/llmChat/parsers/pptxParser.ts:4
↓ 1 callersFunctionparseTextFile
(file: FormidableFile | undefined)
src/utils/llmChat/parsers/txtParser.ts:5
↓ 1 callersFunctionparseVideoFile
( videoFile: FormidableFile )
src/utils/llmChat/parsers/videoParser.ts:9
↓ 1 callersFunctionscrollToBottom
()
src/screens/Chat/ChatPage.tsx:52
↓ 1 callersFunctionstartServer
()
src/backend/server.ts:7
↓ 1 callersFunctionvalidateGeminiApiKey
(apiKey: string)
src/screens/ServerConfiguration/ServerConfiguration.tsx:18
FunctionApp
()
src/App.tsx:10
FunctionChatHeader
({ onMenuClick, selectedModel, setSelectedModel, }: ChatHeaderProps)
src/screens/Chat/ChatHeader.tsx:27
FunctionChatHistorySidebar
({ drawerOpen, toggleDrawer, chatHistories, loadChat, startNewChat, }: Props)
src/screens/Chat/ChatHistorySidebar.tsx:58
FunctionChatPage
()
src/screens/Chat/ChatPage.tsx:17
FunctionEnvWarningButtonWithModal
({ item, onSave, }: { item: ServiceItem; onSave: (updated: ServiceItem) => void; })
src/screens/McpSettingsPage/McpSettingsPage.tsx:231
FunctionMessageInput
({ onMessageSubmit, isLoading: parentIsLoading, }: Props)
src/screens/Chat/MessageInput.tsx:66
FunctionMessageItem
({ message }: Props)
src/screens/Chat/MessageItem.tsx:83
FunctionMessageList
({ messages, isLoading }: Props)
src/screens/Chat/MessageList.tsx:13
FunctionServerConfiguration
()
src/screens/ServerConfiguration/ServerConfiguration.tsx:43
FunctionSettingsPage
()
src/screens/McpSettingsPage/McpSettingsPage.tsx:356
FunctionTypingIndicator
()
src/screens/Chat/TypingIndicator.tsx:10
FunctionaudioToTextHandler
( req: Request, res: Response )
src/backend/controllers/llmChat/audioToText.ts:46
FunctionchatWithLLM
(req: Request, res: Response)
src/backend/controllers/llmChat/chatLLM.ts:211
Functiondel
( url: string, config: AxiosRequestConfig = {} )
src/utils/api_helper/api_helper.ts:82
FunctiongetHomePath
(_: any, res: any)
src/backend/controllers/mcpServiceController/getHomeRoute.ts:5
FunctiongetServerConfiguration
(_: any, res: any)
src/backend/controllers/serverConfiguration/getServerConfiguration.ts:14
FunctiongetServicesConfig
(_: any, res: any)
src/backend/controllers/mcpServiceController/getMcpServicesConfig.ts:14
FunctionhandleFileChange
(event: React.ChangeEvent<HTMLInputElement>)
src/screens/Chat/MessageInput.tsx:183
FunctionhandleFileSelectClick
()
src/screens/Chat/MessageInput.tsx:154
FunctionhandleKeyPress
(event: React.KeyboardEvent<HTMLDivElement>)
src/screens/Chat/MessageInput.tsx:147
FunctionhandleMessageSubmit
( text: string, files: File[], webSearch?: boolean )
src/screens/Chat/ChatPage.tsx:145
FunctionhandleModelButtonClick
(event: MouseEvent<HTMLElement>)
src/screens/Chat/ChatHeader.tsx:48
FunctionhandleModelMenuClose
()
src/screens/Chat/ChatHeader.tsx:52
FunctionhandleSave
()
src/screens/McpSettingsPage/McpSettingsPage.tsx:261
FunctionhandleSave
()
src/screens/ServerConfiguration/ServerConfiguration.tsx:65
Functioninvoke
(...args: Parameters<typeof ipcRenderer.invoke>)
electron/preload.ts:17
Functionoff
(...args: Parameters<typeof ipcRenderer.off>)
electron/preload.ts:9
Functionon
(...args: Parameters<typeof ipcRenderer.on>)
electron/preload.ts:5
FunctiononDragEnd
(result: DropResult)
src/screens/McpSettingsPage/McpSettingsPage.tsx:532
FunctionparseDocFile
(file: FormidableFile| undefined)
src/utils/llmChat/parsers/docParser.ts:7
FunctionparsePptFile
( file: FormidableFile | undefined )
src/utils/llmChat/parsers/pptParser.ts:4
FunctionpostFormData
( url: string, data: FormData )
src/utils/api_helper/api_helper.ts:47
Functionput
( url: string, data: Record<string, any>, config: AxiosRequestConfig = {} )
src/utils/api_helper/api_helper.ts:68
FunctionsaveServerConfiguration
(req: any, res: any)
src/backend/controllers/serverConfiguration/saveServerConfiguration.ts:14
FunctionsaveServicesConfig
(req: any, res: any)
src/backend/controllers/mcpServiceController/saveMcpServicesConfig.ts:14
FunctionsaveSettings
()
src/screens/McpSettingsPage/McpSettingsPage.tsx:484
Functionsend
(...args: Parameters<typeof ipcRenderer.send>)
electron/preload.ts:13
FunctionstartNewChat
()
src/screens/Chat/ChatPage.tsx:128
FunctiontoggleDrawer
()
src/screens/Chat/ChatPage.tsx:29
FunctionupdateLeftItem
(updatedItem: ServiceItem)
src/screens/McpSettingsPage/McpSettingsPage.tsx:584