Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/duke7able/gemini-mcp-desktop-client
/ functions
Functions
85 in github.com/duke7able/gemini-mcp-desktop-client
⨍
Functions
85
◇
Types & classes
16
↓ 83 callers
Function
logToFile
(message: string | unknown)
src/utils/llmChat/getMcpTools.ts:35
↓ 5 callers
Function
get
( url: string, config: AxiosRequestConfig = {} )
src/utils/api_helper/api_helper.ts:20
↓ 4 callers
Function
getGeminiApiKey
()
src/utils/getGeminiApiKey.ts:15
↓ 3 callers
Function
canSubmitForm
()
src/screens/Chat/MessageInput.tsx:127
↓ 2 callers
Function
checkAndRequestMicrophonePermission
()
electron/main.ts:45
↓ 2 callers
Function
createWindow
()
electron/main.ts:104
↓ 2 callers
Function
delay
(ms: number)
src/backend/controllers/llmChat/chatLLM.ts:108
↓ 2 callers
Function
logChatInteraction
( modelName: string, userQuery: string, chatbotResponse: string )
src/backend/controllers/llmChat/chatLLM.ts:118
↓ 2 callers
Function
parsePDFFile
( pdfFile: FormidableFile )
src/utils/llmChat/parsers/pdfParser.ts:9
↓ 2 callers
Function
post
( url: string, data: Record<string, any>, config: AxiosRequestConfig = {} )
src/utils/api_helper/api_helper.ts:33
↓ 2 callers
Function
renderList
( items: ServiceItem[], droppableId: string, color: string )
src/screens/McpSettingsPage/McpSettingsPage.tsx:591
↓ 2 callers
Function
sendMessageWithRetry
( chat: any, messageToSend: string | Part | Array<string | Part>, attemptInfo: string )
src/backend/controllers/llmChat/chatLLM.ts:156
↓ 1 callers
Function
addSingleFileToSelection
(file: File)
src/screens/Chat/MessageInput.tsx:160
↓ 1 callers
Function
checkIfBraveIsConfigfured
()
src/screens/Chat/MessageInput.tsx:102
↓ 1 callers
Function
checkServerConfig
()
src/screens/ServerConfiguration/ServerConfiguration.tsx:49
↓ 1 callers
Function
checkServerConfig
()
src/screens/Chat/ChatPage.tsx:33
↓ 1 callers
Function
connectToMcpServers
(webSearch: boolean)
src/utils/llmChat/getMcpTools.ts:211
↓ 1 callers
Function
convertMcpSchemaToGeminiSchema
(mcpSchema: McpTool['inputSchema'])
src/utils/llmChat/convertMcpSchemaToGeminiSchema.ts:8
↓ 1 callers
Function
createAxiosInstance
()
src/utils/api_helper/api_helper.ts:5
↓ 1 callers
Function
createServiceListFromConfigs
( configs: Record<string, any> )
src/screens/McpSettingsPage/McpSettingsPage.tsx:381
↓ 1 callers
Function
getDefaultServiceConfigs
(path: string)
src/utils/serviceConfigs.tsx:1
↓ 1 callers
Method
getDisplayMedia
(constraints?: MediaStreamConstraints)
src/screens/Chat/MessageInput.tsx:31
↓ 1 callers
Function
getFileIcon
(fileType: string)
src/screens/Chat/MessageItem.tsx:72
↓ 1 callers
Function
getHomeRoute
()
src/screens/McpSettingsPage/McpSettingsPage.tsx:366
↓ 1 callers
Function
groupChatsByDate
(chatHistories: ChatHistory[])
src/screens/Chat/ChatHistorySidebar.tsx:35
↓ 1 callers
Function
handleFieldChange
(key: string, value: string)
src/screens/McpSettingsPage/McpSettingsPage.tsx:276
↓ 1 callers
Function
handleFormSubmit
(e?: React.FormEvent<HTMLFormElement>)
src/screens/Chat/MessageInput.tsx:131
↓ 1 callers
Function
handleModelSelect
(model: string)
src/screens/Chat/ChatHeader.tsx:56
↓ 1 callers
Function
handleRemoveFile
(fileName: string)
src/screens/Chat/MessageInput.tsx:243
↓ 1 callers
Function
handleToggleSearchWeb
()
src/screens/Chat/MessageInput.tsx:98
↓ 1 callers
Function
initializeAndGetModel
(model: string,contentReadFromFile:string|boolean)
src/llm/gemini.ts:17
↓ 1 callers
Function
loadChat
(id: string)
src/screens/Chat/ChatPage.tsx:136
↓ 1 callers
Function
parseAudioFile
( audioFile: FormidableFile )
src/utils/llmChat/parsers/audioParser.ts:9
↓ 1 callers
Function
parseCSVFile
(file: FormidableFile | undefined)
src/utils/llmChat/parsers/csvParser.ts:4
↓ 1 callers
Function
parseDocxFile
(file: FormidableFile | undefined)
src/utils/llmChat/parsers/docxParser.ts:4
↓ 1 callers
Function
parseExcelFile
(file: FormidableFile | undefined)
src/utils/llmChat/parsers/excelParser.ts:5
↓ 1 callers
Function
parseForm
( req: Request )
src/backend/controllers/llmChat/chatLLM.ts:31
↓ 1 callers
Function
parseForm
( req: Request )
src/backend/controllers/llmChat/audioToText.ts:25
↓ 1 callers
Function
parseImageFile
( imageFile: FormidableFile )
src/utils/llmChat/parsers/imageParser.ts:9
↓ 1 callers
Function
parsePptxFile
( file: FormidableFile | undefined )
src/utils/llmChat/parsers/pptxParser.ts:4
↓ 1 callers
Function
parseTextFile
(file: FormidableFile | undefined)
src/utils/llmChat/parsers/txtParser.ts:5
↓ 1 callers
Function
parseVideoFile
( videoFile: FormidableFile )
src/utils/llmChat/parsers/videoParser.ts:9
↓ 1 callers
Function
scrollToBottom
()
src/screens/Chat/ChatPage.tsx:52
↓ 1 callers
Function
startServer
()
src/backend/server.ts:7
↓ 1 callers
Function
validateGeminiApiKey
(apiKey: string)
src/screens/ServerConfiguration/ServerConfiguration.tsx:18
Function
App
()
src/App.tsx:10
Function
ChatHeader
({ onMenuClick, selectedModel, setSelectedModel, }: ChatHeaderProps)
src/screens/Chat/ChatHeader.tsx:27
Function
ChatHistorySidebar
({ drawerOpen, toggleDrawer, chatHistories, loadChat, startNewChat, }: Props)
src/screens/Chat/ChatHistorySidebar.tsx:58
Function
ChatPage
()
src/screens/Chat/ChatPage.tsx:17
Function
EnvWarningButtonWithModal
({ item, onSave, }: { item: ServiceItem; onSave: (updated: ServiceItem) => void; })
src/screens/McpSettingsPage/McpSettingsPage.tsx:231
Function
MessageInput
({ onMessageSubmit, isLoading: parentIsLoading, }: Props)
src/screens/Chat/MessageInput.tsx:66
Function
MessageItem
({ message }: Props)
src/screens/Chat/MessageItem.tsx:83
Function
MessageList
({ messages, isLoading }: Props)
src/screens/Chat/MessageList.tsx:13
Function
ServerConfiguration
()
src/screens/ServerConfiguration/ServerConfiguration.tsx:43
Function
SettingsPage
()
src/screens/McpSettingsPage/McpSettingsPage.tsx:356
Function
TypingIndicator
()
src/screens/Chat/TypingIndicator.tsx:10
Function
audioToTextHandler
( req: Request, res: Response )
src/backend/controllers/llmChat/audioToText.ts:46
Function
chatWithLLM
(req: Request, res: Response)
src/backend/controllers/llmChat/chatLLM.ts:211
Function
del
( url: string, config: AxiosRequestConfig = {} )
src/utils/api_helper/api_helper.ts:82
Function
getHomePath
(_: any, res: any)
src/backend/controllers/mcpServiceController/getHomeRoute.ts:5
Function
getServerConfiguration
(_: any, res: any)
src/backend/controllers/serverConfiguration/getServerConfiguration.ts:14
Function
getServicesConfig
(_: any, res: any)
src/backend/controllers/mcpServiceController/getMcpServicesConfig.ts:14
Function
handleFileChange
(event: React.ChangeEvent<HTMLInputElement>)
src/screens/Chat/MessageInput.tsx:183
Function
handleFileSelectClick
()
src/screens/Chat/MessageInput.tsx:154
Function
handleKeyPress
(event: React.KeyboardEvent<HTMLDivElement>)
src/screens/Chat/MessageInput.tsx:147
Function
handleMessageSubmit
( text: string, files: File[], webSearch?: boolean )
src/screens/Chat/ChatPage.tsx:145
Function
handleModelButtonClick
(event: MouseEvent<HTMLElement>)
src/screens/Chat/ChatHeader.tsx:48
Function
handleModelMenuClose
()
src/screens/Chat/ChatHeader.tsx:52
Function
handleSave
()
src/screens/McpSettingsPage/McpSettingsPage.tsx:261
Function
handleSave
()
src/screens/ServerConfiguration/ServerConfiguration.tsx:65
Function
invoke
(...args: Parameters<typeof ipcRenderer.invoke>)
electron/preload.ts:17
Function
off
(...args: Parameters<typeof ipcRenderer.off>)
electron/preload.ts:9
Function
on
(...args: Parameters<typeof ipcRenderer.on>)
electron/preload.ts:5
Function
onDragEnd
(result: DropResult)
src/screens/McpSettingsPage/McpSettingsPage.tsx:532
Function
parseDocFile
(file: FormidableFile| undefined)
src/utils/llmChat/parsers/docParser.ts:7
Function
parsePptFile
( file: FormidableFile | undefined )
src/utils/llmChat/parsers/pptParser.ts:4
Function
postFormData
( url: string, data: FormData )
src/utils/api_helper/api_helper.ts:47
Function
put
( url: string, data: Record<string, any>, config: AxiosRequestConfig = {} )
src/utils/api_helper/api_helper.ts:68
Function
saveServerConfiguration
(req: any, res: any)
src/backend/controllers/serverConfiguration/saveServerConfiguration.ts:14
Function
saveServicesConfig
(req: any, res: any)
src/backend/controllers/mcpServiceController/saveMcpServicesConfig.ts:14
Function
saveSettings
()
src/screens/McpSettingsPage/McpSettingsPage.tsx:484
Function
send
(...args: Parameters<typeof ipcRenderer.send>)
electron/preload.ts:13
Function
startNewChat
()
src/screens/Chat/ChatPage.tsx:128
Function
toggleDrawer
()
src/screens/Chat/ChatPage.tsx:29
Function
updateLeftItem
(updatedItem: ServiceItem)
src/screens/McpSettingsPage/McpSettingsPage.tsx:584