bitterpanda63/officient-mcp-server
If you are the rightful owner of officient-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
A Model Context Protocol (MCP) server for the Officient API, enabling integration with Claude and other MCP-compatible clients.
Officient MCP Server
A Model Context Protocol (MCP) server for the Officient API, providing seamless integration with Claude and other MCP-compatible clients.
Features
This MCP server exposes 9 tools for interacting with the Officient API:
- list_people - Get a paginated list of people
- list_all_people - Get all people with automatic pagination
- get_person_detail - Get detailed information about a specific person
- get_employee_details - Get details of the current logged-in employee
- list_coworkers_days_off - Get coworkers' days off for a specific month
- list_own_days_off - Get your own days off for a specific year
- get_all_salary_slips - Get all salary slip files
- get_file_download_url - Get download URL for a file (e.g., salary slip PDF)
- get_vacation_day_budgets - Get vacation day budgets for a specific year
Installation
- Clone this repository:
git clone https://github.com/bitterpanda63/officient-mcp-server.git
cd officient-mcp-server
- Install dependencies:
npm install
- Build the TypeScript files:
npm run build
- Create a
.envfile with your Officient token: You can get this officient token by inspecting a request when logged in and copying the bearer from theAuthselfserviceheader.
cp .env.example .env
# Edit .env and add your OFFICIENT_TOKEN
Configuration
Environment Variables
Create a .env file in the root directory:
OFFICIENT_TOKEN=your_officient_token_here
To get your Officient token:
- Log in to your Officient account
- Open browser developer tools (F12)
- Go to Network tab
- Make any request to Officient
- Look for the
Authselfserviceheader in the request
MCP Client Configuration
Add this server to your MCP client configuration (e.g., Claude Desktop):
{
"mcpServers": {
"officient": {
"command": "node",
"args": [
"/path/to/officient-mcp-server/build/index.js"
],
"env": {
"OFFICIENT_TOKEN": "your_token_here"
}
}
}
}
Usage
With Claude Desktop
Once configured, you can use natural language to interact with Officient:
- "List all people in my company"
- "Show me details for person ID 12345"
- "What are my days off this year?"
- "Get my salary slips"
- "Who is on vacation in October 2025?"
Build
# Build once
npm run build
# Watch mode (development)
npm run dev
License
This project is licensed under the MIT License - see the file for details.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.