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.
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?”
- “Show me the requests waiting for me”
- “Approve the absence request from Sarah”
- “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.
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.- Claude Desktop
- Claude Code (CLI)
- Cursor
- Windsurf
- VS Code + Copilot
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
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.Connect with an API key
When the client cannot complete Microsoft sign-in, send the workspace API key from Settings > Integrations > API in theX-API-KEY header.
- Open Settings > Integrations > API.
- On the API integration page, select Get API key.
- Select Generate new key, and copy the key while it is shown. Generating a new key invalidates the old one.
- Add the server URL
https://api.absentify.com/api/mcpand send the key in theX-API-KEYheader.
headers object:
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: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
The page says Connection not possible
The page says Connection not possible
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.
Sign-in failed or the page has expired
Sign-in failed or the page has expired
This sign-in has expiredorThis 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.
The API key is rejected
The API key is rejected
absentify shows one of these messages:
Authentication required.: the client sent neither a Microsoft sign-in nor anX-API-KEYheader.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 adminUser associated with API key not foundThis API key was issued for a different workspace.The access token is not valid.: the key was sent asAuthorization: Bearer. Send it inX-API-KEYinstead.
Tools return errors after connecting
Tools return errors after connecting
- 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.
AI is not using the MCP tools
AI is not using the MCP tools
- 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