This guide walks you through connecting Desktime to Mastra AI using the Composio tool router. By the end, you'll have a working Desktime agent that can list all active projects with tasks, get today's time tracked for each employee, start timing work on 'client website redesign', show app usage for employee 12345 yesterday through natural language commands.
This guide will help you understand how to give your Mastra AI agent real control over a Desktime account through Composio's Desktime MCP server.
Before we dive in, let's take a quick look at the key ideas and tools involved.








