Microkeeper MCP by usefulapi

v1.9.1
io.usefulapi/microkeeper Checked 1 day ago Published 7 hours ago

Read staff, rosters, timesheets and leave, and add or update staff in Microkeeper.

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

microkeeper_get_employees Get employees

Read staff profiles. Give changed_since (yyyy-mm-dd, up to a year back) for everyone changed since then, or ids with id_type for specific staff. With neither, returns all active staff. Action get_employees (HR/Staff, Read Only).

ParameterTypeDescription
changed_sincestringStaff changed on or after this date.
id_typestringThe kind of ID in ids.
idsarrayStaff IDs of the kind in id_type.

microkeeper_get_group_config Get groups

Read the account's Groups (teams and sites that staff belong to). Action get_group_config (HR/Staff, Read Only).

ParameterTypeDescription
active_statusstringDefault "active".

microkeeper_get_locations Get locations

Read every Location (site) with its LID, third_ID, address, active flag and managers. Action get_locations (Account, Read Only).

microkeeper_get_roles Get roles

Read every Role (active and inactive) with its ROID and required skills. Action get_roles (Account, Read Only).

microkeeper_get_jobs Get jobs

Read Jobs (projects, sites or functions staff clock to). Give JID or JobID lists for specific Jobs; otherwise status all or finished. Action get_jobs (Account, Read Only).

ParameterTypeDescription
JIDarrayMicrokeeper Job IDs.
JobIDarrayYour software's Job IDs.
statusstringDefault "all" (every Job that is not finished).

microkeeper_get_roster Get roster

Read rostered shifts for every employee at active Locations, for up to 31 days (inclusive). Action get_roster (Roster, Read Only).

ParameterTypeDescription
end_date *stringLast day, yyyy-mm-dd.
start_date *stringFirst day, yyyy-mm-dd.

microkeeper_get_timesheet Get timesheets

Read worked shifts for up to 31 days (inclusive), for all staff or the usernames given. Action get_timesheet (Roster, Read Only).

ParameterTypeDescription
end_date *string
start_date *string
eusernamesarrayMicrokeeper usernames. Leave out for all staff.

microkeeper_get_leave Get leave requests

Read leave requests that start, end or run through a date range: type, dates and status. Action get_leave (Payroll, Read Only).

ParameterTypeDescription
end_date *string
start_date *string

microkeeper_upsert_employees Add or update employees

Add new staff or update existing ones (matched by EmployeeID, then eusername, then EID). Only the fields you send change. A new employee gets a login email only if you set welcome. Action upsert_employees (HR/Staff, Read/Write).

ParameterTypeDescription
employees *arrayStaff to add or update.

microkeeper_upsert_locations Add or update locations

Add Locations or update them (matched by LID, or by third_ID). Locations you do not send stay as they are. Action upsert_locations (Account, Read/Write).

ParameterTypeDescription
locations *arrayLocations to add or update.

microkeeper_update_jobs Add or update jobs

Add Jobs or update them (matched by JobID, or by JID; JID 0 adds). Jobs you do not send are not changed. Action update_jobs (Account, Read/Write).

ParameterTypeDescription
jobs *arrayJobs to add or update.