payroll-mcp-server
If you are the rightful owner of payroll-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 henry@mcphub.com.
A Model Context Protocol (MCP) server implementation using TypeScript and Express for payroll management.
The TypeScript MCP Server is a robust implementation of the Model Context Protocol (MCP) using TypeScript and Express, specifically designed for payroll management. It allows AI models to interact with external systems in a standardized manner, providing a framework for defining resources, tools, and prompts that LLMs can utilize to perform tasks. The server supports real-time communication through Server-Sent Events (SSE) and includes a client example for testing. It requires Node.js 18+ and npm or yarn for installation. The server offers two authentication methods: API authentication and Partner authentication, and provides several API endpoints for interaction. It also includes typed interfaces for API responses to ensure type safety.
Features
- Implements the MCP protocol for LLM interactions
- Provides payroll management tools and employee information access
- Uses Express for HTTP handling
- Supports Server-Sent Events (SSE) for real-time communication
- Includes a client example for testing
Tools
view-people
View information about a specific person using employee ID (requires authId and authKey authentication)
view-all-people
View all people with optional filtering and pagination (supports both API authentication with authId/authKey or Partner authentication with partnerKey/clientKey)
getEmployeeInfo
A simplified employee information retrieval tool that returns basic employee data (name, department, role) based on employee ID
calculatePayroll
Calculate payroll for an employee based on hours worked and hourly rate (computes gross pay, 20% tax, and net pay)