Railit

Railit for Claude

Connect Claude to your Railit company and run the business from a conversation: raise an invoice, record an expense, change a menu price, check which till is offline, or read this month's profit. Every change shows a preview card with exactly what changed, an Open in Railit link, and Undo.

Connect

The server address:

https://railit.ai/mcp

  1. In Claude, open Settings, Connectors, choose Add custom connector (or pick Railit from the directory), and paste the address above.
  2. Sign in to Railit. If you belong to more than one company, choose the one this connection is for.
  3. Choose Full access (read and change) or Read only, then press Allow.
  4. Ask Claude something about your business. Its first answer will say which company it is connected to.

A company can also be addressed directly at https://railit.ai/<company>/mcp. A connection always belongs to exactly one company; to use two, add two connectors.

Transport: Streamable HTTP (stateless POST). Authorization: OAuth 2.1 with PKCE (S256) and dynamic client registration; discovery at /.well-known/oauth-protected-resource and /.well-known/oauth-authorization-server. Access tokens last one hour and refresh automatically.

What keeps it safe

You approve every change

Every tool that changes something is marked so, and Claude asks before running it. Read-only tools are marked read-only.

A preview of exactly what was done

The card beside each call shows the record, the fields before and after, money totals, and who and which company. It is built from Railit's own audit rows, not from what the AI intended.

One-press undo

Everything the connector changes is in the activity log and can be undone from the card, from Claude, or from Railit.

Nothing irreversible

Payments, refunds, voids, reversals, bank account changes and leave decisions are not offered over the connector: 9 tools stay in the app, where a person does them.

Your roles apply

The connection acts as you, with your role in that company. A Viewer or a read-only grant gets the 53 read-only tools and nothing else.

One company per connection

A token names one company and every query is scoped to it. Another company's data cannot be reached through it.

Examples

Tools (121)

Generated from the server's own tool list. Every tool has a title and a read-only or change annotation, and draws the preview card.

Bank and money

List bank accounts
list_bank_accounts
Read onlyEvery active bank account WITH ITS CURRENT BALANCE from the general ledger.
List expense accounts
list_expense_accounts
Read onlyList active accounts of type=EXPENSE so write tools can pick the right one.
Post journal adjustment
record_adjustment_draft
Changes dataPropose a manual journal for what fits no module: a correction, a salary deduction, a write-off, a cash shortfall, owner money in or out, a bank charge.
Set default bank account
set_default_bank_account_draft
Changes dataMake one bank account the default (الحساب الافتراضي): the one payments and payroll offer first.

Documents

Files

Find files
find_files
Read onlySearch the company's stored documents by name and by date: contracts, CR certificates, licences, receipts, photographs, anything anybody uploaded or sent here.
Create folder
create_folder
Changes dataMake a folder on the Files page, so a company can keep its documents the way it thinks about them ("سوّ لي مجلد للعقود", "make a folder for the licences").
File documents into a folder
file_documents
Changes dataPut documents away: into a folder, against a record, or both at once.
Check an upload
get_upload_status
Read onlyWhat has arrived through a link from request_upload_link: each file with its attachment id, name, type and size, and whether the link is still open.

Items, menu and stock

Find items
find_item
Read onlyFind a product or service in the catalogue by name (English or Arabic), SKU or id.
List low stock
list_low_stock
Read onlyEvery stocked item at or below its reorder point, with how many are left and how many to order.
Get stock value
get_stock_value
Read onlyWhat the stock is worth right now, in total and optionally per warehouse, together with the balance of account 1300 Inventory so a mismatch is visible.
Get recipe
get_recipe
Read onlyWhat a dish is made of (الوصفة / المكونات): each ingredient with its quantity per one sold, the waste %, its unit, and the cost per plate worked out from what the ingredients are worth today.
List option groups
list_modifier_groups
Read onlyThe menu option groups (خيارات الطلب / الإضافات), e.g.
List menu categories
list_item_categories
Read onlyThe menu's categories (Drinks, Mains, Desserts): id, English and Arabic name, parent, whether it is active, and how many items are in each.
Create item
create_item_draft
Changes dataPropose a new product or service for the catalogue (صنف جديد).
Update item
update_item_draft
Changes dataPropose a change to an existing item: the price above all, but also the name, the unit, the reorder point, whether and where it shows on the till (sell_on_till, till_sort), its photo (image_url), or making it inactive.
Adjust stock
adjust_stock_draft
Changes dataPropose a stock correction: a physical count that differs from the books (COUNT), goods damaged, expired or stolen (WRITE_OFF), or stock that existed before the company started using this system (OPENING).
Add item photo
upload_item_image_from_url
Changes dataPut a photo on a product (صورة الصنف) from a public image link.
Set recipe
set_recipe_draft
Changes dataWrite what a dish is made of (الوصفة / المكونات): the ingredients, how much of each goes into ONE sold, and the waste %.
Create or edit option group
set_modifier_group_draft
Changes dataCreate or change a menu option group: a question the till asks when a dish is tapped ("Spice level / الحرارة": Mild, Spicy), with the price each choice adds.
Attach option group to items
attach_modifier_group_draft
Changes dataOffer an existing option group on more dishes, or stop offering it, without restating its options: "put Spice level on the falafel wrap too".
Edit menu category
update_item_category_draft
Changes dataChange one menu category the way the Items page does: rename it, set or clear its Arabic name, move it under a parent (or to the top with parent null), or switch it off or on.
Remove item photo
remove_item_image_draft
Changes dataTake the photo off one menu item, so the till and the ordering page show its name only.

