Skip to content
McTime logo

Connectors / Human resources · HTTP Connector

McTime integration and API

Add or edit a time entry and add or edit an assignment in McTime. Connect McTime to the rest of your human resources stack with Tray.ai.

What can you do with McTime on Tray.ai?

McTime is time tracking software from Vienna that records working and project hours, clock-ins, absences and holidays, with reports and mobile apps. Tray.ai connects to McTime through the HTTP Connector, so your workflows can call the McTime API alongside the rest of your stack.

  • List time entries each month and send project hours to your billing system for client invoices.
  • Add or edit a user when a new hire is added to your HR system.
  • Delete a user when an employee leaves, based on the termination date in your HR system.
Connects through
HTTP Connector
Authentication
An API key in a request header
Base URL
https://mctime.com/api/v2/auth/

Set it up

Connect McTime to Tray.ai

Each step uses McTime's own API details, from its documentation.

Save McTime's API key

Save the key as a Tray.ai authentication. The HTTP Client puts it in the request header, read from $.auth. The key stays out of the workflow and out of the logs.

Point the HTTP Client at the API

Add an HTTP Client step and use https://mctime.com/api/v2/auth/ as the base URL. Or paste a cURL example from McTime's API docs, and Tray.ai fills in the method, URL, and headers.

Start with “List time entries”

It's one of 15 documented actions, under Time entries. The response comes back as data the next step can map into your other apps.

Hand it to an AI agent

Wrap “Get a time entry” and “Add or edit a time entry” in workflows, and Tray.ai's Agent Gateway for MCP publishes them as governed tools Claude and other AI agents can call.

Workflows to build with McTime

Connect McTime with BambooHR and Google Sheets

Each one uses actions and events from McTime's own API documentation.

Create McTime users for new BambooHR hires

When

An employee is hired in BambooHR

Then

  1. Add or edit a user
  2. Add or edit an assignment for their team

With BambooHR

Send McTime hours to Google Sheets for payroll

When

On a schedule

Then

  1. List time entries for the pay period
  2. Add the totals to the payroll sheet in Google Sheets

With Google Sheets

Apps you can build on McTime data

Internal tools your team can build with an AI assistant, each one using McTime calls from its API documentation.

Who is clocked in board

Lists staff with their current clock status so a manager can see who is working now.

Timesheet correction desk

Lists time entries by user and lets a manager fix or delete wrong entries.

McTime MCP server for AI agents

Build an MCP server on McTime in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • List time entries
  • Clock in or out
  • List users
  • List organizations
  • Add or edit an assignment
  • Get a time entry
  • Add or edit a time entry
  • Delete a time entry

What the McTime API covers

5 resources and 15 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.

Time entries

  • List time entries
  • Get a time entry
  • Add or edit a time entry
  • Delete a time entry

Clock

  • Clock in or out
  • Get clock status

Users

  • List users
  • Get a user
  • Add or edit a user
  • Delete a user

Organizations

  • List organizations
  • Get an organization
  • Add or edit an organization

Assignments

  • Add or edit an assignment
  • Delete an assignment

Checked against McTime's own documentation on 2026-10-22

mctime.readme.io

Frequently asked questions

What can a Tray.ai workflow do in McTime?

The McTime API documents 15 actions across 5 resources (Time entries, Clock, Users, Organizations, Assignments). For example: List time entries; Clock in or out; List users. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with McTime?

The McTime API uses an API key in a request header. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

See McTime working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great, a couple more details

This helps us connect you with the right person. Optional, and you can skip it.