[{"data":1,"prerenderedAt":487},["ShallowReactive",2],{"navigation":3,"/mcp/overview":166,"/mcp/overview-surround":482},[4,23,44,89,111,136],{"title":5,"path":6,"stem":7,"children":8,"icon":22},"Getting Started","/getting-started","1.getting-started/1.index",[9,12,17],{"title":10,"path":6,"stem":7,"icon":11},"Introduction","i-lucide-house",{"title":13,"path":14,"stem":15,"icon":16},"Installation","/getting-started/installation","1.getting-started/2.installation","i-lucide-download",{"title":18,"path":19,"stem":20,"icon":21},"Usage","/getting-started/usage","1.getting-started/3.usage","i-lucide-sliders",false,{"title":24,"icon":22,"path":25,"stem":26,"children":27,"page":22},"Time tracking & monitoring","/time-tracking","2.Time Tracking",[28,32,36,40],{"title":29,"path":30,"stem":31},"Time & Projects","/time-tracking/timeandprojects","2.Time Tracking/Time&Projects",{"title":33,"path":34,"stem":35},"Time Tracking","/time-tracking/time-tracking","2.Time Tracking/Time-tracking",{"title":37,"path":38,"stem":39},"Timeboard","/time-tracking/timeboard","2.Time Tracking/TimeBoard",{"title":41,"path":42,"stem":43},"Timesheets","/time-tracking/timesheets","2.Time Tracking/Timesheets",{"title":45,"icon":22,"path":46,"stem":47,"children":48,"page":22},"Features","/features","3.features",[49,53,57,61,65,69,73,77,81,85],{"title":50,"path":51,"stem":52},"Dashboard","/features/dashboard","3.features/1.dashboard",{"title":54,"path":55,"stem":56},"SMTP troubleshoot","/features/smtp-troubleshoot","3.features/10.smtp-troubleshoot",{"title":58,"path":59,"stem":60},"Calendar & Leave Overview","/features/calendar","3.features/2.calendar",{"title":62,"path":63,"stem":64},"Calendar Integration","/features/calendar-integration","3.features/3.calendar-integration",{"title":66,"path":67,"stem":68},"Shift Scheduling","/features/schedules","3.features/4.schedules",{"title":70,"path":71,"stem":72},"Project Management","/features/projects","3.features/5.projects",{"title":74,"path":75,"stem":76},"Expense Settings","/features/expense-settings","3.features/6.expense-settings",{"title":78,"path":79,"stem":80},"Auth0 SSO Integration","/features/auth0-integration","3.features/7.auth0-integration",{"title":82,"path":83,"stem":84},"Password & Authentication Policy","/features/policies","3.features/8.policies",{"title":86,"path":87,"stem":88},"Email Configuration (SMTP)","/features/email-configuration","3.features/9.email-configuration",{"title":90,"icon":22,"path":91,"stem":92,"children":93,"page":22},"Expenses","/expenses","4.expenses",[94,98,102,106],{"title":95,"path":96,"stem":97},"Expense Claims","/expenses/overview","4.expenses/1.overview",{"title":99,"path":100,"stem":101},"Add & Manage Purchases","/expenses/purchases","4.expenses/2.purchases",{"title":103,"path":104,"stem":105},"Travel & Mileage Entry","/expenses/travelentries","4.expenses/3.travelentries",{"title":107,"path":108,"stem":109,"icon":110},"Company Card Expenses","/expenses/company-cards","4.expenses/4.company-cards","i-lucide-credit-card",{"title":112,"icon":22,"path":113,"stem":114,"children":115,"page":22},"Settings","/settings","5.settings",[116,120,124,128,132],{"title":117,"path":118,"stem":119},"General","/settings/general","5.settings/1.general",{"title":121,"path":122,"stem":123},"Leave Types","/settings/leavetype","5.settings/2.leaveType",{"title":125,"path":126,"stem":127},"Carry Forward","/settings/carryforward","5.settings/3.carryForward",{"title":129,"path":130,"stem":131},"Department Management","/settings/departments","5.settings/4.departments",{"title":133,"path":134,"stem":135},"Public Holidays","/settings/publicholiday","5.settings/5.publicholiday",{"title":137,"path":138,"stem":139,"children":140,"page":22},"Mcp","/mcp","6.mcp",[141,146,151,156,161],{"title":142,"path":143,"stem":144,"icon":145},"Overview","/mcp/overview","6.mcp/1.overview","i-lucide-bot",{"title":147,"path":148,"stem":149,"icon":150},"Connecting","/mcp/connecting","6.mcp/2.connecting","i-lucide-plug",{"title":152,"path":153,"stem":154,"icon":155},"Tools Reference","/mcp/tools","6.mcp/3.tools","i-lucide-wrench",{"title":157,"path":158,"stem":159,"icon":160},"Security","/mcp/security","6.mcp/4.security","i-lucide-shield",{"title":162,"path":163,"stem":164,"icon":165},"Integrating Your Own MCP Client","/mcp/custom-client","6.mcp/5.custom-client","i-lucide-code",{"id":167,"title":142,"body":168,"description":475,"extension":476,"links":477,"meta":478,"navigation":479,"path":143,"seo":480,"stem":144,"__hash__":481},"docs/6.mcp/1.overview.md",{"type":169,"value":170,"toc":465},"minimark",[171,176,189,193,204,227,231,234,280,284,291,407,413,417,435,439,445],[172,173,175],"h2",{"id":174},"what-is-bookyourpto-mcp","What is BookYourPTO MCP?",[177,178,179,180,188],"p",{},"BookYourPTO MCP is a hosted server that gives AI tools secure access to your BookYourPTO workspace. Built on the ",[181,182,187],"a",{"href":183,"rel":184,"target":186},"https://modelcontextprotocol.io/introduction",[185],"nofollow","_blank","Model Context Protocol (MCP)"," open standard, it lets AI assistants like Claude Code, Cursor, VS Code Copilot, Claude Desktop, and more interact with your HR data.",[172,190,192],{"id":191},"how-it-works","How It Works",[194,195,200],"pre",{"className":196,"code":198,"language":199},[197],"language-text","┌─────────────────┐       SSE        ┌──────────────────┐      REST API     ┌──────────────────┐\n│   AI Client     │ ◄──────────────► │  BookYourPTO MCP │ ◄───────────────► │  BookYourPTO API │\n│ (Claude, Cursor │   Tool calls &   │  Server (hosted) │   Authenticated   │  (app.bookyourpto│\n│  VS Code, etc.) │   responses      │  mcp.bookyourpto │   API requests    │  .com)           │\n└─────────────────┘                  │  .com            │                   └──────────────────┘\n                                     └──────────────────┘\n","text",[201,202,198],"code",{"__ignoreMap":203},"",[205,206,207,215,218,221,224],"ol",{},[208,209,210,211,214],"li",{},"Your AI client connects to ",[201,212,213],{},"mcp.bookyourpto.com/sse"," via Server-Sent Events (SSE)",[208,216,217],{},"The MCP server prompts you to sign in via your browser (standard OAuth 2.0 flow) — your password never touches the AI",[208,219,220],{},"When the AI needs to take an action (e.g., check leave balance), it calls the appropriate MCP tool",[208,222,223],{},"The MCP server makes authenticated API requests to BookYourPTO on your behalf",[208,225,226],{},"Results are returned to the AI client, which formats them into a natural response",[172,228,230],{"id":229},"what-can-you-do","What Can You Do?",[177,232,233],{},"With BookYourPTO MCP, your AI assistant can:",[235,236,237,244,250,256,262,268,274],"ul",{},[208,238,239,243],{},[240,241,242],"strong",{},"Manage leaves"," — Check balances, submit leave requests, approve or reject pending requests",[208,245,246,249],{},[240,247,248],{},"Track time"," — Clock in/out, start/end breaks, query time entries",[208,251,252,255],{},[240,253,254],{},"Handle expenses"," — Query expense reports, view details, approve or reject submissions",[208,257,258,261],{},[240,259,260],{},"View schedules"," — See upcoming shifts, create new shifts, publish weekly schedules",[208,263,264,267],{},[240,265,266],{},"Manage projects"," — List projects, view details, create tasks",[208,269,270,273],{},[240,271,272],{},"Access reports"," — Generate leave and timesheet reports",[208,275,276,279],{},[240,277,278],{},"Organization info"," — View team members, departments, public holidays, dashboard stats",[172,281,283],{"id":282},"available-tools","Available Tools",[177,285,286,287,290],{},"BookYourPTO MCP provides ",[240,288,289],{},"28 tools"," across 9 categories:",[292,293,294,310],"table",{},[295,296,297],"thead",{},[298,299,300,304,307],"tr",{},[301,302,303],"th",{},"Category",[301,305,306],{},"Tools",[301,308,309],{},"Description",[311,312,313,325,336,346,356,366,376,386,396],"tbody",{},[298,314,315,319,322],{},[316,317,318],"td",{},"Auth",[316,320,321],{},"—",[316,323,324],{},"OAuth 2.0 browser-based login (automatic)",[298,326,327,330,333],{},[316,328,329],{},"Leaves",[316,331,332],{},"5",[316,334,335],{},"Query, create, approve/reject leave requests, check balances",[298,337,338,340,343],{},[316,339,33],{},[316,341,342],{},"3",[316,344,345],{},"Clock in/out, breaks, query entries",[298,347,348,350,353],{},[316,349,90],{},[316,351,352],{},"4",[316,354,355],{},"Query reports, view details, approve/reject",[298,357,358,361,363],{},[316,359,360],{},"Users",[316,362,342],{},[316,364,365],{},"Team members, profiles, departments",[298,367,368,371,373],{},[316,369,370],{},"Organization",[316,372,352],{},[316,374,375],{},"Org info, holidays, dashboard stats, notifications",[298,377,378,381,383],{},[316,379,380],{},"Projects",[316,382,342],{},[316,384,385],{},"List, view details, create tasks",[298,387,388,391,393],{},[316,389,390],{},"Schedules",[316,392,342],{},[316,394,395],{},"Query shifts, create shifts, publish schedules",[298,397,398,401,404],{},[316,399,400],{},"Reports",[316,402,403],{},"2",[316,405,406],{},"Leave and timesheet reports",[177,408,409,410,412],{},"See the ",[181,411,152],{"href":153}," for complete documentation of every tool and its parameters.",[172,414,416],{"id":415},"requirements","Requirements",[235,418,419,426,432],{},[208,420,421,422,425],{},"A ",[240,423,424],{},"BookYourPTO Cloud"," account (Pro, Business, or Enterprise plan)",[208,427,428,429,431],{},"An MCP-compatible AI client (see ",[181,430,147],{"href":148},")",[208,433,434],{},"Your BookYourPTO credentials (you'll sign in via your browser when first connecting)",[172,436,438],{"id":437},"resources","Resources",[177,440,441,442,444],{},"The MCP server also exposes read-only ",[240,443,437],{}," that provide context to AI clients:",[235,446,447,453,459],{},[208,448,449,452],{},[201,450,451],{},"bypto://org-settings"," — Organization configuration (timezone, currency, fiscal year)",[208,454,455,458],{},[201,456,457],{},"bypto://leave-types"," — Available leave types and their settings",[208,460,461,464],{},[201,462,463],{},"bypto://team-directory"," — Team members with roles and departments",{"title":203,"searchDepth":466,"depth":467,"links":468},1,2,[469,470,471,472,473,474],{"id":174,"depth":467,"text":175},{"id":191,"depth":467,"text":192},{"id":229,"depth":467,"text":230},{"id":282,"depth":467,"text":283},{"id":415,"depth":467,"text":416},{"id":437,"depth":467,"text":438},"Connect AI assistants to your BookYourPTO workspace using the Model Context Protocol (MCP). Manage leaves, time tracking, expenses, schedules, and more from any MCP-compatible client.","md",null,{},{"icon":145},{"title":142,"description":475},"uuQeY_wwi1qnOsTBatFiXDxHkxCxdMbrStsgO2qX2z8",[483,485],{"title":133,"path":134,"stem":135,"description":484,"children":-1},"Learn how to configure public holidays by location and ensure accurate calendar visibility without affecting leave balances.",{"title":147,"path":148,"stem":149,"description":486,"icon":150,"children":-1},"Step-by-step instructions for connecting your AI tool to BookYourPTO using MCP. Supports Claude Code, Cursor, VS Code, Claude Desktop, Windsurf, and ChatGPT.",1774284206904]