Skip to main content

What is the MCP Server?

The absentify MCP Server allows AI assistants to access our complete documentation and API specification. Using the Model Context Protocol – an open standard for connecting AI applications to external data sources – you can supercharge your development workflow.
MCP Server URL: https://absentify.com/docs/mcp

What’s Included

The MCP server provides AI assistants with access to:
ContentDescription
Full DocumentationAll guides, tutorials, and configuration instructions
API SpecificationComplete OpenAPI schema with all endpoints, parameters, and response types
Code ExamplesSample code in multiple programming languages
Webhooks ReferenceEvent types and payload structures

Benefits

AI-Powered API Development

Your AI assistant can generate accurate API integration code because it has access to the complete OpenAPI specification – correct endpoints, parameters, and authentication.

Instant Documentation Search

Ask questions about absentify features, configuration, or troubleshooting and get answers based on our official documentation.

Accurate Code Generation

No more hallucinated endpoints or wrong parameter names. The AI knows the exact API structure and can generate working code.

Always Current

The MCP server provides access to the latest documentation and API spec, ensuring your AI assistant has up-to-date information.

Use Cases

API Integration

Let your AI assistant help you build integrations faster:
  • “Generate Python code to fetch all pending absence requests”
  • “Create a webhook handler for the request.approved event”
  • “How do I create a new absence request via the API with half-day support?”
  • “Write a Power Automate flow that syncs approved absences to our HR system”

Configuration & Setup

Get guidance on absentify setup and configuration:
  • “How do I configure approval workflows with multiple approvers?”
  • “What permissions are needed for calendar synchronization?”
  • “How can I set up automatic out-of-office replies?”

Troubleshooting

Diagnose and solve issues quickly:
  • “Why am I getting a 401 error from the API?”
  • “The calendar sync isn’t working – what should I check?”
  • “How do I debug webhook delivery issues?”

Supported AI Clients

The absentify MCP Server works with any MCP-compatible client:
ClientPlatformType
Claude DesktopmacOS, WindowsChat application
Claude CodeCLIDevelopment tool
CursormacOS, Windows, LinuxAI-powered IDE
WindsurfmacOS, Windows, LinuxAI-powered IDE
ChatGPT DesktopmacOS, WindowsChat application
VS Code + CopilotAll platformsIDE with MCP extension

Setup Guide

  • Claude Desktop
  • Cursor
  • Windsurf
  • Claude Code (CLI)
1

Open Settings

Click the Claude menu in your system’s menu bar and select Settings…
2

Open Developer Settings

Click the Developer tab in the left sidebar, then click Edit Config
3

Add the absentify MCP Server

Add the following to your configuration file:
{
  "mcpServers": {
    "absentify": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://absentify.com/docs/mcp"]
    }
  }
}
If you already have other MCP servers configured, add the "absentify" entry inside the existing "mcpServers" object.
4

Restart Claude Desktop

Quit Claude Desktop completely and reopen it. Look for the MCP tools icon (hammer) in the input area to confirm the connection.

Example: Building an Integration

Here’s how the MCP server helps you build an integration faster: Without MCP Server: You manually search the documentation, copy endpoint URLs, look up required parameters, and hope you got everything right. With MCP Server:
You: "Generate a TypeScript function that creates an absence request
     for a user, including proper error handling"

AI: [Accesses the API spec via MCP and generates accurate code]

// Generated code with correct endpoint, parameters, and types
async function createAbsenceRequest(
  apiKey: string,
  userId: string,
  startDate: string,
  endDate: string,
  leaveTypeId: string
): Promise<AbsenceRequest> {
  const response = await fetch('https://api.absentify.com/api/v1/requests', {
    method: 'POST',
    headers: {
      'x-api-key': apiKey,
      'Content-Type': 'application/json'
    },
    body: JSON.stringify({
      user_id: userId,
      start_date: startDate,
      end_date: endDate,
      leave_type_id: leaveTypeId
    })
  });

  if (!response.ok) {
    const error = await response.json();
    throw new Error(`API Error: ${error.message}`);
  }

  return response.json();
}

Requirements

  • An MCP-compatible AI client (see supported clients above)
  • Internet connection to access the MCP server
  • Node.js (for clients using npx to run MCP)
The MCP server provides read-only access to documentation and API specifications. To actually make API calls, you need an API key from a Plus plan subscription.

Troubleshooting

  • Verify the URL is exactly: https://absentify.com/docs/mcp
  • Ensure Node.js is installed (required for npx command)
  • Check your internet connection
  • Fully restart your AI client after configuration changes
  • Mention “absentify” in your prompt to help the AI use the right context
  • Check if the MCP tools icon appears in your client’s interface
  • Try explicitly asking: “Use the absentify documentation to…”
  • Verify you have a valid API key configured
  • Check the API Limits for rate limiting
  • Review the Responses documentation for error handling

Next Steps