TimeCamp MCP by usefulapi

v1.2.1
io.usefulapi/timecamp Checked 2 days ago Published 1 day ago

Read tasks and time entries; create, edit and delete entries, and run timers in TimeCamp.

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

timecamp_get_user Get my user

Get the TimeCamp user behind the API token: user_id, email, display name, root group and permissions. Good first call to confirm the connection. TimeCamp API: GET /me.

timecamp_list_tasks List tasks

List tasks (projects and tasks you can track time on), as an object keyed by task id, with parent ids, names and archive state. Filter by task id, external id or status. TimeCamp API: GET /tasks.

ParameterTypeDescription
external_task_idstringReturn the task with this external id (from another system).
statusstringFilter tasks by status, as the API defines it.
task_idsstringComma-separated task ids to return, e.g. "123,456".

timecamp_list_time_entries List time entries

List time entries between two dates (inclusive), optionally for given users, tasks or tags. Returns the entries the token may see. TimeCamp API: POST /v3/time-entries/list.

ParameterTypeDescription
end_date *stringLast day, yyyy-mm-dd.
start_date *stringFirst day, yyyy-mm-dd.
tag_idsarrayOnly entries with these tag ids.
task_idsarrayOnly entries on these task ids.
user_idsarrayOnly entries of these user ids.

timecamp_get_timer_status Get timer status

Get the timer of the token's user: whether a timer runs, on which task, and since when. TimeCamp API: GET /v3/timer/status.

timecamp_create_time_entry Create time entry

Create a time entry for the token's user on one day. Give start and end time, or a duration in seconds. Adds a new entry on every call. TimeCamp API: POST /v3/time-entries/create.

ParameterTypeDescription
date *stringDay of the entry, yyyy-mm-dd.
billablebooleanWhether the entry is billable.
duration_secondsintegerDuration in seconds. Omit to compute it from start and end time.
end_timestringEnd time, HH:MM or HH:MM:SS.
notestringNote saved with the entry.
start_timestringStart time, HH:MM or HH:MM:SS.
task_idintegerTask to track the time on (from timecamp_list_tasks).

timecamp_update_time_entry Update time entry

Change one time entry by id: date, start and end time, duration, task, note or billable flag. Only the fields you pass change. With increase=true, the duration adds to the current one. TimeCamp API: PUT /v3/time-entries/{id}.

ParameterTypeDescription
entry_id *integerThe time entry id (from timecamp_list_time_entries).
billablebooleanNew billable flag.
datestringNew day, yyyy-mm-dd.
duration_secondsintegerNew duration in seconds.
end_timestringNew end time, HH:MM or HH:MM:SS.
increasebooleanWhen true, add duration_seconds to the current duration instead of replacing it.
notestringNew note.
start_timestringNew start time, HH:MM or HH:MM:SS.
task_idintegerNew task id.

timecamp_delete_time_entry Delete time entry

Delete one time entry by id. The entry is removed from TimeCamp; this cannot be undone through this tool. TimeCamp API: DELETE /v3/time-entries/{id}.

ParameterTypeDescription
entry_id *integerThe time entry id to delete (from timecamp_list_time_entries).

timecamp_start_timer Start timer

Start a timer for the token's user on a task. The timer records time until it is stopped. TimeCamp API: POST /v3/timer/start.

ParameterTypeDescription
task_idintegerTask to track (from timecamp_list_tasks).

timecamp_stop_timer Stop timer

Stop a running timer and save its time as an entry. Omit timer_id to stop the token user's current timer. TimeCamp API: POST /v3/timer/stop.

ParameterTypeDescription
timer_idintegerRunning timer id. Omit to stop the current timer of the token's user.