Support/Users and settings/Connecting an AI assistant with MCP

Connecting an AI assistant with MCP

Last updated

Who can do this: Company admins switch on MCP, approve other apps and manage API keys. Any user can then connect their own assistant. Plan: All plans. Status: Beta.

Team Today has a built-in MCP server, so an AI assistant such as Claude can answer questions about your team, your offices, your bookings and your leave without you leaving the chat.

MCP (the Model Context Protocol) is an open standard that lets AI assistants use tools in other products. Once connected, you can ask things like "Who's in the London office tomorrow?" or "How many days of leave do I have left?" and the assistant answers from live Team Today data.

Connecting AI assistants is in beta. In Team Today the setting is called MCP integration (beta). Details may change while it is in beta.

What the assistant can do

The connection is read-only. The assistant can't book anything, change anyone's whereabouts or approve requests. It can use the 15 tools below. You don't need to know their names: ask in your own words and the assistant picks the right tool. Each tool's technical name is shown in brackets, because some assistants, such as Claude, show it when they use the tool.

Your account

  • Get my access (getMyAccess) says who you are signed in as and what is hidden from you.
  • Team Today features (getTeamTodayFeatures) explains what Team Today can do for you, based on your role and your company's settings. Admins also see what they manage. Company admins also see features that are switched off, and how to switch them on.

People and whereabouts

  • Find people (findPeople) finds colleagues by name.
  • A person's whereabouts (getUserWhereabouts) shows where someone is each morning and afternoon, for one day or up to 31 days.
  • List groups (listGroups) lists the teams, workgroups and departments you can open.
  • Group whereabouts (getGroupWhereabouts) shows the whereabouts of a team, workgroup or department, your favourites or your line reports, for up to 14 days.

Offices

  • List offices (listOffices) lists your company's offices, floors and areas.
  • Who is in the office (whoIsInOffice) lists who is in an office on a given date.
  • Office occupancy (getOfficeOccupancy) counts how many people are booked into an office, for up to 14 days.
  • Desk availability (getDeskAvailability) shows which desks are free or booked, and which ones you can book.
  • Parking availability (getParkingAvailability) shows free parking spaces. It never says who has the other spaces.
  • Meeting rooms (getMeetingRooms) lists rooms and their bookings on a given date. Bookings for rooms linked to Outlook are read from Outlook when your company has given Team Today full calendar access (see Setting up meeting rooms). Otherwise the assistant tells you to check Outlook for those rooms.
  • Visitors (getVisitors) lists the visitors expected, if your company uses visitor booking.

Bookings and leave

  • My bookings (getMyBookings) lists your own desk, parking, meeting room and visitor bookings, for up to 60 days.
  • Leave summary (getLeaveSummary) shows the leave allowance, days booked, days left and upcoming leave for the holiday year, in days.

What the assistant can see

An assistant you connect by signing in acts as you. It only sees what you can see in the Team Today app. For example:

  • Private statuses stay hidden unless you could see them in the app.
  • If your company hides past whereabouts, the assistant can't see them either.
  • Private groups you can't open in the app don't appear.
  • Leave balances are only shown to the person themselves, their line manager, an admin of their team or department, and company admins.

This means two people can ask the same question and get different answers. A company admin will usually see more than a standard user.

A company API key works differently. It sees company-wide data, including private statuses and past whereabouts. Because a key isn't a person, it can't use My bookings or Leave summary.

If you're not sure what your assistant can see, ask it "What can you see in Team Today?"

Which apps can connect

  • Claude (claude.ai and the Claude apps) can always connect.
  • Apps on your own computer that sign in through a local web address, such as Claude Code, can always connect. Apps with their own sign-in address, such as Cursor, count as other apps and need approving.
  • Any other app needs a company admin to approve it first. The admin does this the first time they connect the app themselves. Team Today shows an Approve this app page, and choosing Approve and allow access approves it for everyone in your company.

Until an app is approved, anyone else who tries to connect it is told it isn't approved for your company yet. Only approve apps you recognise.

Company admins can see every approved app under Settings > Company settings > Other > MCP integration (beta), in Approved apps. Choosing Remove disconnects everyone using that app within a few minutes. The app then needs approving again before anyone can reconnect it.

Before you start

  • You need to be a Company Admin to switch the integration on, approve apps and manage API keys. See Setting permissions.
  • Your AI assistant needs to support remote MCP servers. Claude (web, desktop and Claude Code) does. Many other assistants do too, but most of them need a company admin to approve them first (see Which apps can connect above).

Step 1: Enable the MCP integration

  1. Go to Settings > Company settings.
  2. Open the Other tab.
  3. Switch on MCP integration (beta).

Until this switch is on, Team Today rejects every MCP request for your company, even with a valid login or API key. Switching it off again is an instant kill switch for all connected assistants.

Step 2: Connect your assistant

The server address is the same for every client:

https://api.team-today.com/mcp

There are two ways to authenticate. Most people should use the first.

Option A: Sign in with your Team Today account (recommended)

