MCP FactorialHR

v13.0.2
io.github.t4dhg/mcp-factorial Checked 11 hours ago Published 10 days ago

Full CRUD MCP server for FactorialHR: employees, teams, time off, projects, ATS, payroll.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

factorial_discover Discover FactorialHR Tools

List available FactorialHR tool categories and their actions. Use this first to understand what operations are available.

ParameterTypeDescription
categorystringGet details for a specific category (e.g., "employees", "time_off")

factorial_employees FactorialHR Employees

Manage employees: list, get, search, create, update, terminate Attribution: a write is recorded in Factorial under the credential that made it. With a user login that is you. With only a company API key it is the key's account, not under you, and the confirmation step and the result of every such write say so; tell the user before relying on it.

ParameterTypeDescription
action *stringAction
birthday_onstringBirthday (YYYY-MM-DD)
confirmbooleanConfirm high-risk operation
emailstringEmail address
first_namestringFirst name
genderstringGender
idnumberEmployee ID (for get/update/terminate)
last_namestringLast name
limitnumberItems per page
location_idnumberFilter by location ID (for list)
manager_idnumberManager ID
nationalitystringNationality
pagenumberPage number
querystringSearch query (for search)
team_idnumberFilter by team ID (for list)
terminated_onstringTermination date (YYYY-MM-DD)
termination_reasonstringReason for termination

factorial_teams FactorialHR Teams

Manage teams: list, get, create, update, delete Attribution: a write is recorded in Factorial under the credential that made it. With a user login that is you. With only a company API key it is the key's account, not under you, and the confirmation step and the result of every such write say so; tell the user before relying on it.

ParameterTypeDescription
action *stringAction
confirmbooleanConfirm delete
descriptionstringTeam description
employee_idsarrayMember employee IDs
idnumberTeam ID (for get/update/delete)
lead_idsarrayTeam lead employee IDs
limitnumberItems per page
namestringTeam name
pagenumberPage number

factorial_locations FactorialHR Locations

Manage locations: list, get, create, update, delete Attribution: a write is recorded in Factorial under the credential that made it. With a user login that is you. With only a company API key it is the key's account, not under you, and the confirmation step and the result of every such write say so; tell the user before relying on it.

ParameterTypeDescription
action *stringAction
address_line_1stringAddress line 1
address_line_2stringAddress line 2
citystringCity
confirmbooleanConfirm delete
countrystringCountry code (e.g., ES, US)
idnumberLocation ID (for get/update/delete)
limitnumberItems per page
namestringLocation name
pagenumberPage number
phone_numberstringPhone number
postal_codestringPostal code
statestringState/province

factorial_contracts FactorialHR Contracts

Contract and salary data: list, get with employee, filter by job role/level

ParameterTypeDescription
action *stringAction
employee_idnumberEmployee ID (for list/get_with_employee)
job_level_idnumberJob level ID (for by_job_level)
job_role_idnumberJob role ID (for by_job_role)
limitnumberItems per page
pagenumberPage number

factorial_time_off FactorialHR Time Off

Manage leave requests: list, get, create, update, cancel, approve, reject, view types and allowances. Approve or reject only requests whose time-off approver is you: pending does not mean pending for you, and a credential that would let a decision through does not make another approver's request yours. You are the employee who logged in, or under a company API key the employee in FACTORIAL_EMPLOYEE_ID. list_leaves and get_leave show each leave's approver (timeoff_manager_id, timeoff_manager_name) and routed_to_me; list_leaves with pending_for_me: true returns exactly the requests awaiting your…

ParameterTypeDescription
action *stringAction
confirmbooleanConfirm cancel/reject
confirmation_tokenstringToken from an override_approver preview; repeat the same arguments with it to execute
descriptionstringLeave description
employee_idnumberEmployee ID
finish_onstringEnd date (YYYY-MM-DD). For list_leaves: leaves overlapping a window to this date
half_daystringHalf day option
idnumberLeave/type ID
leave_type_idnumberLeave type ID
limitnumberItems per page
override_approverbooleanFor approve/reject: decide a leave that is not routed to you. Only when you have been asked to act on that approver's behalf, never because the leave is merely pending. Needs override_reason. The firs…
override_reasonstringRequired with override_approver: who asked you to decide this request and why. Recorded in the audit log; not sent to Factorial or to the employee
pagenumberPage number
pending_for_mebooleanFor list_leaves: only leaves still awaiting a decision whose time-off approver is you (the logged-in user, or FACTORIAL_EMPLOYEE_ID). Reads every page, so page and limit are ignored; start_on, finish_…
start_onstringStart date (YYYY-MM-DD). For list_leaves: leaves overlapping a window from this date

