AI Integration

New

Manage PTO with your AI

Connect Claude, ChatGPT, Cursor, VS Code or any MCP-compatible assistant to BookYourPTO. More than 300 tools for leave, time tracking, expenses, HR, performance and documents — through natural language, with your own permissions.

Claude Code
❯ show me my days off this week
▸ bookyourpto - query_leaves (MCP)
┌──────────┬────────────────────┬──────┐
│ Mon, Mar 9 │ Working from home │ 1d │
│ Fri, Mar 13│ Annual Leave │ 1d │
└──────────┴────────────────────┴──────┘
2 days off this week — WFH today, vacation on Friday.
❯ what's my schedule for tomorrow?
▸ bookyourpto - query_schedules (MCP)
Tomorrow (Tue, Mar 10): 8:30 AM – 4:30 PM in office, 8 hours.

Getting Started

Three steps to AI-powered PTO

Set up once, use everywhere. No API keys to manage, no passwords given to the AI.

Step 1

Connect

Run npx @bookyourpto/wizard mcp add, or add one server address to your AI client.

Step 2

Authenticate

Sign in via your browser with OAuth 2.0 + PKCE. Passwords never touch the AI.

Step 3

Use

Ask naturally. The AI calls the right tools for you — leave, expenses, time tracking, and more.

Compatibility

Works with your favorite AI tools

One server, every client. Run the wizard, or pick yours and add one address.

Terminal
$ npx -y @bookyourpto/wizard@latest mcp add
Finds your AI clients and connects the ones you pick. Needs Node.js 18 or later

Capabilities

More than 300 tools, one per job

Everything you can do in BookYourPTO, from your assistant — limited to what your role allows.

Leave

12

Balances, requests, approvals, cancellations and team availability

get_leave_balancecreate_leave_requestquery_leavesapprove_or_reject_leaverequest_leave_cancellation

Expenses

25

Reports, line items, per diems, mileage, receipts, approvals and payment

create_expenseadd_expense_line_itemadd_mileageanalyze_receiptsubmit_expenseapprove_or_reject_expense

Time Tracking

15

Clock in and out, entries, approvals and timesheets

People

21

Profiles, accounts, directory and org chart

HR Records

73

Certifications, assets, compensation, visas, onboarding and custom fields

Performance

37

Goals, review cycles, assessments and 1:1s

Documents

21

Templates, signature requests, bulk sends and reminders

send_document_from_templatecreate_bulk_sendremind_document_signersquery_expiring_documents

Admin

94

Settings, audit logs, security, billing and integrations

update_org_settingsquery_audit_logsquery_signin_logsget_subscription
Read-only look-ups
Changes limited to your role
Every module you use

Why let an assistant act, not just answer? Read agentic HR, explained, or see the assistant built into our AI HR software.

Security

Enterprise-grade by default

Your credentials never leave BookYourPTO. The MCP server is a stateless bridge.

How authentication flows

AI client opens your browser

OAuth 2.0 + PKCE authorization request

You sign in on BookYourPTO

Password + optional 2FA — stays here

Secure

Short-lived JWT token issued

Scoped to your role — no password included

AI calls tools with token

MCP server verifies locally, never stores

Live
OAuth 2.0 + PKCE
Role-Based Access
2FA Supported
Zero Credential Storage

Setup Wizard

Connect every AI tool in one command

The BookYourPTO wizard finds Claude Code, Cursor, VS Code and Windsurf on your computer, asks which to connect, and adds BookYourPTO to each. Restart, ask a question, and sign in once in your browser.

  • Never asks for or stores a password, key or token
  • Changes only the BookYourPTO entry and backs up each file first
  • Dry run, status and remove commands included
  • No analytics and no network calls of its own
Wizard guide
Terminal
$ npx -y @bookyourpto/wizard@latest mcp add
Found these AI clients on this computer:
1. Claude Code
2. Cursor
3. VS Code
Connect BookYourPTO to which? [all] or numbers, e.g. 1,3: all
- Claude Code: added
- Cursor: added (~/.cursor/mcp.json)
- VS Code: added (mcp.json)
Restart the client(s) above. The first time BookYourPTO is used,
your browser opens to sign in.

Ready to connect your AI?

More than 300 tools, natural language, works with Claude, ChatGPT, Cursor, VS Code, and more.

7-day free trial · Cancel anytime