# Connect AI apps to docket

You can connect docket to the AI app you already use, such as **Claude**, **ChatGPT**, **Le Chat**,
**Copilot** or **Gemini**. Then you ask it about your work in your own words, always within what you
can see in docket:

- *"What did I work on yesterday that isn't booked yet?"*
- *"Which of Acme's projects are over budget, and by how much?"* (Project Managers and Admins)
- *"Which invoices are overdue, and which quotations hasn't Acme confirmed?"* (Project Managers and
  Admins)
- *"Who in design still has time next week?"*
- *"What's new in my tickets since Monday?"*
- *"How do I bill a deposit in docket?"* (from docket's help articles)

And it works for you:

- *"Book it: 2 hours on the checkout ticket, half an hour on the emails."*
- *"Create a ticket 'Fix the footer links' for Friday and give it to Vroni."*
- *"Write on the header ticket that it's done, and close it."*
- *"Move the launch ticket to next Monday, high priority."*
- *"Turn this hours list into a draft invoice for Lumen."* (Project Managers and Admins)

docket uses the **Model Context Protocol (MCP)**, the open standard these apps use for connectors.

---

## An admin turns it on first

AI connections are **off** in every workspace until an admin allows them:

1. Go to **Administration → Integrations → AI**.
2. Tick **Allow AI connections (MCP)** and save.

Even then, data only reaches an AI app from people who connect one themselves. Turning the switch
off stops every connection in the workspace immediately.

---

## Connect an app

1. Add docket in your AI app:
   - **Claude and ChatGPT** list docket in their directory: [docket in Claude](https://claude.ai/directory/docket-rocks) and
     [docket in ChatGPT](https://chatgpt.com/plugins/plugin_asdk_app_6ae0890ba1ec8191a5b3a9296fdd41a7).
   - **In other apps**, add a **custom connector** with the address shown in your **profile
     settings** (your name → Settings) under **AI connections**: `https://mcp.docket.rocks/mcp`.
     It's the same for every workspace.
2. The app sends you to docket, which asks for your workspace. Enter the first part of your docket
   address: `yourcompany` for `yourcompany.docket.rocks`.
3. Log in (with your two-factor code, if you use one), check what the app asks for and click
   **Allow**.

Back in the app, docket shows up as a connector.

Developers who work on docket tickets from their editor can connect Claude Code or Cursor the same
way (Claude Code: `claude mcp add --transport http docket <address>`).

---

## What a connected app can do

It acts **as you** and sees only what you can see in docket:

- **Read** projects, tickets, customers and time entries you have access to. Budgets, invoices,
  quotations and colleagues' workload only as far as your role shows them in docket: revenue,
  budget amounts, invoices and quotations stay with Project Managers and Admins.
- Weekly overviews compare booked time with your **working hours**. docket doesn't know holidays
  or absences, so a day off shows up as a gap. The app is told so, too.
- **Book, change and delete your own time entries**, never anyone else's, even as an admin.
- **Use your [stopwatches](https://docket.rocks/en/docs/stopwatches)** (the same ones as in docket's sidebar): start, pause,
  resume, rename, correct the time, book one onto a ticket or discard it.
- **Work on tickets** of projects you can open: create them (assigned to you), comment, close or
  reopen them, change their dates and priority, rename them, rewrite the description and assign or
  unassign people who can open the project. Tickets mirrored from Jira can't be changed here;
  that happens in Jira.
- **Start draft quotations and invoices** (Project Managers and Admins) and add positions to them:
  the app says which service and how many hours or days, docket prices each line from the
  project's rates, as in the editor. Publishing and sending stay in docket.
- **Look things up in docket's help** (these articles, in your language) to answer how docket works.

Every tool, with what it does and who may use it, is listed at
[mcp.docket.rocks](https://mcp.docket.rocks).

AI apps can make mistakes. docket marks every change to time and tickets as an action that needs
your confirmation, and apps like Claude ask you before each one. The time entries look like any
other in docket, so you can always correct them there.

---

## Disconnect

In **profile settings → AI connections**, click the bin icon next to the app. Its access ends at
once. Changing your password or being removed from the workspace also disconnects every app.

An app nobody has used for 90 days is disconnected automatically. To use it again, connect it again
in the app.

---

## Questions

**Where does my data go?**
What the app reads from docket goes to that app's provider (for example Anthropic for Claude, or
OpenAI for ChatGPT), under your or your company's agreement with them. docket sends nothing to an
AI app unless you connected it yourself.

**Can my colleagues see that I connected an app?**
No. Only you see your connected apps.

**The app says it can't connect.**
Check that an admin allowed AI connections, and that you entered *your* workspace when docket
asked for it. If your workspace requires two-factor authentication, set it up in docket first.
Apps you connected earlier with your workspace's own address
(`https://yourcompany.docket.rocks/mcp`) keep working; there's no need to connect them again.