factorial_attendance FactorialHR Attendance

Attendance (registro horario): list/get/create/update/delete shift records, clock_in, clock_out and status for live clocking, gaps and audit to find days that do not match the contract, log_range / log_days to enter many days at once, and list_edit_requests / create_edit_request for days whose timesheet has already been signed off. Without date and time, clock_in and clock_out record the current moment; given both, they record the declared moment instead, for someone who forgot to clock and knows when they started or stopped. A declared moment in the future is refused before anything is sent,…

ParameterTypeDescription
action *stringAction
attendance_shift_idnumberThe shift this edit request refers to (create_edit_request). Required for update_shift and delete_shift, since without it the request names no shift
clock_inClock in: HH:MM company local, or ISO 8601 with offset (create, update)
clock_outClock out: HH:MM company local, or ISO 8601 with offset (create, update)
confirmbooleanConfirm delete
confirmation_tokenstringToken from a previous preview, to execute a gated write. Valid for 15 minutes and bound to exactly the plan that was previewed; if anything changed in between it is refused and a fresh preview is retu…
datestringShift date YYYY-MM-DD (create, update). For clock_in/clock_out, the declared day; give it together with time to record a declared moment instead of the current one
daysarrayExplicit days for log_days: [{date:"2026-03-02",segments:[...]}, ...]
employee_idnumberEmployee ID. Defaults to you: the logged-in user, or FACTORIAL_EMPLOYEE_ID
employee_idsarrayEmployee IDs (list). Defaults to you (the logged-in user, or FACTORIAL_EMPLOYEE_ID); pass [] for the whole company
end_onstringEnd date YYYY-MM-DD (list, gaps, log_range)
exclude_datesarraylog_range: dates (YYYY-MM-DD) inside the range to leave alone, for days that were not worked. The preview lists them so the omission is visible before confirming
fieldsstringlist: "compact" returns date, clock_in, clock_out, minutes and in_source only; "full" (default) returns id, employee_id, date, clock_in, clock_out, minutes, in_source and observations. Neither is ever…
formatstringaudit: "summary" (default) lists only the days that need attention, "table" lists every day, "json" returns the full ledger. expected counts bank holidays and leave at full contract minutes; the heade…
half_daystringHalf day marker. "beggining_of_day" is Factorial's own spelling of the value and must be sent exactly as it is; do not correct it.
idnumberShift ID (get, update, delete)
idsarrayShift IDs (list)
jitter_minutesintegerlog_range/log_days: shift each segment by up to this many minutes, normally keeping its length (only a segment that would otherwise run into its neighbour or past midnight is shortened instead), so a…
limitnumberItems per page (list, client-side). The API returns every record in range in one response, so this only slices output that has already been read.
location_typestringoffice | business_trip | work_from_home
observationsstringFree-text note stored on the record(s)
pagenumberPage number (list, client-side). The API returns every record in range in one response, so paging only slices output that has already been read.
reasonstringWhy the timesheet needs changing (create_edit_request, required)
reference_datestringThe day an overnight shift is attributed to (create, update). It must equal date unless the shift crosses midnight. This is not when the record was entered; that is created_at, which Factorial sets an…
request_typestringWhat the edit request asks for (create_edit_request, default create_shift). create_shift requires date; update_shift and delete_shift require attendance_shift_id
segmentsarrayDaily pattern for log_range, e.g. [{clock_in:"09:00",clock_out:"14:00"},{clock_in:"15:00",clock_out:"18:00"}]
skip_leavebooleanSkip days covered by approved leave (default true)
start_onstringStart date YYYY-MM-DD (list, gaps, log_range)
statusesarrayaudit: list only days with these statuses. Default lists everything needing attention: missing, short, over, half_day_leave and no_contract_data
timestringclock_in/clock_out: the declared time HH:MM in company local time. Without date and time the action records the current moment; with them it records the declared moment. Use this when the person forgo…
tolerance_minutesintegergaps/audit: a day within this many minutes of the expected total counts as complete (default 15). Real clocks are never exact, so a day a few minutes over is normal and needs no correction.
updated_atstringShifts updated at this date (list)
variation_minutesintegerlog_range/log_days: shift each whole day by up to this many minutes, the segments moving together, so the start time drifts from day to day. This is the variation jitter_minutes cannot produce, since…
workablebooleanFilter or set the workable flag
workplace_idnumberWorkplace (location) ID

