Track Your Time

v0.3.0
io.github.trebeljahr/trackyourtime Checked 3 days ago Published 1 month ago

Track time, manage entries and catalog, and summarize hours on hosted or self-hosted accounts.

Values you need

VariableWhat it is
TRACKYOURTIME_API_TOKENrequired secret A workspace API token created in Settings → Integrations.
TRACKYOURTIME_API_URLoptional API origin. Defaults to https://api.trackyourtime.dev; use your own instance's origin for self-hosting.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add trackyourtime -e 'TRACKYOURTIME_API_TOKEN=<TRACKYOURTIME_API_TOKEN>' -- npx -y trackyourtime-mcp@0.3.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "trackyourtime": {
      "args": [
        "-y",
        "trackyourtime-mcp@0.3.0"
      ],
      "command": "npx",
      "env": {
        "TRACKYOURTIME_API_TOKEN": "<TRACKYOURTIME_API_TOKEN>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "trackyourtime": {
      "args": [
        "-y",
        "trackyourtime-mcp@0.3.0"
      ],
      "command": "npx",
      "env": {
        "TRACKYOURTIME_API_TOKEN": "<TRACKYOURTIME_API_TOKEN>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "TRACKYOURTIME_API_TOKEN",
      "id": "trackyourtime-api-token",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "trackyourtime": {
      "args": [
        "-y",
        "trackyourtime-mcp@0.3.0"
      ],
      "command": "npx",
      "env": {
        "TRACKYOURTIME_API_TOKEN": "${input:trackyourtime-api-token}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.trackyourtime]
command = "npx"
args = ["-y", "trackyourtime-mcp@0.3.0"]
env = { "TRACKYOURTIME_API_TOKEN" = "<TRACKYOURTIME_API_TOKEN>" }

For AI agents

  1. Ask the user for: TRACKYOURTIME_API_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: get_token_info, get_running_timer, start_timer, stop_timer, log_time_entry, list_entries, list_clients, list_projects, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json