Skip to main content
The MCP server requires Plus. See the plan feature matrix.

What is the MCP server?

The absentify MCP server connects AI assistants directly to your absentify workspace. Using the Model Context Protocol, an open standard supported by Claude, ChatGPT, Cursor, and more, you can ask in plain language how many vacation days you have left, who is out this week, or to book a day off.
MCP server URL: https://api.absentify.com/api/mcpThis is the workspace MCP server. It requires a Plus Plan. Every active user in that workspace can connect. Sign in with Microsoft, or send the workspace API key from Settings > Integrations > API in the X-API-KEY header. After Microsoft sign-in, the assistant only sees and changes what that user may see and change. An API key always includes the full API tools and acts with the permissions of the administrator who generated it.

What can the AI do?

Once connected, your AI assistant can:

Check your leave

See your absences and how many days or hours you have left. Request time off or cancel your own request.

See who is out

See who is absent this week, optionally in one department. Look up a user by name or email.

Approve requests

If you approve requests in absentify, list the ones waiting for you, then approve or decline them.

Search documentation

Search the full absentify documentation and retrieve detailed guides. Built into the same server.
Administrators can also allow the full API tools while they connect. Those tools cover every endpoint of the absentify API, so the assistant can then change users, departments, leave types, and workspace settings.

Example prompts

Here are some things you can ask your AI assistant once connected: Your leave:
  • “How many vacation days do I have left?”
  • “Create a vacation request for next Monday to Friday”
  • “Cancel my request for next Monday”
  • “Who is out this week in Marketing?”
Approvals:
  • “Show me the requests waiting for me”
  • “Approve the absence request from Sarah”
Documentation and help:
  • “How do I configure approval workflows with multiple approvers?”
  • “What are the API rate limits?”
  • “How does calendar synchronization work?”

Available tools

By default, Microsoft sign-in gives the assistant a set of tools that act as you: If you are an administrator, the consent screen includes an option to also allow the full API tools. That option is off until you choose it. It covers every endpoint of the absentify API. A workspace API key includes those full API tools automatically. There is no consent screen for an API key.

Setup guide

Requirements

  • A Plus Plan
  • An active user in that workspace
  • An MCP-compatible AI client
  • A way to authenticate. Sign in with Microsoft when your client can open a browser. Use the workspace API key from Settings > Integrations > API when it cannot.
For Microsoft sign-in, use a Microsoft account that already belongs to that absentify user. Sign in to absentify once before you connect the assistant.

Add the server and sign in with Microsoft

Add the server URL. Your client opens a browser so you can sign in with Microsoft. After you pick the account, absentify shows a consent screen titled “Connect to absentify”. It names the app, your account, your workspace, and the permissions it asks for. Allow the connection to finish. Cancel sends you back without connecting. The assistant then acts with your permissions in that workspace. If you are an administrator, you can also allow the full API tools on that screen. Leave the option off unless you want the assistant to use every endpoint of the absentify API. If your client cannot complete this flow, use an API key instead.
1

Open connectors

Open Settings, then select Connectors.
2

Add a custom connector

Select Add custom connector and enter:
  • Name: absentify
  • Remote MCP server URL: https://api.absentify.com/api/mcp
Select Add.
3

Connect and sign in

Select Connect next to absentify. A browser window opens. Sign in with Microsoft, then allow access. You’re connected.
Claude Desktop connects remote servers through Connectors, not through the claude_desktop_config.json file. That file only supports local servers.
You can also open the in-app Setup Guide from Settings > Integrations > MCP Server.

Connect with an API key

When the client cannot complete Microsoft sign-in, send the workspace API key from Settings > Integrations > API in the X-API-KEY header.
  1. Open Settings > Integrations > API.
  2. On the API integration page, select Get API key.
  3. Select Generate new key, and copy the key while it is shown. Generating a new key invalidates the old one.
  4. Add the server URL https://api.absentify.com/api/mcp and send the key in the X-API-KEY header.
Claude Code:
Clients that use a JSON config add a headers object:
Some clients show X-API-KEY as an optional header. Fill it in and skip Microsoft sign-in. The assistant then acts with the permissions of the administrator who generated the key. It includes the full API tools, so it can read workspace data and create or change absences, users, and settings. There is no consent screen. Send the key only in X-API-KEY. Do not put it in the URL. Do not send it as Authorization: Bearer. That header is for Microsoft sign-in. If your client sends both, absentify uses the Microsoft sign-in and ignores the API key. If you generate a new key, update every client that still uses the old one. See API access for how to create and replace the key.

Example: real conversation

Here’s a real example of what a conversation with an MCP-connected AI looks like:
The last step only works if that request is waiting for you. Otherwise, ask the assistant to create or cancel your own requests instead.
You can still search the documentation without connecting your workspace. Use the read-only documentation MCP server at https://absentify.com/docs/mcp. It lets your AI assistant search our docs and answer setup questions, but it cannot interact with your workspace.

Troubleshooting

  • Make sure you’re using the correct URL: https://api.absentify.com/api/mcp
  • Check your default browser settings
  • Start the connection again from the application
absentify shows one of these messages:
  • The absentify MCP server requires the Plus plan. Please upgrade your subscription to connect absentify to Copilot.
  • No absentify account is linked to this Microsoft user. Please sign in to absentify once before connecting the app.
  • Your absentify account is not active. Please ask an administrator to reactivate it.
  • This sign-in has expired or This page has expired: start the connection again from the application.
  • absentify could not verify your Microsoft account. Please try again.
  • Too many sign-in attempts from this network. Please try again later.
absentify shows one of these messages:
  • Authentication required.: the client sent neither a Microsoft sign-in nor an X-API-KEY header.
  • The API key is not valid.: Open Settings > Integrations > API, select Get API key, then select Generate new key and copy the key while it is shown.
  • The absentify API and MCP server require the Plus plan. Please upgrade your subscription to use this API key.
  • The user associated with this API key is no longer an active admin
  • User associated with API key not found
  • This API key was issued for a different workspace.
  • The access token is not valid.: the key was sent as Authorization: Bearer. Send it in X-API-KEY instead.
  • Check the API Limits. You may be rate limited.
  • The assistant can only do what the connected user can do in absentify.
  • Microsoft sign-in does not include the full API tools unless an administrator allowed them while connecting. Reconnect as an administrator and allow them if you need every API endpoint.
  • If that user is no longer active, or the workspace no longer has a Plus Plan, the connection stops. Fix that, then connect again. For an API key, the administrator who generated the key must still be an active administrator on a Plus plan.
  • This connection was authorized for a different workspace. Please connect absentify again.
  • Mention “absentify” in your prompt to help the AI use the right tools
  • Check if the MCP tools icon appears in your client’s interface
  • Try explicitly asking: “Use the absentify tools to…”
  • Restart your AI client after adding the MCP server

Next steps

Integrations

Open MCP Server in Settings and follow the Setup Guide

API Reference

Browse all available API endpoints