Timicx MCP by usefulapi

v1.5.1
io.usefulapi/timicx Checked 2 days ago Published 1 day ago

Read, book, change and delete time entries and run live timers in Timicx.

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

timicx_list_time_entries List time entries

List time bookings (project_time) with date, employee, project, task, duration in seconds, status and billable flag. Filter by date range, employee, project, task or status. Timicx API: GET /ws/2.0/project_time.json.

ParameterTypeDescription
billablebooleanOnly billable (true) or non-billable (false) bookings.
datestringOnly bookings on this date.
date_fromstringOnly bookings from this date (inclusive).
date_tillstringOnly bookings up to this date (inclusive).
employee_idintegerOnly bookings of this employee.
limitintegerMaximum number of records (Timicx default 100).
offsetintegerRecords to skip, counted from 0.
order_bystringField to sort by, for example id or date.
order_directionstringSort direction (default ASC).
parent_project_idintegerOnly bookings of this project and all its sub-projects.
project_idintegerOnly bookings of this project (not its sub-projects).
statusinteger0 finished, 1 running, 2 paused.
task_idintegerOnly bookings with this task.

timicx_get_time_entry Get a time entry

Get one time booking by id, with employee, project, task, duration, begin and end. Timicx API: GET /ws/2.0/project_time/{id}.json.

ParameterTypeDescription
time_entry_id *integerNumeric Timicx id.

timicx_list_running_timers List running timers

List the live timers that are running or paused right now. Timicx API: GET /ws/2.0/project_time/running.json.

timicx_list_employees List employees

List the employees of the Timicx system (user name, full name, employee number, enabled flag). Timicx API: GET /ws/2.0/employees.json. Some employee logins may not see the full list.

ParameterTypeDescription
enabled_onlybooleanOnly active employees (default false).
limitintegerMaximum number of records (Timicx default 100).
offsetintegerRecords to skip, counted from 0.
order_bystringField to sort by, for example id or date.
order_directionstringSort direction (default ASC).

timicx_get_employee Get an employee

Get one employee by id, with groups, email, employee number and standard hourly rate. Timicx API: GET /ws/2.0/employees/{id}.json.

ParameterTypeDescription
employee_id *integerNumeric Timicx id.

timicx_list_projects List projects

List projects with name, description, active flag and parent. Use top_level_only for the projects at the top of the tree. Timicx API: GET /ws/2.0/projects.json.

ParameterTypeDescription
activebooleanOnly active (true) or closed (false) projects.
descriptionstringProject description; * is a wildcard.
limitintegerMaximum number of records (Timicx default 100).
namestringProject name; * is a wildcard.
offsetintegerRecords to skip, counted from 0.
order_bystringField to sort by, for example id or date.
order_directionstringSort direction (default ASC).
parent_idintegerOnly the direct sub-projects of this project.
top_level_onlybooleanOnly the projects at the top level (wins over parent_id).

timicx_get_project Get a project

Get one project by id, with its parent, children, estimated time and estimated completion date. Timicx API: GET /ws/2.0/projects/{id}.json.

ParameterTypeDescription
project_id *integerNumeric Timicx id.

timicx_list_tasks List tasks

List the tasks (activities) that time can be booked on, with billable flag and rate. Timicx API: GET /ws/2.0/tasks.json.

ParameterTypeDescription
limitintegerMaximum number of records (Timicx default 100).
offsetintegerRecords to skip, counted from 0.
order_bystringField to sort by, for example id or date.
order_directionstringSort direction (default ASC).

timicx_get_task Get a task

Get one task by id, with its billable flag, group restriction and external rate. Timicx API: GET /ws/2.0/tasks/{id}.json.

ParameterTypeDescription
task_id *integerNumeric Timicx id.

timicx_create_time_entry Create a time entry

Book time: a finished time entry with date, task and duration in seconds (optional project, employee, begin, end, billable, comment). Writes a new booking. Timicx API: POST /ws/2.0/project_time.json.

ParameterTypeDescription
date *stringDate as yyyy-mm-dd.
duration_seconds *integerDuration in seconds.
task_id *integerThe task the time is booked on.
beginstringDate and time as yyyy-mm-dd hh:mm:ss.
billableboolean
commentstringComment of the booking.
employee_idintegerThe employee. Default: the logged-in employee.
endstringDate and time as yyyy-mm-dd hh:mm:ss.
project_idintegerThe project. Leave out for a booking without project.

timicx_update_time_entry Update a time entry

Change fields of a time entry. Only the given fields change: the tool reads the booking first and sends all writable fields back. At least one field is needed. Timicx API: GET then PUT /ws/2.0/project_time/{id}.json.

ParameterTypeDescription
time_entry_id *integerNumeric Timicx id.
beginstringDate and time as yyyy-mm-dd hh:mm:ss.
billableboolean
commentstringComment of the booking.
datestringDate as yyyy-mm-dd.
duration_secondsinteger
employee_idintegerNumeric Timicx id.
endstringDate and time as yyyy-mm-dd hh:mm:ss.
project_idintegerNumeric Timicx id.
task_idintegerNumeric Timicx id.

timicx_start_timer Start a live timer

Start a live timer (like a stopwatch) for the logged-in employee. Optional project, task and comment. Timicx API: POST /ws/2.0/project_time/start.json.

ParameterTypeDescription
commentstringComment of the booking.
project_idintegerNumeric Timicx id.
task_idintegerNumeric Timicx id.

timicx_pause_timer Pause a live timer

Pause a running live timer. Optional comment. Timicx API: PUT /ws/2.0/project_time/pause/{id}.json.

ParameterTypeDescription
timer_id *integerNumeric Timicx id.
commentstringComment of the booking.

timicx_resume_timer Resume a live timer

Resume a paused live timer. Optional comment. Timicx API: PUT /ws/2.0/project_time/resume/{id}.json.

ParameterTypeDescription
timer_id *integerNumeric Timicx id.
commentstringComment of the booking.

timicx_finish_timer Finish a live timer

Finish a live timer and keep its time as a booking. Optional comment. Timicx API: PUT /ws/2.0/project_time/finish/{id}.json.

ParameterTypeDescription
timer_id *integerNumeric Timicx id.
commentstringComment of the booking.

timicx_delete_time_entry Delete a time entry

Delete a time booking. A running or paused live timer is cancelled the same way. This cannot be undone. Timicx API: DELETE /ws/2.0/project_time/{id}.json.

ParameterTypeDescription
time_entry_id *integerNumeric Timicx id.