People and leave

Get leave balance
leave_balance
Read onlyHow much leave somebody has left: annual, sick and unpaid, with what has been taken and what is carried over.
See who is off
who_is_off
Read onlyWho is away between two dates, and on what kind of leave.
Find leave requests
find_leave_requests
Read onlyLeave requests, newest first.
List leave types
list_leave_types
Read onlyThe kinds of leave this company has, with their codes.
List payroll runs
list_payroll_runs
Read onlyThe payroll runs (مسيرات الرواتب), newest pay date first: number, period, pay date, status (DRAFT, POSTED, PAID), how many payslips and the gross and net totals.
Get payslip
get_payslip
Read onlyOne payslip (قسيمة راتب): the employee, the run and its period and status, gross, deductions, net, notes, and whether it has been paid.
Update employee
update_employee_draft
Changes dataPropose a change to an existing employee, salary, role, department, contact details.
Book leave
book_leave_draft
Changes dataPropose time off. Resolve relative dates yourself ("next Thursday" → a YYYY-MM-DD) rather than passing them through.
Approve or decline leave
decide_leave_draft
Changes dataPropose approving or declining somebody's leave request.
Create payroll run
create_payroll_run_draft
Changes dataStart a payroll run as a DRAFT (مسير رواتب مسودة): one payslip per active employee (or only employee_ids) for the period, at their base salary plus active allowances, for checking and editing on the Payroll page.
Record attendance
record_attendance_draft
Changes dataRecord attendance days and salary allowances, as the Attendance page does (الحضور والبدلات).
Terminate employee
terminate_employee_draft
Changes dataMark an employee as having left (إنهاء خدمة), as the Employees page does: status TERMINATED as of now, and their sign-in sessions for this company end at once.

Purchasing and expenses

Find bills
find_bill
Read onlyFind a vendor bill by number, id, or list recent for a vendor name.
Find expenses
find_expense
Read onlyFind an expense by number or id.
Find vendors
find_vendor
Read onlyFind a vendor by name fragment, email, or id.
Record expense
create_expense_draft
Changes dataStage an expense draft for user approval.
Record purchase bill
create_purchase_draft
Changes dataTurn what is running low into purchase orders.
Create bill
create_bill_draft
Changes dataEnter a supplier bill (فاتورة مورّد) exactly as it came in: any supplier, any lines, with VAT.
Post bill
post_bill_draft
Changes dataPost a DRAFT supplier bill: the goods are received (every stocked line goes into stock at the bill's price, and becomes that item's last purchase price) and the bill is booked to the ledger as owed to the supplier.
Set item suppliers
set_item_suppliers_draft
Changes dataSay who we buy each product from and what it costs us (مورّد الصنف وتكلفته): one row per product and supplier, up to 100 at once.

Records and the activity log

