# Timing — Pipedream Connect

> The automatic time and productivity tracking app for Mac. Track time without timers!

- API slug: `timing` (use in MCP headers and tool keys)
- Auth: API key (Pipedream-managed)
- Categories: Productivity
- Website: https://timingapp.com
- This page (HTML): https://pipedream.com/apps/timing
- Tools: 4 actions · 3 triggers

## Connect via MCP (recommended)

- Endpoint: `https://remote.mcp.pipedream.net/v3`
- Headers: `Authorization: Bearer <token>` · `x-pd-project-id` · `x-pd-environment` · `x-pd-external-user-id` · `x-pd-app-slug: timing`

```ts
import { Client } from "@modelcontextprotocol/sdk/client/index.js"
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js"
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const accessToken = await pd.rawAccessToken

const transport = new StreamableHTTPClientTransport(
  new URL("https://remote.mcp.pipedream.net/v3"),
  {
    requestInit: {
      headers: {
        Authorization: `Bearer ${accessToken}`,
        "x-pd-project-id": process.env.PIPEDREAM_PROJECT_ID!,
        "x-pd-environment": "production",
        "x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
        "x-pd-app-slug": "timing",
      },
    },
  },
)

const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)

const { tools } = await mcp.listTools()

// e.g. run Create Time Entry:
const result = await mcp.callTool({
  name: "timing-create-time-entry",
  arguments: {
    project: "Project",
    startDate: "Start Date",
  },
})
```

Docs: [MCP guide](https://pipedream.com/docs/connect/mcp/developers.md)

## API proxy

For a Timing endpoint with no pre-built tool, the proxy forwards your request with the connected user's credentials attached.

```bash
# The path segment is the target URL, URL-safe base64 encoded:
# https://web.timingapp.com/api/v1/projects

curl "https://api.pipedream.com/v1/connect/{project_id}/proxy/aHR0cHM6Ly93ZWIudGltaW5nYXBwLmNvbS9hcGkvdjEvcHJvamVjdHM?external_user_id={external_user_id}&account_id=apn_xxxxxxx" \
  -H "Authorization: Bearer {access_token}" \
  -H "x-pd-environment: production"
```

Docs: [API proxy guide](https://pipedream.com/docs/connect/api-proxy.md)

## SDK

```ts
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "timing-create-time-entry",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    timing: { authProvisionId: "apn_xxxxxxx" },
    project: "Project",
    startDate: "Start Date",
  },
})
```

Docs: [Managed auth guide](https://pipedream.com/docs/connect/managed-auth/quickstart.md) · [Tools guide](https://pipedream.com/docs/connect/components.md)

## Actions (4)

### `timing-create-time-entry` — Create Time Entry (Write)

Generates a new time entry in Timing app. See the documentation

Full schema: https://pipedream.com/apps/timing/actions/create-time-entry.md

### `timing-list-project-options` — List Project Options (Read-only)

Retrieves available options for the Project field.

Full schema: https://pipedream.com/apps/timing/actions/list-project-options.md

### `timing-start-timer` — Start Timer (Write)

Starts a new ongoing timer as per the current timestamp or specified start date. See the documentation

Full schema: https://pipedream.com/apps/timing/actions/start-timer.md

### `timing-stop-timer` — Stop Timer (Write)

Stop the currently running timer. See the documentation

Full schema: https://pipedream.com/apps/timing/actions/stop-timer.md

## Triggers (3)

### `timing-new-project` — New Project Created (Polling)

Emit new event each time a new project is created

Full schema: https://pipedream.com/apps/timing/triggers/new-project.md

### `timing-new-time-entry` — New Time Entry (Polling)

Emit new event each time a new time entry is created in Timing

Full schema: https://pipedream.com/apps/timing/triggers/new-time-entry.md

### `timing-new-timer-started-running` — New Timer Started Running (Polling)

Emit new event each time a new timer is started

Full schema: https://pipedream.com/apps/timing/triggers/new-timer-started-running.md

---

- All apps: https://pipedream.com/apps — index: https://pipedream.com/llms.txt
- Pipedream docs for agents: https://pipedream.com/docs/llms.txt
