DeskTime MCP by usefulapi
v1.8.1Read tracked time and projects; create projects and start or stop timers in DeskTime.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
desktime_get_company Get company
The DeskTime company account this API key belongs to: company name, work schedule (start, end, duration, working days), tracking window and account timezone. GET /company.
desktime_list_employees List employees with tracking data
All employees of the company with their tracked time for a day, week or month: arrived/left, online, desk, at-work, productive time, productivity and efficiency, group. Starts at `date` (default today); `period` is day (default), week or month. Returned a page at a time (employee-days, sorted by date then id). Needs an admin's key. GET /employees. This is employee monitoring (personal) data: ask for one day at a time and only what the user needs.
| Parameter | Type | Description |
|---|---|---|
date | string | The day to read, yyyy-mm-dd, in the DeskTime account's timezone. Default: today. |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
page_size | integer | Results per page, 1-100 (default 25). |
period | string | Window starting at `date`: day (default), week or month. |
desktime_get_employee Get employee day summary
One employee's summary for one day: name, email, group, arrived/left, late, online/offline/desk/at-work/productive time (seconds), productivity and efficiency. Without projects or apps; see desktime_get_employee_projects / _apps / _full for those. GET /employee/basic. This is employee monitoring (personal) data: ask for one day at a time and only what the user needs.
| Parameter | Type | Description |
|---|---|---|
date | string | The day to read, yyyy-mm-dd, in the DeskTime account's timezone. Default: today. |
id | integer | DeskTime employee id (from desktime_list_employees). Omit for the user the API key belongs to. Other employees need an admin key. |
desktime_get_employee_projects Get employee day with projects
One employee's day summary plus the projects and tasks they tracked time on that day. GET /employee/projects. This is employee monitoring (personal) data: ask for one day at a time and only what the user needs.
| Parameter | Type | Description |
|---|---|---|
date | string | The day to read, yyyy-mm-dd, in the DeskTime account's timezone. Default: today. |
id | integer | DeskTime employee id (from desktime_list_employees). Omit for the user the API key belongs to. Other employees need an admin key. |
desktime_get_employee_apps Get employee day with apps
One employee's day summary plus the apps, websites and titles they used that day, with durations and productivity class. Lists longer than 200 entries are cut. GET /employee/apps. This is employee monitoring (personal) data: ask for one day at a time and only what the user needs.
| Parameter | Type | Description |
|---|---|---|
date | string | The day to read, yyyy-mm-dd, in the DeskTime account's timezone. Default: today. |
id | integer | DeskTime employee id (from desktime_list_employees). Omit for the user the API key belongs to. Other employees need an admin key. |
desktime_get_employee_full Get employee day with projects and apps
One employee's day summary plus both the tracked projects/tasks and the apps/websites used that day. The largest reply: prefer the narrower tools. Lists longer than 200 entries are cut. GET /employee. This is employee monitoring (personal) data: ask for one day at a time and only what the user needs.
| Parameter | Type | Description |
|---|---|---|
date | string | The day to read, yyyy-mm-dd, in the DeskTime account's timezone. Default: today. |
id | integer | DeskTime employee id (from desktime_list_employees). Omit for the user the API key belongs to. Other employees need an admin key. |
desktime_list_projects List projects
Active (not archived) projects of the company with their tasks: id, name, creation time and tasks. Returned a page at a time. GET /projects.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
page_size | integer | Results per page, 1-100 (default 25). |
desktime_create_project Create project
WRITE: create a new project (and optionally one task in it) in the company's DeskTime account. Not idempotent: a second call with the same name makes another project. Returns the new project's id, url and tasks. POST /create-project.
| Parameter | Type | Description |
|---|---|---|
project * | string | Name of the new project. |
task | string | Optional name of a first task to create in the project. |
desktime_start_project Start project timer
WRITE: start tracking time on a project (and optionally a task) for the user the API key belongs to, by project name. This changes that user's tracked time and may switch away from the project currently running. Returns {started: true|false}. GET /start-project.
| Parameter | Type | Description |
|---|---|---|
project * | string | Exact name of the project to start (see desktime_list_projects). |
task | string | Optional exact name of the task inside the project. |
desktime_stop_project Stop project timer
WRITE: stop tracking time on a project (and optionally a task) for the user the API key belongs to, by project name. Returns {stopped: true|false}. GET /stop-project.
| Parameter | Type | Description |
|---|---|---|
project * | string | Exact name of the running project to stop. |
task | string | Optional exact name of the task inside the project. |