get_direct_deposit
Retrieve an employee's direct deposit account details including account type, status, and name on account, with sensitive banking information automatically redacted for security.
Instructions
Get direct deposit accounts for an employee. Account and routing numbers are redacted — shows account type, status, and name on account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| companyId | No | Paylocity company ID (defaults to PAYLOCITY_COMPANY_ID env var) | |
| employeeId | Yes | Paylocity employee ID |
Implementation Reference
- src/server.ts:323-337 (handler)The 'get_direct_deposit' MCP tool registration and handler implementation.
server.tool( "get_direct_deposit", `Get direct deposit accounts for an employee. Account and routing numbers are redacted — shows account type, status, and name on account.`, { companyId: companyIdParam, employeeId: z.string().describe("Paylocity employee ID"), }, async ({ companyId, employeeId }) => { const cid = resolveCompanyId(companyId); return safeGet( `/v2/companies/${cid}/employees/${employeeId}/directDeposit` ); } );