login
Save a session cookie to authenticate and enable all HRMS actions. Use Chrome DevTools to copy the Cookie header and paste it here; the session persists across restarts.
Instructions
Save your HRMS session cookie so all other tools work. Only needed once — the cookie persists across MCP restarts in ~/.config/hrms-mcp/cookies and is reloaded automatically. How to get: Chrome → dashboard.appinventiv.com → DevTools (F12) → Network tab → click any request → copy the full 'Cookie:' header value → paste here. Returns success/failure and whether the session is valid after saving.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cookie": "<cookie>"
},
"name": "login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cookie | Yes | The full Cookie header string from Chrome DevTools. Example: 'ci_session=abc123; AWSALB=xyz; csrf_hrsale=tok'. Or just the ci_session value alone. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||