MCPcopy Create free account

hub / github.com/cauldr0nx/EspoMCP / functions

Functions115 in github.com/cauldr0nx/EspoMCP

↓ 31 callersFunctionformatDateTime
(dateTimeString: string)
EspoMCP/src/utils/formatting.ts:425
↓ 27 callersFunctionsanitizeInput
(input: any)
EspoMCP/src/utils/validation.ts:49
↓ 19 callersMethodaddResult
(test, status, details)
EspoMCP/chatbot-bridge/test-chatbot.js:219
↓ 19 callersMethodget
(entity: string, params?: any)
EspoMCP/src/espocrm/client.ts:105
↓ 15 callersFunctionnormalizeDateTime
(value: string)
EspoMCP/src/utils/validation.ts:17
↓ 14 callersFunctionnormalizeTaskDates
(entityType: string, data: Record<string, any>)
EspoMCP/src/utils/validation.ts:131
↓ 12 callersFunctionformatContactDetails
(contact: Contact)
EspoMCP/src/utils/formatting.ts:263
↓ 10 callersMethodbuildWhereClause
(filters: Record<string, any>)
EspoMCP/src/espocrm/client.ts:277
↓ 10 callersFunctionformatGenericEntityResults
(entities: GenericEntity[], entityType: string)
EspoMCP/src/utils/formatting.ts:174
↓ 10 callersFunctionformatLargeResultSet
(items: T[], formatter: (items: T[]) => string, maxItems = 20)
EspoMCP/src/utils/formatting.ts:542
↓ 10 callersMethodhandleError
(error: any, context: string)
EspoMCP/src/utils/errors.ts:4
↓ 8 callersMethodcomputeHmacHeader
* Compute the HMAC-SHA256 signature and return the full X-Hmac-Authorization header value. * * Per the EspoCRM API spec the string-to-sign is `{
EspoMCP/src/espocrm/client.ts:265
↓ 8 callersFunctionformatExtraFields
* Appends any extra fields (including custom fields) that aren't in the known set. * This ensures custom fields from any EspoCRM instance are display
EspoMCP/src/utils/formatting.ts:8
↓ 8 callersMethodlinkRecords
(entity: string, id: string, link: string, foreignIds: string | string[])
EspoMCP/src/espocrm/client.ts:173
↓ 7 callersFunctionformatUserResults
(users: User[])
EspoMCP/src/utils/formatting.ts:370
↓ 7 callersFunctionvalidateConfiguration
()
EspoMCP/src/config/index.ts:77
↓ 6 callersMethoddelete
(entity: string, id: string)
EspoMCP/src/espocrm/client.ts:144
↓ 6 callersFunctionformatTeamResults
(teams: Team[])
EspoMCP/src/utils/formatting.ts:160
↓ 6 callersMethodgetRelated
(entity: string, id: string, link: string, params?: any)
EspoMCP/src/espocrm/client.ts:164
↓ 6 callersFunctionloadConfig
()
EspoMCP/src/config/index.ts:49
↓ 6 callersMethodsearch
(entity: string, searchParams: { where?: WhereClause[]; select?: string[]; orderBy?: string; o
EspoMCP/src/espocrm/client.ts:199
↓ 6 callersFunctionvalidateProbability
(probability: number)
EspoMCP/src/utils/validation.ts:105
↓ 5 callersFunctionformatCallResults
(calls: any[])
EspoMCP/src/utils/formatting.ts:440
↓ 5 callersFunctionformatCaseResults
(cases: any[])
EspoMCP/src/utils/formatting.ts:456
↓ 5 callersFunctionformatContactResults
(contacts: Contact[])
EspoMCP/src/utils/formatting.ts:29
↓ 5 callersFunctionformatCurrency
(amount: number)
EspoMCP/src/utils/formatting.ts:405
↓ 5 callersFunctionformatDate
(dateString: string)
EspoMCP/src/utils/formatting.ts:412
↓ 5 callersFunctionformatGenericEntityDetails
(entity: GenericEntity, entityType: string)
EspoMCP/src/utils/formatting.ts:234
↓ 5 callersFunctionformatMeetingDetails
(meeting: Meeting)
EspoMCP/src/utils/formatting.ts:346
↓ 5 callersFunctionformatNoteResults
(notes: any[])
EspoMCP/src/utils/formatting.ts:472
↓ 5 callersFunctionformatTaskResults
(tasks: Task[])
EspoMCP/src/utils/formatting.ts:95
↓ 5 callersMethodtestConnection
()
EspoMCP/src/espocrm/client.ts:243
↓ 5 callersMethodunlinkRecords
(entity: string, id: string, link: string, foreignIds: string | string[])
EspoMCP/src/espocrm/client.ts:186
↓ 5 callersFunctionvalidateAmount
(amount: number)
EspoMCP/src/utils/validation.ts:95
↓ 4 callersFunctionformatAccountDetails
(account: Account)
EspoMCP/src/utils/formatting.ts:285
↓ 4 callersFunctionformatLeadResults
(leads: Lead[])
EspoMCP/src/utils/formatting.ts:78
↓ 4 callersFunctionformatMeetingResults
(meetings: Meeting[])
EspoMCP/src/utils/formatting.ts:330
↓ 4 callersFunctionformatOpportunityResults
(opportunities: Opportunity[])
EspoMCP/src/utils/formatting.ts:62
↓ 4 callersFunctionsimulateRequest
* Simulate dispatching a request through the rate limiter. * * `clock` represents the current wall-clock time. It must be >= the * previous call's
EspoMCP/tests/properties/rate-limiter.prop.test.ts:45
↓ 4 callersFunctionvalidateDateRange
(startDate?: string, endDate?: string)
EspoMCP/src/utils/validation.ts:84
↓ 4 callersFunctionvalidateEntityId
(id: string, entityType: string)
EspoMCP/src/utils/validation.ts:69
↓ 3 callersMethodaddMessage
(sender, content, timestamp = null)
EspoMCP/chatbot-bridge/public/widget.js:471
↓ 3 callersMethodcleanup
()
EspoMCP/chatbot-bridge/test-chatbot.js:256
↓ 3 callersFunctionformatAccountResults
(accounts: Account[])
EspoMCP/src/utils/formatting.ts:46
↓ 3 callersFunctionformatTaskDetails
(task: Task)
EspoMCP/src/utils/formatting.ts:112
↓ 3 callersFunctionformatUserDetails
(user: User)
EspoMCP/src/utils/formatting.ts:386
↓ 3 callersMethodgetById
(entity: string, id: string, select?: string[])
EspoMCP/src/espocrm/client.ts:154
↓ 3 callersMethodpatch
(entity: string, id: string, data: any)
EspoMCP/src/espocrm/client.ts:134
↓ 3 callersMethodpost
(entity: string, data: any)
EspoMCP/src/espocrm/client.ts:114
↓ 3 callersMethodscrollToBottom
()
EspoMCP/chatbot-bridge/public/widget.js:505
↓ 2 callersMethodanalyzeForToolUsage
(message)
EspoMCP/chatbot-bridge/src/mcp-chatbot.js:157
↓ 2 callersMethodautoResizeInput
()
EspoMCP/chatbot-bridge/public/widget.js:500
↓ 2 callersFunctioncheckSlidingWindowInvariant
* Check the sliding window invariant: for every possible 60-second window * anchored at any dispatched timestamp, the count of dispatched timestamps
EspoMCP/tests/properties/rate-limiter.prop.test.ts:81
↓ 2 callersMethodcloseChat
()
EspoMCP/chatbot-bridge/public/widget.js:448
↓ 2 callersMethodexecuteMCPTools
(tools, extractedData)
EspoMCP/chatbot-bridge/src/mcp-chatbot.js:217
↓ 2 callersFunctionformatLeadDetails
(lead: Lead)
EspoMCP/src/utils/formatting.ts:136
↓ 2 callersFunctionformatOpportunityDetails
(opportunity: Opportunity)
EspoMCP/src/utils/formatting.ts:307
↓ 2 callersMethodformatTime
(date)
EspoMCP/chatbot-bridge/public/widget.js:511
↓ 2 callersMethodhideTyping
()
EspoMCP/chatbot-bridge/public/widget.js:492
↓ 2 callersMethodinitializeSocket
()
EspoMCP/chatbot-bridge/public/widget.js:407
↓ 2 callersMethodsendMessage
()
EspoMCP/chatbot-bridge/public/widget.js:453
↓ 2 callersMethodshowErrorMessage
(message)
EspoMCP/chatbot-bridge/public/widget.js:496
↓ 2 callersFunctionsortedRequestTimesArb
(count: number)
EspoMCP/tests/properties/rate-limiter.prop.test.ts:111
↓ 2 callersFunctionvalidateUserContext
(context)
EspoMCP/chatbot-bridge/src/middleware/security.js:120
↓ 1 callersMethodbindEvents
()
EspoMCP/chatbot-bridge/public/widget.js:360
↓ 1 callersMethodbuildSystemPrompt
()
EspoMCP/chatbot-bridge/src/mcp-chatbot.js:17
↓ 1 callersMethodcallMCPTool
(toolName, args)
EspoMCP/chatbot-bridge/src/mcp-chatbot.js:265
↓ 1 callersMethodcleanup
()
EspoMCP/chatbot-bridge/src/middleware/security.js:48
↓ 1 callersMethodconnectSocket
()
EspoMCP/chatbot-bridge/public/widget.js:390
↓ 1 callersMethodcreateStyles
()
EspoMCP/chatbot-bridge/public/widget.js:42
↓ 1 callersMethodcreateWidget
()
EspoMCP/chatbot-bridge/public/widget.js:300
↓ 1 callersMethodescapeHtml
(text)
EspoMCP/chatbot-bridge/public/widget.js:515
↓ 1 callersMethodextractDataFromMessage
(message, tools)
EspoMCP/chatbot-bridge/src/mcp-chatbot.js:193
↓ 1 callersFunctiongetClientForKey
(apiKey: string)
EspoMCP/src/tools/index.ts:48
↓ 1 callersMethodgetSessionId
()
EspoMCP/chatbot-bridge/public/widget.js:536
↓ 1 callersMethodgetUserId
()
EspoMCP/chatbot-bridge/public/widget.js:521
↓ 1 callersMethodinit
()
EspoMCP/chatbot-bridge/public/widget.js:35
↓ 1 callersFunctionisDateOnly
(value: string)
EspoMCP/src/utils/validation.ts:123
↓ 1 callersFunctionmain
()
EspoMCP/src/index.ts:27
↓ 1 callersFunctionnormalizeDate
(value: string)
EspoMCP/src/utils/validation.ts:24
↓ 1 callersMethodopenChat
()
EspoMCP/chatbot-bridge/public/widget.js:441
↓ 1 callersMethodprintResults
()
EspoMCP/chatbot-bridge/test-chatbot.js:224
↓ 1 callersMethodprocessMessage
(message, context = {})
EspoMCP/chatbot-bridge/src/mcp-chatbot.js:46
↓ 1 callersMethodprocessWithFallback
(message)
EspoMCP/chatbot-bridge/src/mcp-chatbot.js:342
↓ 1 callersMethodprocessWithOpenAI
(message, conversation)
EspoMCP/chatbot-bridge/src/mcp-chatbot.js:105
↓ 1 callersMethodput
(entity: string, id: string, data: any)
EspoMCP/src/espocrm/client.ts:124
↓ 1 callersMethodrunAllTests
()
EspoMCP/chatbot-bridge/test-chatbot.js:25
↓ 1 callersFunctionsanitizeMessage
(message)
EspoMCP/chatbot-bridge/src/middleware/security.js:99
↓ 1 callersFunctionsetupEspoCRMTools
(server: Server, config: Config)
EspoMCP/src/tools/index.ts:34
↓ 1 callersMethodsetupInterceptors
()
EspoMCP/src/espocrm/client.ts:35
↓ 1 callersMethodshowTyping
()
EspoMCP/chatbot-bridge/public/widget.js:487
↓ 1 callersMethodstartServer
()
EspoMCP/chatbot-bridge/test-chatbot.js:54
↓ 1 callersMethodtestChatFlow
()
EspoMCP/chatbot-bridge/test-chatbot.js:120
↓ 1 callersMethodtestErrorHandling
()
EspoMCP/chatbot-bridge/test-chatbot.js:187
↓ 1 callersMethodtestHealth
()
EspoMCP/chatbot-bridge/test-chatbot.js:79
↓ 1 callersMethodtestMCPIntegration
()
EspoMCP/chatbot-bridge/test-chatbot.js:151
↓ 1 callersMethodtestWebSocket
()
EspoMCP/chatbot-bridge/test-chatbot.js:95
↓ 1 callersMethodtoggleChat
()
EspoMCP/chatbot-bridge/public/widget.js:433
FunctionauthenticateSocket
(socket, next)
EspoMCP/chatbot-bridge/src/middleware/security.js:200
MethodcheckLimit
(socketId)
EspoMCP/chatbot-bridge/src/middleware/security.js:28
next →1–100 of 115, ranked by callers