List records
list_records
Read onlyList or browse records of one kind: employees, customers, vendors, invoices, bills, expenses, quotations, payments, items (the product and service catalogue, the price list, not what is on the shelf; find_item and get_st...
Add note to record
add_note
Changes dataLeave a note on a record: an expense, an invoice, a bill, a customer, an employee, anything with a document number.
Find records by amount
find_by_amount
Read onlyIs a payment somebody just showed you ALREADY RECORDED?
List recent changes
list_changes
Read onlyThe activity log: every change made in this company with who, when, through which connection and tool, which record, and the fields before and after.
Preview an undo
plan_undo
Read onlyWhat undoing ONE change (an audit_id from list_changes) would do, before doing it: which fields go back to what, or that a deleted record comes back with its lines, and whether it is allowed.
Import customers, vendors or employees
enter_records
Changes dataAdd people and companies to this workspace: staff, customers, suppliers.
Update customer or vendor
update_party_draft
Changes dataPropose a change to a customer or supplier already on file, email, phone, address, VAT or CR number, the trading name, or notes.
Delete record
delete_record_draft
Changes data, asks firstDelete a DRAFT invoice, supplier bill, expense or quotation, a product (kind "item", حذف صنف), a menu option group (kind "modifier_group", once no dish offers it), or a menu category (kind "item_category", حذف فئة, by it...
Undo changes
undo_changes_draft
Changes data, asks firstTake back changes, newest first, through the product's own undo: one change (audit_ids from list_changes), several, or everything in a window ("everything you did in the last hour": who this_connection, last_minutes 60).

Reports

Get financial snapshot
get_balance_sheet_snapshot
Read onlyRevenue, expenses and net profit from the GENERAL LEDGER, plus open receivables and payables, plus what is being held for CUSTOMERS, overpayments, deposits and refunds not yet paid back, named customer by customer.
Audit the ledger
audit_ledger
Read onlyREAD THE GENERAL LEDGER ITSELF and report what is wrong with it.
Find journal entry
find_journal_entry
Read onlyRead ONE journal entry and its lines: every account with its debit and its credit, the date, the memo, what document it came from, and whether it has already been reversed (and by which entry).
Summarize records
summarize_records
Read onlyCount and total a collection without listing it.
Get till sales
get_pos_sales
Read onlyWhat the till sold over a date range, in the company's own time zone: orders, gross, discounts, VAT, refunds, average ticket, and the same broken down by item, category, hour of day, order type (dine in, takeaway, delive...
Get report
get_report
Read onlyA financial report as DATA, computed from the ledger by the same service as the Reports page, so the figures match the screen and the PDF: profit_and_loss (revenue and expenses by account, net) and cash_flow for a period...
Schedule the WhatsApp sales digest
set_scheduled_report_draft
Changes dataThe sales digest sent to WhatsApp on a schedule, as on Settings > WhatsApp > Reports: create one (daily or weekly, a time HH:mm in the company's time zone, the WhatsApp numbers it goes to), change one, or stop one (stays listed, switched off).

Sales and online ordering

Find invoices
find_invoice
Read onlyFind an invoice by number (e.g.
Find customers
find_customer
Read onlyFind a customer by name fragment, email, phone number, or id.
List overdue invoices
list_overdue_invoices
Read onlyList currently overdue invoices, SENT or PARTIAL with a due_date in the past.
Get ordering website settings
get_website_settings
Read onlyEverything set on the online ordering page: on or off, title, tagline, announcement, about text (English and Arabic), which sections show and in what ORDER (hero, announcement, featured, menu, about, hours, contact), the...
List online orders
list_online_orders
Read onlyOrders placed on the online ordering page: who (name, phone), what, total, how they collect it (pickup, car with the car number, delivery with the address), status (PENDING waiting to be accepted, ACCEPTED with the ready...
Get delivery settings
get_delivery_settings
Read onlyHow delivery from the online ordering page works for this company: on or off and whether it is taking deliveries right now, the restaurant's location (and a map link), the rules (delivery hours or the opening hours, maxi...
Quote a delivery fee
quote_delivery
Read onlyWhat a customer at an address would be quoted for delivery, exactly as the ordering page computes it: which zone, the fee (or free), the minimum and whether the food meets it, the small-order fee, the time, the distance, or why delivery is refused there.
Find credit notes
find_credit_note
Read onlyLook up credit notes by number (CN-...), by the invoice they were raised against, by customer name or id, or by status (DRAFT, OPEN, CLOSED, VOID).
Create invoice
create_invoice_draft
Changes dataStage an INVOICE for user approval, a demand for payment for work already agreed or delivered.
Create quotation
create_quotation_draft
Changes dataStage a QUOTATION for user approval, a priced offer to a customer for work not yet agreed.
Update ordering website
update_website_draft
Changes dataChange the online ordering page, in one change: switch it on or off (enabled), the title, tagline, announcement banner and about text in English and Arabic, which sections show and their ORDER (sections: the visible ones...
Open or pause online ordering
set_online_ordering_status_draft
Changes dataPause online orders because the kitchen is busy ("pause for 30 minutes"), or resume them.
Set restaurant location
set_restaurant_location_draft
Changes dataSet where the restaurant is, for distance rings and the maximum delivery distance: a full Google Maps link the owner pasted (the long one; a short maps.app.goo.gl link cannot be read without calling Google, so ask them t...
Set delivery zones
set_delivery_zones_draft
Changes dataSet the delivery zones: AREA zones name Bahrain areas (and optionally block numbers), RING zones are distances from the restaurant (from_km to to_km; needs the restaurant location).
Set delivery rules
set_delivery_rules_draft
Changes dataThe rules around delivery: switch it on or off; its own hours (seven days, Sunday first; or hours_every_day with closed_days) or same_as_opening_hours; the furthest it goes (max_km, null for no cap); what happens below a...
Update online order status
set_online_order_status_draft
Changes dataMove one order from the online ordering page along, exactly as the Online orders page and the till do: accept it (rings it up at the till and promises a ready time; ready_in_minutes, default the page's preparation time),...
Set ordering page cover
set_website_cover_from_url
Changes dataPut a picture from a public link (JPEG, PNG or WebP, the restaurant's own photo) at the top of the online ordering page, as Settings > Online ordering > Cover does, or remove the cover (remove: true).
Edit draft invoice
update_invoice_draft
Changes dataEdit a DRAFT invoice: its customer, issue and due dates, notes, discount, VAT rate or lines.
Email invoice to customer
send_invoice_email_draft
Changes dataEmail an issued invoice to its customer, at the email on the customer's record, with the invoice PDF attached (the same PDF the dashboard downloads, in the customer's document language unless language says otherwise).
Email quotation to customer
send_quotation_email_draft
Changes dataEmail a quotation to its customer, at the email on the customer's record, with the quotation PDF attached.
Mark quotation sent, accepted or rejected
set_quotation_status_draft
Changes dataMove a quotation along: sent (from DRAFT), accepted (the customer agreed, from SENT) or rejected (from SENT, and reason is required: the customer's reason, in the user's words).
Convert quotation to invoice
convert_quotation_to_invoice_draft
Changes dataTurn a SENT or accepted quotation into a DRAFT invoice with the same customer, lines, discount and VAT, due in 30 days, exactly as the dashboard's Convert does.
Draft credit note
create_credit_note_draft
Changes dataDraft a credit note against an issued invoice, for the same customer, currency and VAT rate: the whole invoice (leave lines and amount out), chosen lines (lines: each the invoice line's position, optionally with a smalle...

The web

Read a web page
read_website
Reads a web pageRead a company's public web page and pull out its details, address, phone, email, CR number, logo.

Workspace memory

Recall workspace memory
recall
Read onlyRead the full text of one of the notes or procedures listed under "What you can look up".
Remember a fact
remember
Changes dataWrite down something the user told you that will still be true next week, how their business works, a term you would otherwise have to ask about again, or how this person likes to work.
Forget a fact
forget
Changes dataDelete a memory by name, when the user says it is wrong or no longer applies.

Workspace, setup and the till

Get document design
get_document_design
Read onlyRead how this workspace's invoices, quotations and thermal till receipt are designed right now: the brand accent colour, whether a logo is set, the document language (en/ar/both) and paper size, and the receipt's tagline...
Get setup progress
onboarding_status
Read onlyWhere this company is in getting set up, and what is left.
Get workspace layout
get_layout
Read onlyHow this company's screens are laid out: every row of the dashboard side menu with its key, English and Arabic label, the heading it sits under, and whether it is hidden; the custom order; and the till view (till_photos:...
List payment methods
list_payment_methods
Read onlyHow this company's till is paid: every payment method (cash, card, BenefitPay, bank transfer, and any extra card acquirer), whether it is switched on, which bank account its money settles to, the acquirer or receiving bank, and whether the till can use it.
Get till features
get_till_features
Read onlyWhat this company's tills may do after a sale: the Orders list and how far back it reaches (history_days 1, 3 or 7), reprinting receipts and kitchen tickets, taking payment later on an unpaid order, editing orders, voids...
List cash drawer sessions
list_cash_sessions
Read onlyThe tills' cash drawer shifts, newest first: which till, who opened it and when, the opening float, and for a closed one who closed it, the cash counted, the cash expected (float + cash sales - cash refunds) and the difference (negative is short).
List tills
list_tills
Read onlyThe till tablets of this company: name, five-digit code, whether it is online, and whether it was removed.
Live till status
get_pos_live
Read onlyThe restaurant's till system right now: every till tablet (online or offline, last seen, app version, battery, the printers it prints to), the print stations (browsers at the counter with USB printers; which one is the M...
List kitchen stations
list_kitchen_stations
Read onlyThe kitchen's sections that each print their own ticket (for example pastries, broasted, shawarma): each station's name in English and Arabic, whether it is on, whether it takes everything not assigned elsewhere, and the...
Get design rules
get_design_contract
Read onlyEverything needed to write this company's invoice, quotation, credit-note or till receipt design FROM SCRATCH as code: the HTML template language (placeholders like {{doc.number}}, {{#each lines}}, helpers money/date/per...
Get sample designs
get_design_samples
Read onlyThe FULL SOURCE of working designs to learn from or start from: the built-in default invoice and receipt rewritten in the design language, polished variants (minimal, bilingual Arabic-first, branded with logo; receipt co...
List document designs
list_document_designs
Read onlyEvery saved design version of this company, newest first per kind: version, status (DRAFT, ACTIVE, ARCHIVED), whether it passed compliance and what is missing, and a preview image link (PNG; PDF too for A4 documents) the owner can open.
Check a design
check_document_design
Read onlyValidate and compliance-check a design WITHOUT saving it: reports syntax errors with their exact location, sandbox violations (scripts, event attributes, external URLs, @import), and every REQUIRED element that is missin...
Update company profile
update_company_profile_draft
Changes dataPropose a change to THIS workspace's own company details, the ones printed on its invoices and quotations.
Design invoices and receipts
design_documents_draft
Changes dataDesign this workspace's documents and its thermal till receipt - the invoice/quotation PDF and the receipt a customer takes away.
Update workspace layout
update_layout_draft
Changes dataChange the company's side menu or till view, for everyone in the company: hide rows nobody uses ("hide payroll from the menu"), show them again, put rows first, or make every till names only (till_photos false), with pho...
Update company settings
update_organization_draft
Changes dataChange what kind of business this is, which products are switched on, or the company name, locale and timezone.
Invite team member
invite_member_draft
Changes dataEmail somebody an invitation to join this company with a role (Owner, Admin, Finance, Engineer, Sales, Designer, Viewer).
Finish setup
finish_onboarding_draft
Changes dataMark the welcome screen as finished for this company, as pressing a door on it does: from then on signing in lands on the dashboard.
Configure payment methods
configure_payment_methods_draft
Changes dataSet how the till is paid, in one change: switch cash, card, BenefitPay or bank transfer on or off, set a percentage on a method (percent + percent_mode: a provider fee, or a surcharge added to the bill), name the card ac...
Set till features
set_till_features_draft
Changes dataSwitch the till's after-sale features on or off for every till in the company, in one change: history, reprint_receipt, reprint_kitchen, pay_later, edit_orders, void_refund, the history window (history_days: 1 today, 3 o...
Set kitchen stations
set_kitchen_stations_draft
Changes dataSet up the kitchen stations and which menu each one prints.
Send test print
send_test_print_draft
Changes dataPrint a test page on one printer: to is 'receipt' (the main counter's receipt printer), 'kitchen' (the whole-order kitchen printer when there are no stations), a kitchen station's name, or a till tablet's name or five-digit code.
Reprint order
reprint_order_draft
Changes dataPrint an order's paper again: what is 'receipt' (marked COPY), 'kitchen' (the whole ticket, marked REPRINT) or a kitchen station's name (only that station's dishes).
Set print routing
set_print_routing_draft
Changes dataChoose where paper goes: main_station names the print station (a browser reported by get_pos_live) that prints for every till, or null to let whichever is running print; receipts_at_main whether the customer's receipt pr...
Print a document
print_job_draft
Changes dataRetry a failed print job (it goes back in the queue and the print station prints it), or cancel one that is failed or still waiting so it never prints.
Create Windows till code
create_windows_till_code_draft
Changes dataMake a one-time TILL CODE (like K7QM-4XPA, valid 24 hours, single use) that logs a Windows PC in as this restaurant's MAIN till: it opens straight to the till, is the main print station and takes incoming orders.
Reload, restart, update or rename a till
send_device_command_draft
Changes dataTell one till tablet to reload its screen (for "the till is stuck"), restart the app, or update to the newest released build, exactly as the device card's buttons do; or rename it.
Update member
update_member_draft
Changes dataChange what somebody who can sign in to this company may do, or withdraw an invitation that has not been accepted.
Draft document design
draft_document_design
Changes dataSave a design as a new DRAFT version (it prints nothing until approved).
Approve document design
approve_document_design_draft
Changes dataPut a DRAFT design version into force: from now on that document (invoice PDFs and emails, quotations, credit notes, or the till receipt online and offline) prints in it.
Revert document design
revert_document_design_draft
Changes dataGo back to an earlier design version (by version number) or to the built-in design (to: "default") for one kind of document.

Troubleshooting

Support and privacy

Email [email protected]; a person reads every message. How connector data is handled is in the privacy policy; the terms are at railit.ai/terms.