factorial_documents FactorialHR Documents

Document management: list folders, list/get documents, search, download (OAuth2 required for downloads)

ParameterTypeDescription
action *stringAction
document_patternstringDocument name pattern (for search)
employee_idnumberEmployee ID
employee_namestringEmployee name (for search)
folder_idnumberFolder ID filter
idnumberFolder/document ID
limitnumberItems per page
output_dirstringOutput directory (for downloads)
pagenumberPage number

factorial_job_catalog FactorialHR Job Catalog

View job roles and levels

ParameterTypeDescription
action *stringAction
idnumberJob role ID (for get_role)

factorial_projects FactorialHR Projects

Project management: projects, tasks, workers, time records. Full CRUD operations. Attribution: a write is recorded in Factorial under the credential that made it. With a user login that is you. With only a company API key it is the key's account, not under you, and the confirmation step and the result of every such write say so; tell the user before relying on it.

ParameterTypeDescription
action *stringAction
confirmbooleanConfirm delete
datestringDate (YYYY-MM-DD)
descriptionstringDescription
employee_idnumberEmployee ID
ends_onstringEnd date (YYYY-MM-DD)
idnumberProject/task/worker/time record ID
limitnumberItems per page
minutesnumberTime in minutes
namestringName
pagenumberPage number
project_idnumberProject ID
project_worker_idnumberProject worker ID
starts_onstringStart date (YYYY-MM-DD)
statusstringStatus

factorial_training FactorialHR Training

Training programs, sessions, and enrollments. Full CRUD operations. Attribution: a write is recorded in Factorial under the credential that made it. With a user login that is you. With only a company API key it is the key's account, not under you, and the confirmation step and the result of every such write say so; tell the user before relying on it.

ParameterTypeDescription
action *stringAction
confirmbooleanConfirm delete
descriptionstringDescription
employee_idnumberEmployee ID
ends_onstringEnd date (YYYY-MM-DD)
idnumberTraining/session/enrollment ID
limitnumberItems per page
locationstringLocation
max_attendeesnumberMax attendees
namestringName
pagenumberPage number
starts_onstringStart date (YYYY-MM-DD)
training_idnumberTraining ID

factorial_work_areas FactorialHR Work Areas

Manage work areas within locations Attribution: a write is recorded in Factorial under the credential that made it. With a user login that is you. With only a company API key it is the key's account, not under you, and the confirmation step and the result of every such write say so; tell the user before relying on it.

ParameterTypeDescription
action *stringAction
descriptionstringDescription
idnumberWork area ID
limitnumberItems per page
location_idnumberLocation ID
namestringWork area name
pagenumberPage number

factorial_ats FactorialHR ATS (Recruiting)

Applicant tracking: job postings, candidates, applications, hiring stages. Full CRUD. Attribution: a write is recorded in Factorial under the credential that made it. With a user login that is you. With only a company API key it is the key's account, not under you, and the confirmation step and the result of every such write say so; tell the user before relying on it.

ParameterTypeDescription
action *stringAction
candidate_idnumberCandidate ID
confirmbooleanConfirm delete
descriptionstringDescription
emailstringEmail
first_namestringFirst name
hiring_stage_idnumberHiring stage ID
idnumberPosting/candidate/application ID
job_posting_idnumberJob posting ID
last_namestringLast name
limitnumberItems per page
pagenumberPage number
phonestringPhone
statusstringStatus
titlestringJob title

factorial_payroll FactorialHR Payroll

View payroll data: supplements, tax identifiers, family situations (read-only)

ParameterTypeDescription
action *stringAction
employee_idnumberEmployee ID filter
idnumberItem ID
limitnumberItems per page
pagenumberPage number