{
  "info": {
    "name": "DeskTime — mcp.ai",
    "description": "REST API for the DeskTime MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/desktime",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "desktime_create_project_with_task",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/project/with/task",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "project",
            "with",
            "task"
          ]
        },
        "description": "Tool to create a new project with an optional initial task. Use when you need to set up a new DeskTime project programmatically.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"task\": \"\",\n  \"project\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "desktime_get_account_details",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/account/details",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "account",
            "details"
          ]
        },
        "description": "Retrieves company account configuration including work schedule and timezone settings. This action fetches company-level information such as company name, work hours (start/end times), work duration, ",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "desktime_get_all_company_employees",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/all/company/employees",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "all",
            "company",
            "employees"
          ]
        },
        "description": "Tool to list all employees in the company, including their roles and statuses. Use after confirming valid credentials to fetch the organization’s roster.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"date\": \"\",\n  \"period\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "desktime_get_employee",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/employee",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "employee"
          ]
        },
        "description": "Tool to retrieve information about a single employee including user info, work settings, and tracking data for a specific date. Use when you need detailed information for one employee. Returns data fo",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"id\": \"\",\n  \"date\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "desktime_get_employee_apps",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/employee/apps",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "employee",
            "apps"
          ]
        },
        "description": "Retrieves employee tracking data including tracked apps for a specific date. Returns data for the currently logged-in user if no employee ID is specified. Use this action to view detailed application ",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"id\": \"\",\n  \"date\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "desktime_get_employee_projects",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/employee/projects",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "employee",
            "projects"
          ]
        },
        "description": "Retrieves comprehensive employee project tracking data including project assignments, time tracking metrics, work hours, and productivity statistics for a specific employee and date. Returns detailed ",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"id\": 0,\n  \"date\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "desktime_get_employee_projects_and_apps",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/employee/projects/and/apps",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "employee",
            "projects",
            "and",
            "apps"
          ]
        },
        "description": "Retrieve an employee's basic information and daily tracking statistics from DeskTime. Returns employee profile data, work hours, productivity metrics, attendance status, and currently active project. ",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"id\": 0,\n  \"date\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "desktime_get_projects_list",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/projects/list",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "projects",
            "list"
          ]
        },
        "description": "Tool to retrieve all active projects for the company, including related tasks. Use when you need projects overview after authentication.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "desktime_ping_request",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/ping/request",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "ping",
            "request"
          ]
        },
        "description": "Tool to check the API's availability and confirm the service is operational. Use when you need to verify that the DeskTime API is reachable and responsive.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "desktime_start_project_task",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/start/project/task",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "start",
            "project",
            "task"
          ]
        },
        "description": "Starts time tracking for a specified project and optional task in DeskTime. This action begins recording time against the specified project. If a task name is provided, time is also tracked at the tas",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"task\": \"\",\n  \"project\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "desktime_stop_project_task",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/stop/project/task",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "stop",
            "project",
            "task"
          ]
        },
        "description": "Tool to stop tracking time for a specified project and optional task. Use when you have finished work and need to record end time.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"task\": \"\",\n  \"project\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}