This is the right choice for a person using Claude or another chat assistant. The assistant acts as you, and access stops if you are removed from the company.

  1. In Claude, open Settings > Connectors and choose Add custom connector. In other assistants, look for "MCP servers" or "Integrations".
  2. Give it a name such as Team Today and paste the server address above.
  3. Choose Connect. Your browser opens a Team Today page asking you to allow the connection. Sign in if prompted.
  4. Choose Allow access. You are sent back to the assistant and the connector shows as connected.

Any user in a company with MCP switched on can connect this way. You do not need to be an admin to connect your own assistant. Claude, and apps such as Claude Code that sign in on your own computer, connect straight away. Any other app needs a company admin to approve it first (see Which apps can connect above).

Option B: Use a company API key

Use this for automations, scripts or an internal assistant that runs on a server rather than for one person. The key represents your whole company rather than a person, so it sees company-wide data, including private statuses and past whereabouts that your company may hide from other users. It can't use My bookings or Leave summary. Treat it like a password.

The API Keys tab is only switched on for some companies. If you don't see it, get in touch and we will turn it on.

  1. Go to Settings > Company settings > API Keys.
  2. Under Public API key, add a label (for example Office assistant) and choose Generate key.
  3. Choose Copy to copy the key. The key stays on this page for Company Admins, so you can copy it again later. Your company has one public API key: choosing Regenerate replaces it, and any client using the old key stops working.
  4. Configure your MCP client to send the key in an x-api-key header with every request.

Most MCP clients accept a JSON configuration like this:

{
  "mcpServers": {
    "team-today": {
      "url": "https://api.team-today.com/mcp",
      "headers": {
        "x-api-key": "YOUR_SECRET_KEY"
      }
    }
  }
}

The same key also works for the Team Today public REST API.

Step 3: Try it out

Ask your assistant something that needs Team Today data. Good first questions are:

  • "What can Team Today do for me?"
  • "Who's in the London office tomorrow?"
  • "When is Sam in the office next week?"
  • "Is there a free desk on Floor 2 on Thursday?"
  • "How many days of leave do I have left?"
  • "What have I got booked next week?"

Use your own office, floor and colleague names. The assistant works out dates for you, so "tomorrow" and "next Monday" both work.

Limits and privacy

  • Requests are rate limited to 120 per minute for each connected user or API key. An assistant that goes over this limit is asked to slow down and retries automatically.
  • Data is only ever read. Nothing an assistant does through MCP changes anything in Team Today.
  • Access for a signed-in user stops as soon as that user is deleted or their access is revoked in Team Today.
  • Switching off MCP integration (beta) blocks every request for the company immediately.

Disconnecting an assistant

  • Your own assistants: anyone can see the assistants they have connected in Preferences > AI assistants. Choose Disconnect next to one to remove it. You can also remove the connector in the assistant itself.
  • Anyone's assistants (company admins): go to Settings > Company settings > Other > MCP integration (beta). Connected assistants lists everyone in your company who has connected an assistant by signing in. Choose Disconnect next to the one you want to remove.
  • One app for everyone: a company admin can remove an app they approved from Approved apps in the same setting. This disconnects everyone using it.
  • An API key: go to Settings > Company settings > API Keys and choose Revoke. Any client using that key stops working straight away. API key connections don't appear in Connected assistants.
  • The whole company: switch off MCP integration (beta) under Settings > Company settings > Other.

A disconnected assistant stops working within a few minutes. The person can connect it again by signing in, unless its app has been removed from Approved apps.

Troubleshooting

"MCP integration is not enabled" or the assistant reports a 403 error. MCP integration is switched off for the company. A Company Admin needs to turn on MCP integration (beta) under Settings > Company settings > Other.

The assistant reports a 401 error or "Invalid API key". The API key is wrong, has been revoked or regenerated, or is missing from the request headers. Copy the current key from Settings > Company settings > API Keys, or generate a new one, and update the client.

The Team Today page says MCP integration isn't enabled for your company. Ask a Company Admin to switch on MCP integration (beta), then connect again.

The Team Today page says the app isn't approved for your company yet. A company admin needs to connect that app once themselves and approve it. After that, connect again. Claude, and apps such as Claude Code that sign in on your own computer, never need approving.

Nothing happens after choosing Allow access. Make sure you finished signing in to Team Today in the browser window that opened, then try the connection again from the assistant.

An assistant that used to work has stopped. It may have been disconnected, by you or by a company admin, or its app may have been removed from Approved apps. MCP integration may also have been switched off. Connect it again from the assistant. If the app needs approving again, ask a company admin.

The assistant says it can't see someone's whereabouts or leave. The assistant only sees what you can see in the Team Today app, so private statuses, hidden past whereabouts, private groups and other people's leave balances may be hidden from you. Ask it "What can you see in Team Today?" to check.

The assistant says to check Outlook for a meeting room. That room is linked to Outlook and your company hasn't given Team Today full calendar access, so its bookings can't be read. Check the room in Outlook instead.

Still stuck? Get in touch and include the name of the assistant you are using and the exact error message.