MCP Server

Available Tools

Every action an AI app can take in PineBill through the MCP server.

Your AI app picks the right tool from your request, so you don't need to name them. Tools marked Edit need view and edit access.


Invoices

ToolWhat it doesAccess
list_invoicesFind invoices by status or search textView
fetch_invoiceGet one invoice with its items, customer, and totalsView
get_invoice_pdf_urlGet a download link for an invoice PDF (valid for 1 hour)View
list_invoice_paymentsList the payments recorded on an invoiceView
create_invoiceCreate an invoice with any template, language, or format optionEdit
update_invoiceChange an invoice's items, dates, customer, or optionsEdit
send_invoice_emailEmail an invoice to the customerEdit
delete_invoiceDelete an invoiceEdit

Estimates

ToolWhat it doesAccess
list_estimatesFind estimates by status or search textView
fetch_estimateGet one estimate with its items and totalsView
get_estimate_pdf_urlGet a download link for an estimate PDF (valid for 1 hour)View
create_estimateCreate an estimateEdit
update_estimateChange an estimateEdit
send_estimate_emailEmail an estimate to the customerEdit
delete_estimateDelete an estimateEdit

Creating or updating an invoice or estimate also returns a link to its PDF, so you can ask "Create the invoice and give me the PDF" and open it straight from the chat. For an existing document, ask for its link, for example "Get me the PDF for INV-0042".

  • Links are private and expire after 1 hour. Anyone with the link can open the PDF until then, so don't post it publicly. After it expires, ask for a new one.
  • To send a document to a customer, email it with send_invoice_email or send_estimate_email, or create a share link from the invoice or estimate page in PineBill. Don't paste a download link into an email, because it stops working after an hour.

Customers and Products

ToolWhat it doesAccess
list_customersSearch customersView
fetch_customerGet one customer's detailsView
create_customerAdd a customerEdit
update_customerChange a customer's detailsEdit
delete_customerDelete a customerEdit
list_productsSearch products and servicesView
fetch_productGet one product's detailsView
create_productAdd a product or serviceEdit
update_productChange a productEdit
delete_productDelete a productEdit

Expenses

ToolWhat it doesAccess
list_expensesFind expenses by search text or dateView
fetch_expenseGet one expense and its receipt infoView
create_expenseAdd an expense with its amount, date, category, and vendorEdit
update_expenseChange an expenseEdit
delete_expenseDelete an expenseEdit

Projects

ToolWhat it doesAccess
list_projectsFind projects by status or search textView
fetch_projectGet one project with its tasks, invoices, estimates, and expensesView
create_projectCreate a project for a customer, with a budget and datesEdit
update_projectChange a project's details or statusEdit
delete_projectDelete a projectEdit

Tasks

ToolWhat it doesAccess
list_tasksFind tasks by status, project, assignee, or due dateView
fetch_taskGet one task with its tracked time, project, and assigneeView
create_taskCreate a task, optionally in a project, assigned, with a rateEdit
update_taskChange a task, including moving it to another statusEdit
delete_taskDelete a taskEdit

Time Tracking

ToolWhat it doesAccess
list_running_timersEvery task with a timer running right now, and for how longView
get_task_time_historyEach start, pause, stop, and manual change on a task, and who did itView
control_task_timerStart, pause, resume, or stop a task's timerEdit
adjust_task_timeAdd or remove minutes by hand, with an optional noteEdit

Pausing and stopping both add the elapsed time to the task's total. Use pause for a break and stop when you're done.

Calendar

ToolWhat it doesAccess
list_calendarEvents, task due dates, invoice due dates, project deadlines, and expenses by dateView
create_calendar_eventAdd an event, such as a client meetingEdit
update_calendar_eventMove, rename, or change an eventEdit
delete_calendar_eventDelete an eventEdit

Only calendar events can be changed with the calendar tools. Tasks, invoices, projects, and expenses that appear on the calendar are changed with their own tools.

Reports

ToolWhat it doesAccess
get_business_overviewRevenue, outstanding balance, and key numbersView
get_revenue_reportRevenue over a periodView
get_invoice_agingUnpaid invoices grouped by how overdue they areView
get_customer_growthNew customers over timeView
get_expense_reportSpending and expense count over a periodView

Reports follow your plan, the same as in the dashboard.

Lookups

ToolWhat it doesAccess
list_payment_methodsSaved payment methods to put on an invoice (no account details)View
list_employeesEmployees an invoice or estimate can be assigned toView
get_dateToday's date, for due dates and date rangesView

Tips for Better Results

  • Look things up first. Ask the app to find the customer or product before creating an invoice, so it uses the right record.
  • Be specific with amounts. Say the currency, quantity, and rate, for example "12 hours at $90".
  • Ask for the PDF when you need it. Download links expire after an hour, so ask for a fresh one instead of reusing an old link.
  • Review before approving. Check the details your app shows before you approve an email or a delete. Neither can be undone.
  • Emails are limited. Apps can send up to 30 invoice and estimate emails an hour for you. See Usage limits.

On this page