About Darwinbox HRMS MCP Server
Darwinbox HRMS MCP Server connects the Darwinbox HRMS API through a standardized interface for HR teams and automation systems managing employee records, attendance, and leave. It covers employee lifecycle data and time management, with automatic OAuth 2.0 token handling.
Key features
- 01Retrieve and update employee records
- 02Add and deactivate employees
- 03Access employee history and related data
- 04Query attendance and record punches
- 05Approve leave and check balances
- 06Upload attachments and download personal documents
Use cases
- 01Look up or update employee records in batches
- 02Record regular or backdated attendance
- 03Handle leave approvals and imports
- 04Retrieve personal employee documents
MCP support
The server exposes Darwinbox HRMS employee, attendance, and leave management tools to MCP clients, using OAuth 2.0 authentication for API access.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEDarwinbox HRMS MCP Server
A Model Context Protocol (MCP) server for interacting with the Darwinbox HRMS API. This server provides tools for managing employee data, attendance, and leave management through a standardized interface.
Demo

Features
Core Tools
- Employee Management
- Get employee details (single, multiple, or all employees)
- Update employee information
- Add new employees
- Deactivate employees
- Download personal documents
- Get employee history
- Get position master data
- Get forms data
- Get separation details
- Upload profile attachments
Time Management Tools
- Attendance Management
- Get monthly attendance
- Get daily attendance
- Get attendance roster
- Record attendance punches
- Record backdated attendance
- Leave Management
- Approve leaves
- Get leave action history
- Get holiday list
- Get leave balance
- Import leaves
Installation
- Clone the repository:
git clone https://github.com/prithvidbox/darwinbox-mcp
cd darwinbox-server
- Install dependencies:
npm install
- Build the project:
npm run build
MCP Client Configuration
Claude Desktop Client
{
"mcpServers": {
"darwinbox": {
"command": "node",
"args": ["path/to/darwinbox-server/build/index.js"],
"env": {
"DARWINBOX_DOMAIN": "https://your-domain.darwinbox.in",
"DARWINBOX_CLIENT_ID": "your-client-id",
"DARWINBOX_CLIENT_SECRET": "your-client-secret",
"DARWINBOX_GRANT_TYPE": "authorization_code",
"DARWINBOX_CODE": "your-auth-code",
"DARWINBOX_DATASET_KEY": "your-dataset-key"
},
"disabled": false,
"autoApprove": []
}
}
}
Cline Configuration
{
"servers": {
"darwinbox": {
"command": "node",
"args": ["path/to/darwinbox-server/build/index.js"],
"env": {
"DARWINBOX_DOMAIN": "https://your-domain.darwinbox.in",
"DARWINBOX_CLIENT_ID": "your-client-id",
"DARWINBOX_CLIENT_SECRET": "your-client-secret",
"DARWINBOX_GRANT_TYPE": "authorization_code",
"DARWINBOX_CODE": "your-auth-code",
"DARWINBOX_DATASET_KEY": "your-dataset-key"
}
}
}
}
Cursor Configuration
{
"mcpServers": {
"darwinbox": {
"command": "node",
"args": ["path/to/darwinbox-server/build/index.js"],
"env": {
"DARWINBOX_DOMAIN": "https://your-domain.darwinbox.in",
"DARWINBOX_CLIENT_ID": "your-client-id",
"DARWINBOX_CLIENT_SECRET": "your-client-secret",
"DARWINBOX_GRANT_TYPE": "authorization_code",
"DARWINBOX_CODE": "your-auth-code",
"DARWINBOX_DATASET_KEY": "your-dataset-key"
}
}
}
}
Authentication
The server uses OAuth 2.0 for authentication. It automatically handles:
- Token acquisition using the provided credentials
- Token management and renewal
- Authenticated API requests with proper headers
Error Handling
The server provides detailed error messages for:
- Missing or invalid configuration
- Authentication failures
- Invalid API requests
- API response errors
License
This project is licensed under the MIT License - see the LICENSE file for details.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.