MCPcopy Create free account

hub / github.com/XeroAPI/xero-mcp-server / functions

Functions147 in github.com/XeroAPI/xero-mcp-server

↓ 65 callersFunctionformatError
(error: unknown)
src/helpers/format-error.ts:50
↓ 52 callersMethodauthenticate
()
src/clients/xero-client.ts:214
↓ 51 callersFunctionCreateXeroTool
( name: string, description: string, schema: Args, handler: ToolCallback<Args>, )
src/helpers/create-xero-tool.ts:6
↓ 50 callersFunctiongetClientHeaders
()
src/helpers/get-client-headers.ts:3
↓ 11 callersFunctiongetDeepLink
(type: DeepLinkType, itemId: string)
src/helpers/get-deeplink.ts:29
↓ 6 callersFunctionmakeAxiosError
(status: number, detail?: string)
src/helpers/__tests__/format-error.test.ts:5
↓ 5 callersFunctionensureError
(value: unknown)
src/helpers/ensure-error.ts:1
↓ 3 callersMethodformatTokenError
(error: unknown, context: string)
src/clients/xero-client.ts:119
↓ 3 callersMethodrequestToken
(scope: string)
src/clients/xero-client.ts:159
↓ 2 callersFunctionbankTransactionDeepLink
(accountId: string, bankTransactionId: string)
src/consts/deeplinks.ts:24
↓ 2 callersFunctionformatAgedReportFilter
(fromDate?: string, toDate?: string)
src/helpers/format-aged-report-filter.ts:1
↓ 2 callersFunctionformatHttpStatus
(status: number)
src/helpers/format-error.ts:27
↓ 1 callersMethodGetServer
()
src/server/xero-mcp-server.ts:8
↓ 1 callersFunctionToolFactory
(server: McpServer)
src/tools/tool-factory.ts:9
↓ 1 callersFunctionaddTimesheetLine
(timesheetID: string, timesheetLine: TimesheetLine)
src/handlers/update-xero-payroll-timesheet-add-line.handler.ts:9
↓ 1 callersFunctionapproveTimesheet
(timesheetID: string)
src/handlers/approve-xero-payroll-timesheet.handler.ts:7
↓ 1 callersFunctionapproveXeroPayrollTimesheet
(timesheetID: string)
src/handlers/approve-xero-payroll-timesheet.handler.ts:22
↓ 1 callersFunctionbillDeepLink
(orgShortCode: string, billId: string)
src/consts/deeplinks.ts:32
↓ 1 callersFunctioncontactDeepLink
(orgShortCode: string, contactId: string)
src/consts/deeplinks.ts:5
↓ 1 callersFunctioncreateBankTransaction
( type: BankTransactionType, bankAccountId: string, contactId: string, lineItems: BankTransactionLineI
src/handlers/create-xero-bank-transaction.handler.ts:17
↓ 1 callersFunctioncreateContact
( name: string, email?: string, phone?: string, )
src/handlers/create-xero-contact.handler.ts:7
↓ 1 callersFunctioncreateCreditNote
( contactId: string, lineItems: CreditNoteLineItem[], reference: string | undefined, )
src/handlers/create-xero-credit-note.handler.ts:15
↓ 1 callersFunctioncreateInvoice
( contactId: string, lineItems: InvoiceLineItem[], type: Invoice.TypeEnum, reference: string | undefin
src/handlers/create-xero-invoice.handler.ts:17
↓ 1 callersFunctioncreateItem
( itemDetails: ItemDetails )
src/handlers/create-xero-item.handler.ts:26
↓ 1 callersFunctioncreateManualJournal
( narration: string, manualJournalLines: ManualJournalLine[], date?: string, lineAmountTypes?: LineAmo
src/handlers/create-xero-manual-journal.handler.ts:12
↓ 1 callersFunctioncreatePayment
({ invoiceId, accountId, amount, date, reference, }: PaymentProps)
src/handlers/create-xero-payment.handler.ts:15
↓ 1 callersFunctioncreateQuote
( quoteNumber: string | undefined, reference: string | undefined, terms: string | undefined, contactId
src/handlers/create-xero-quote.handler.ts:15
↓ 1 callersFunctioncreateTimesheet
(timesheet: Timesheet)
src/handlers/create-xero-payroll-timesheet.handler.ts:7
↓ 1 callersFunctioncreateTrackingCategory
( name: string )
src/handlers/create-xero-tracking-category.handler.ts:7
↓ 1 callersFunctioncreateTrackingOption
( trackingCategoryId: string, name: string )
src/handlers/create-xero-tracking-option.handler.ts:7
↓ 1 callersFunctioncreateXeroBankTransaction
( type: BankTransactionType, bankAccountId: string, contactId: string, lineItems: BankTransactionLineI
src/handlers/create-xero-bank-transaction.handler.ts:57
↓ 1 callersFunctioncreateXeroContact
( name: string, email?: string, phone?: string, )
src/handlers/create-xero-contact.handler.ts:43
↓ 1 callersFunctioncreateXeroCreditNote
( contactId: string, lineItems: CreditNoteLineItem[], reference?: string, )
src/handlers/create-xero-credit-note.handler.ts:50
↓ 1 callersFunctioncreateXeroInvoice
( contactId: string, lineItems: InvoiceLineItem[], type: Invoice.TypeEnum = Invoice.TypeEnum.ACCREC, r
src/handlers/create-xero-invoice.handler.ts:59
↓ 1 callersFunctioncreateXeroItem
( itemDetails: ItemDetails )
src/handlers/create-xero-item.handler.ts:75
↓ 1 callersFunctioncreateXeroManualJournal
( narration: string, manualJournalLines: ManualJournalLine[], date?: string, lineAmountTypes?: LineAmo
src/handlers/create-xero-manual-journal.handler.ts:65
↓ 1 callersFunctioncreateXeroPayment
({ invoiceId, accountId, amount, date, reference, }: PaymentProps)
src/handlers/create-xero-payment.handler.ts:49
↓ 1 callersFunctioncreateXeroPayrollTimesheet
(timesheet: Timesheet)
src/handlers/create-xero-payroll-timesheet.handler.ts:22
↓ 1 callersFunctioncreateXeroQuote
( contactId: string, lineItems: QuoteLineItem[], reference?: string, quoteNumber?: string, terms?: s
src/handlers/create-xero-quote.handler.ts:59
↓ 1 callersFunctioncreateXeroTrackingCategory
( name: string )
src/handlers/create-xero-tracking-category.handler.ts:28
↓ 1 callersFunctioncreateXeroTrackingOptions
( trackingCategoryId: string, optionNames: string[] )
src/handlers/create-xero-tracking-option.handler.ts:28
↓ 1 callersFunctioncreditNoteDeepLink
( orgShortCode: string, creditNoteId: string, )
src/consts/deeplinks.ts:9
↓ 1 callersFunctiondeleteTimesheet
(timesheetID: string)
src/handlers/delete-xero-payroll-timesheet.handler.ts:5
↓ 1 callersFunctiondeleteXeroPayrollTimesheet
(timesheetID: string)
src/handlers/delete-xero-payroll-timesheet.handler.ts:17
↓ 1 callersFunctionfetchEmployeeLeave
* Internal function to fetch employee leave from Xero
src/handlers/list-xero-payroll-employee-leave.handler.ts:15
↓ 1 callersFunctionfetchEmployeeLeaveBalances
* Internal function to fetch employee leave balances from Xero
src/handlers/list-xero-payroll-employee-leave-balances.handler.ts:10
↓ 1 callersFunctionfetchEmployeeLeaveTypes
* Internal function to fetch employee leave types from Xero
src/handlers/list-xero-payroll-employee-leave-types.handler.ts:10
↓ 1 callersFunctionfetchLeavePeriods
* Internal function to fetch employee leave periods from Xero
src/handlers/list-xero-payroll-leave-periods.handler.ts:15
↓ 1 callersFunctionfetchLeaveTypes
* Internal function to fetch leave types from Xero
src/handlers/list-xero-payroll-leave-types.handler.ts:10
↓ 1 callersFunctionfetchProfitAndLoss
* Internal function to fetch profit and loss data from Xero
src/handlers/list-xero-profit-and-loss.handler.ts:13
↓ 1 callersFunctionfetchTrialBalance
* Internal function to fetch trial balance data from Xero
src/handlers/list-xero-trial-balance.handler.ts:10
↓ 1 callersFunctiongetBankTransaction
(bankTransactionId: string)
src/handlers/update-xero-bank-transaction.handler.ts:17
↓ 1 callersFunctiongetBankTransactions
( page: number, bankAccountId?: string, )
src/handlers/list-xero-bank-transactions.handler.ts:7
↓ 1 callersMethodgetClientCredentialsToken
()
src/clients/xero-client.ts:127
↓ 1 callersFunctiongetContactGroups
(contactGroupId?: string)
src/handlers/list-xero-contact-groups.handler.ts:7
↓ 1 callersFunctiongetContacts
(page?: number, searchTerm?: string)
src/handlers/list-xero-contacts.handler.ts:7
↓ 1 callersFunctiongetCreditNote
(creditNoteId: string)
src/handlers/update-xero-credit-note.handler.ts:15
↓ 1 callersFunctiongetCreditNotes
( contactId: string | undefined, page: number, )
src/handlers/list-xero-credit-notes.handler.ts:7
↓ 1 callersFunctiongetExternalLink
(url: string)
src/helpers/get-external-link.ts:6
↓ 1 callersFunctiongetInvoice
(invoiceId: string)
src/handlers/update-xero-invoice.handler.ts:17
↓ 1 callersFunctiongetInvoices
( invoiceNumbers: string[] | undefined, contactIds: string[] | undefined, page: number, )
src/handlers/list-xero-invoices.handler.ts:7
↓ 1 callersFunctiongetItems
( page: number, )
src/handlers/list-xero-items.handler.ts:7
↓ 1 callersFunctiongetManualJournals
( page: number, manualJournalId?: string, modifiedAfter?: string, )
src/handlers/list-xero-manual-journals.handler.ts:7
↓ 1 callersFunctiongetOrganisationDetails
()
src/handlers/list-xero-organisation-details.handler.ts:7
↓ 1 callersFunctiongetPackageVersion
()
src/helpers/get-package-version.ts:9
↓ 1 callersFunctiongetPayments
( page: number = 1, { invoiceNumber, invoiceId, paymentId, reference, }: { invoiceNu
src/handlers/list-xero-payments.handler.ts:7
↓ 1 callersFunctiongetPayrollEmployees
()
src/handlers/list-xero-payroll-employees.handler.ts:7
↓ 1 callersFunctiongetQuote
(quoteId: string)
src/handlers/update-xero-quote.handler.ts:15
↓ 1 callersFunctiongetQuotes
( contactId: string | undefined, page: number, quoteNumber: string | undefined, )
src/handlers/list-xero-quotes.handler.ts:7
↓ 1 callersFunctiongetReportBalanceSheet
(params: ListReportBalanceSheetParams)
src/handlers/list-xero-report-balance-sheet.handler.ts:10
↓ 1 callersFunctiongetTaxRates
()
src/handlers/list-xero-tax-rates.handler.ts:7
↓ 1 callersFunctiongetTimesheet
(timesheetID: string)
src/handlers/get-xero-payroll-timesheet.handler.ts:7
↓ 1 callersFunctiongetTimesheets
()
src/handlers/list-xero-timesheets.handler.ts:7
↓ 1 callersFunctiongetTrackingCategories
( includeArchived?: boolean )
src/handlers/list-xero-tracking-categories.handler.ts:7
↓ 1 callersFunctiongetTrackingCategory
(trackingCategoryId: string)
src/handlers/update-xero-tracking-category.handler.ts:9
↓ 1 callersFunctiongetTrackingOptions
(trackingCategoryId: string)
src/handlers/update-xero-tracking-options.handler.ts:15
↓ 1 callersFunctiongetXeroPayrollTimesheet
(timesheetID: string)
src/handlers/get-xero-payroll-timesheet.handler.ts:22
↓ 1 callersFunctioninvoiceDeepLink
(orgShortCode: string, invoiceId: string)
src/consts/deeplinks.ts:1
↓ 1 callersFunctionisXeroSdkError
(error: unknown)
src/helpers/format-error.ts:20
↓ 1 callersFunctionlistAccounts
()
src/handlers/list-xero-accounts.handler.ts:7
↓ 1 callersFunctionlistAgedPayablesByContact
( contactId: string, reportDate?: string, invoicesFromDate?: string, invoicesToDate?: string )
src/handlers/list-aged-payables-by-contact.handler.ts:7
↓ 1 callersFunctionlistAgedReceivablesByContact
( contactId: string, reportDate?: string, invoicesFromDate?: string, invoicesToDate?: string )
src/handlers/list-aged-receivables-by-contact.handler.ts:7
↓ 1 callersFunctionlistXeroAccounts
()
src/handlers/list-xero-accounts.handler.ts:25
↓ 1 callersFunctionlistXeroAgedPayablesByContact
( contactId: string, reportDate?: string, invoicesFromDate?: string, invoicesToDate?: string )
src/handlers/list-aged-payables-by-contact.handler.ts:27
↓ 1 callersFunctionlistXeroAgedReceivablesByContact
( contactId: string, reportDate?: string, invoicesFromDate?: string, invoicesToDate?: string )
src/handlers/list-aged-receivables-by-contact.handler.ts:27
↓ 1 callersFunctionlistXeroBankTransactions
( page: number = 1, bankAccountId?: string )
src/handlers/list-xero-bank-transactions.handler.ts:26
↓ 1 callersFunctionlistXeroContactGroups
(contactGroupId?: string)
src/handlers/list-xero-contact-groups.handler.ts:31
↓ 1 callersFunctionlistXeroContacts
(page?: number, searchTerm?: string)
src/handlers/list-xero-contacts.handler.ts:29
↓ 1 callersFunctionlistXeroCreditNotes
( page: number = 1, contactId?: string, )
src/handlers/list-xero-credit-notes.handler.ts:30
↓ 1 callersFunctionlistXeroInvoices
( page: number = 1, contactIds?: string[], invoiceNumbers?: string[], )
src/handlers/list-xero-invoices.handler.ts:38
↓ 1 callersFunctionlistXeroItems
( page: number = 1, )
src/handlers/list-xero-items.handler.ts:26
↓ 1 callersFunctionlistXeroManualJournals
( page: number = 1, manualJournalId?: string, modifiedAfter?: string, )
src/handlers/list-xero-manual-journals.handler.ts:40
↓ 1 callersFunctionlistXeroOrganisationDetails
()
src/handlers/list-xero-organisation-details.handler.ts:27
↓ 1 callersFunctionlistXeroPayments
( page: number = 1, { invoiceNumber, invoiceId, paymentId, reference, }: { invoiceNu
src/handlers/list-xero-payments.handler.ts:59
↓ 1 callersFunctionlistXeroPayrollEmployeeLeave
( employeeId: string, )
src/handlers/list-xero-payroll-employee-leave.handler.ts:37
↓ 1 callersFunctionlistXeroPayrollEmployeeLeaveBalances
( employeeId: string, )
src/handlers/list-xero-payroll-employee-leave-balances.handler.ts:30
↓ 1 callersFunctionlistXeroPayrollEmployeeLeaveTypes
( employeeId: string, )
src/handlers/list-xero-payroll-employee-leave-types.handler.ts:30
↓ 1 callersFunctionlistXeroPayrollEmployees
()
src/handlers/list-xero-payroll-employees.handler.ts:24
↓ 1 callersFunctionlistXeroPayrollLeavePeriods
( employeeId: string, startDate?: string, endDate?: string, )
src/handlers/list-xero-payroll-leave-periods.handler.ts:42
↓ 1 callersFunctionlistXeroPayrollLeaveTypes
()
src/handlers/list-xero-payroll-leave-types.handler.ts:26
next →1–100 of 147, ranked by callers