Connect Claude, ChatGPT, Gemini, Cursor and other AI agents to Lunacal to check availability, manage bookings and edit event types from chat.
The Lunacal MCP server lets AI assistants and agents work with your Lunacal account through the Model Context Protocol. Once connected, you can ask your assistant things like “Am I free Thursday afternoon?”, “Book a 30-minute call with priya@acme.com tomorrow at 3pm” or “Create a 45-minute Strategy Session event type” — and it will do it in Lunacal for you.
Server URL
https://mcp.lunacal.ai/mcp
Detail
Value
Transport
Streamable HTTP
Authentication
OAuth 2.1 with PKCE (sign in with your Lunacal account)
Client registration
Dynamic — no client ID or secret needed
You don’t need an API key. The first time you connect, your AI client opens a Lunacal sign-in and consent screen. Approve it and the client receives a token that acts on your behalf. You can disconnect at any time from your AI client’s connector settings.
Available tools
The MCP server exposes the following tools. Your AI assistant picks the right one automatically based on what you ask.
Account & availability
Tool
What it does
Example prompt
Get current user
Returns the connected Lunacal user’s profile, timezone and booking page details.
”Which Lunacal account am I connected to?”
Get availability
Returns open time slots for an event type within a date range.
”What slots do I have open next Tuesday for my 30-min call?”
Bookings
Tool
What it does
Example prompt
List bookings
Lists upcoming, past or cancelled bookings, with attendee details.
”Show my meetings for this week.”
Create booking
Books a meeting on one of your event types for an attendee.
”Book my Intro Call with sam@example.com on Friday at 11am.”
Cancel booking
Cancels an existing booking, optionally with a reason.
”Cancel my 4pm meeting tomorrow — I’m out sick.”
Event types
Tool
What it does
Example prompt
List event types
Lists all your event types with their duration, slug and status.
”What event types do I have?”
Get event type
Returns the full settings of a single event type.
”Show me the settings of my Discovery Call.”
Create event type
Creates a new event type (title, duration, slug, location and more).
”Create a 60-minute Consultation event with a Zoom link.”
Update event type
Changes an existing event type’s settings.
”Change my Discovery Call to 45 minutes.”
Switch published
Publishes or hides (unpublishes) an event type from your booking page.
”Hide my Holiday Special event from my page.”
For full request and response details of each operation, see the API Documentation.
Tools such as Create booking, Cancel booking and Update event type make real changes to your account and may notify your attendees. Most AI clients ask you to confirm before running them — review the details before approving.
Connect your AI agent
Claude
Claude Code
ChatGPT
Gemini CLI
Cursor
VS Code
Windsurf
Other clients
Works on Claude.ai (web), Claude Desktop and the Claude mobile apps.
1
Open Connectors
Go to Settings → Connectors in Claude.
2
Add a custom connector
Click Add custom connector, enter Lunacal as the name and paste the server URL:
https://mcp.lunacal.ai/mcp
3
Sign in to Lunacal
Click Connect. Sign in to Lunacal and approve access on the consent screen.
4
Use it in a chat
In a new chat, open the + / tools menu, make sure Lunacal is enabled, and ask away.
On Team and Enterprise plans, an organization Owner may need to add the connector first under Organization settings → Connectors.
Run this in your terminal:
claude mcp add --transport http lunacal https://mcp.lunacal.ai/mcp
Then start Claude Code, type /mcp, select lunacal and choose Authenticate to sign in to Lunacal in your browser.
Custom MCP connectors are available on ChatGPT paid plans (Plus, Pro, Business, Enterprise and Edu) on the web.
1
Enable Developer mode
Go to Settings → Apps & Connectors → Advanced settings and turn on Developer mode.
2
Create the connector
Back in Apps & Connectors, click Create. Fill in:
Name:Lunacal
Description:Manage Lunacal availability, bookings and event types
MCP Server URL:https://mcp.lunacal.ai/mcp
Authentication:OAuth
Tick I trust this application and click Create.
3
Sign in to Lunacal
Sign in to Lunacal and approve access when prompted.
4
Use it in a chat
In a new chat, click + → More → Developer mode and enable Lunacal. Then ask ChatGPT to check your availability or book a meeting.
On Business and Enterprise workspaces, an admin may need to allow Developer mode or custom connectors first.
Add Lunacal to your Gemini CLI settings file (~/.gemini/settings.json):
Your browser opens the Lunacal sign-in page. Once approved, run /mcp to confirm the Lunacal tools are listed.
The Gemini web and mobile apps don’t currently support custom MCP servers. Use Gemini CLI (or Gemini Code Assist in agent mode, which uses the same settings.json).
Open Cursor Settings → MCP → Add new MCP server, or edit ~/.cursor/mcp.json:
“What does my availability look like for the rest of this week?”
“Book a Discovery Call with alex@company.com next Monday at 10am IST.”
“List all my bookings for tomorrow and cancel the one with John.”
“Create a 20-minute Quick Chat event type and publish it.”
“Unpublish my Summer Workshop event.”
Troubleshooting
I get an 'invalid_token' or 'unauthorized' error
Your session has expired or was revoked. Disconnect and reconnect the Lunacal connector in your AI client to sign in again.
The Lunacal tools don't show up
Make sure the connector is enabled for the current chat (in Claude and ChatGPT, check the tools / Developer mode menu). In CLI and IDE clients, restart the client after editing the config file.
The sign-in window doesn't open
Check that pop-ups aren’t blocked for your AI client, and that you’re using the exact URL https://mcp.lunacal.ai/mcp.
Bookings show the wrong time
Times are stored in UTC. Mention your timezone in your prompt (for example, “3pm IST”) or make sure your Lunacal profile timezone is correct.
Security & privacy
The AI client only gets access after you approve it on Lunacal’s consent screen.
Access tokens are short-lived and are sent only to mcp.lunacal.ai.
Revoke access anytime by removing the Lunacal connector from your AI client.
For the full OAuth details, a per-tool list of permissions and side effects, and error handling, see MCP security & permissions.
{"docsConfig":{"theme":"palm","$schema":"https://mintlify.com/docs.json","name":"Lunacal.ai","colors":{"primary":"#d87fd8","light":"#d87fd8","dark":"#d87fd8"},"logo":{"light":"https://mintcdn.com/lunacalai/-7Ir3zvwqXhmUhg0/logo/lunacal-logo-light.svg?fit=max\u0026auto=format\u0026n=-7Ir3zvwqXhmUhg0\u0026q=85\u0026s=6505b42668481df4300de9262f80fbed","dark":"https://mintcdn.com/lunacalai/-7Ir3zvwqXhmUhg0/logo/lunacal-logo-dark.svg?fit=max\u0026auto=format\u0026n=-7Ir3zvwqXhmUhg0\u0026q=85\u0026s=c068a2b4afc3818f8d821f21db3afafe"},"favicon":"https://mintcdn.com/lunacalai/1VzCvxTsH_HZ0Hyn/favicon.ico?fit=max\u0026auto=format\u0026n=1VzCvxTsH_HZ0Hyn\u0026q=85\u0026s=f1294b82a1b19c1383250afb6205a672","navbar":{"links":[{"href":"https://lunacal.ai/lunacal-support/quick-support","label":"Support"}]},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/lunacal"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"lunacalai","hasAudioNarration":false,"actualSubdomain":"lunacalai","customDomains":["help.lunacal.ai"],"gitSource":{"type":"github","owner":"lunacal","repo":"mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae8ae55883d97e41aaf66d9","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"API Documentation","count":14},{"language":"default","tag":"Teams \u0026 Workspaces","count":13},{"language":"default","tag":"Event Types","count":13},{"language":"default","tag":"Advanced","count":10},{"language":"default","tag":"Integrations","count":7},{"language":"default","tag":"Event type endpoints","count":6},{"language":"default","tag":"Workflows","count":3},{"language":"default","tag":"Booking endpoints","count":3},{"language":"default","tag":"Bookings Page","count":3},{"language":"default","tag":"Others","count":3}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":".nav-logo{height:1.25rem!important}"}],"page":{"pagePath":"mcp-server","slug":"/mcp-server","pageMetadata":{"title":"Lunacal MCP Server","sidebarTitle":"MCP Server","description":"Connect Claude, ChatGPT, Gemini, Cursor and other AI agents to Lunacal to check availability, manage bookings and edit event types from chat.","icon":"plug","href":"/mcp-server"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Connect Claude, ChatGPT, Gemini, Cursor and other AI agents to Lunacal to check availability, manage bookings and edit event types from chat.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,CodeBlock,Heading,Note,Step,Steps,Tab,Table,Tabs,Tip,Warning}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`The Lunacal MCP server lets AI assistants and agents work with your Lunacal account through the `,_jsx(_components.a,{href:`https://modelcontextprotocol.io`,children:`Model Context Protocol`}),`. Once connected, you can ask your assistant things like `,_jsx(_components.em,{children:`“Am I free Thursday afternoon?”`}),`, `,_jsxs(_components.em,{children:[`“Book a 30-minute call with `,_jsx(_components.a,{href:`mailto:priya@acme.com`,children:`priya@acme.com`}),` tomorrow at 3pm”`]}),` or `,_jsx(_components.em,{children:`“Create a 45-minute Strategy Session event type”`}),` — and it will do it in Lunacal for you.`]}),`\n`,_jsx(Heading,{level:`2`,id:`server-url`,children:`Server URL`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`https://mcp.lunacal.ai/mcp`})}),`\n`]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Detail`}),_jsx(_components.th,{children:`Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Transport`}),_jsx(_components.td,{children:`Streamable HTTP`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Authentication`}),_jsx(_components.td,{children:`OAuth 2.1 with PKCE (sign in with your Lunacal account)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Client registration`}),_jsx(_components.td,{children:`Dynamic — no client ID or secret needed`})]})]})]}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`You don’t need an API key. The first time you connect, your AI client opens a Lunacal sign-in and consent screen. Approve it and the client receives a token that acts on your behalf. You can disconnect at any time from your AI client’s connector settings.`})}),`\n`,_jsx(Heading,{level:`2`,id:`available-tools`,children:`Available tools`}),`\n`,_jsx(_components.p,{children:`The MCP server exposes the following tools. Your AI assistant picks the right one automatically based on what you ask.`}),`\n`,_jsx(Heading,{level:`3`,id:`account-\u0026-availability`,children:`Account \u0026 availability`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Tool`}),_jsx(_components.th,{children:`What it does`}),_jsx(_components.th,{children:`Example prompt`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Get current user`})}),_jsx(_components.td,{children:`Returns the connected Lunacal user’s profile, timezone and booking page details.`}),_jsx(_components.td,{children:`”Which Lunacal account am I connected to?”`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Get availability`})}),_jsx(_components.td,{children:`Returns open time slots for an event type within a date range.`}),_jsx(_components.td,{children:`”What slots do I have open next Tuesday for my 30-min call?”`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`bookings`,children:`Bookings`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Tool`}),_jsx(_components.th,{children:`What it does`}),_jsx(_components.th,{children:`Example prompt`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`List bookings`})}),_jsx(_components.td,{children:`Lists upcoming, past or cancelled bookings, with attendee details.`}),_jsx(_components.td,{children:`”Show my meetings for this week.”`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Create booking`})}),_jsx(_components.td,{children:`Books a meeting on one of your event types for an attendee.`}),_jsxs(_components.td,{children:[`”Book my Intro Call with `,_jsx(_components.a,{href:`mailto:sam@example.com`,children:`sam@example.com`}),` on Friday at 11am.”`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Cancel booking`})}),_jsx(_components.td,{children:`Cancels an existing booking, optionally with a reason.`}),_jsx(_components.td,{children:`”Cancel my 4pm meeting tomorrow — I’m out sick.”`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`event-types`,children:`Event types`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Tool`}),_jsx(_components.th,{children:`What it does`}),_jsx(_components.th,{children:`Example prompt`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`List event types`})}),_jsx(_components.td,{children:`Lists all your event types with their duration, slug and status.`}),_jsx(_components.td,{children:`”What event types do I have?”`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Get event type`})}),_jsx(_components.td,{children:`Returns the full settings of a single event type.`}),_jsx(_components.td,{children:`”Show me the settings of my Discovery Call.”`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Create event type`})}),_jsx(_components.td,{children:`Creates a new event type (title, duration, slug, location and more).`}),_jsx(_components.td,{children:`”Create a 60-minute Consultation event with a Zoom link.”`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Update event type`})}),_jsx(_components.td,{children:`Changes an existing event type’s settings.`}),_jsx(_components.td,{children:`”Change my Discovery Call to 45 minutes.”`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Switch published`})}),_jsx(_components.td,{children:`Publishes or hides (unpublishes) an event type from your booking page.`}),_jsx(_components.td,{children:`”Hide my Holiday Special event from my page.”`})]})]})]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`For full request and response details of each operation, see the `,_jsx(_components.a,{href:`/api/introduction`,children:`API Documentation`}),`.`]})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Tools such as `,_jsx(_components.strong,{children:`Create booking`}),`, `,_jsx(_components.strong,{children:`Cancel booking`}),` and `,_jsx(_components.strong,{children:`Update event type`}),` make real changes to your account and may notify your attendees. Most AI clients ask you to confirm before running them — review the details before approving.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`connect-your-ai-agent`,children:`Connect your AI agent`}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Claude`,id:`claude`,children:[_jsx(_components.p,{children:`Works on Claude.ai (web), Claude Desktop and the Claude mobile apps.`}),_jsxs(Steps,{children:[_jsx(Step,{title:`Open Connectors`,children:_jsxs(_components.p,{children:[`Go to `,_jsx(_components.strong,{children:`Settings → Connectors`}),` in Claude.`]})}),_jsxs(Step,{title:`Add a custom connector`,children:[_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Add custom connector`}),`, enter `,_jsx(_components.code,{children:`Lunacal`}),` as the name and paste the server URL:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`https://mcp.lunacal.ai/mcp`})}),`\n`]})})})]}),_jsx(Step,{title:`Sign in to Lunacal`,children:_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Connect`}),`. Sign in to Lunacal and approve access on the consent screen.`]})}),_jsx(Step,{title:`Use it in a chat`,children:_jsxs(_components.p,{children:[`In a new chat, open the `,_jsx(_components.strong,{children:`+ / tools`}),` menu, make sure `,_jsx(_components.strong,{children:`Lunacal`}),` is enabled, and ask away.`]})})]}),_jsx(Note,{children:_jsxs(_components.p,{children:[`On Team and Enterprise plans, an organization Owner may need to add the connector first under `,_jsx(_components.strong,{children:`Organization settings → Connectors`}),`.`]})})]}),_jsxs(Tab,{title:`Claude Code`,id:`claude-code`,children:[_jsx(_components.p,{children:`Run this in your terminal:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`claude`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mcp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` add`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --transport`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` http`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` lunacal`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://mcp.lunacal.ai/mcp`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`Then start Claude Code, type `,_jsx(_components.code,{children:`/mcp`}),`, select `,_jsx(_components.strong,{children:`lunacal`}),` and choose `,_jsx(_components.strong,{children:`Authenticate`}),` to sign in to Lunacal in your browser.`]})]}),_jsxs(Tab,{title:`ChatGPT`,id:`chatgpt`,children:[_jsx(_components.p,{children:`Custom MCP connectors are available on ChatGPT paid plans (Plus, Pro, Business, Enterprise and Edu) on the web.`}),_jsxs(Steps,{children:[_jsx(Step,{title:`Enable Developer mode`,children:_jsxs(_components.p,{children:[`Go to `,_jsx(_components.strong,{children:`Settings → Apps \u0026 Connectors → Advanced settings`}),` and turn on `,_jsx(_components.strong,{children:`Developer mode`}),`.`]})}),_jsxs(Step,{title:`Create the connector`,children:[_jsxs(_components.p,{children:[`Back in `,_jsx(_components.strong,{children:`Apps \u0026 Connectors`}),`, click `,_jsx(_components.strong,{children:`Create`}),`. Fill in:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Name:`}),` `,_jsx(_components.code,{children:`Lunacal`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Description:`}),` `,_jsx(_components.code,{children:`Manage Lunacal availability, bookings and event types`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`MCP Server URL:`}),` `,_jsx(_components.code,{children:`https://mcp.lunacal.ai/mcp`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Authentication:`}),` `,_jsx(_components.code,{children:`OAuth`})]}),`\n`]}),_jsxs(_components.p,{children:[`Tick `,_jsx(_components.strong,{children:`I trust this application`}),` and click `,_jsx(_components.strong,{children:`Create`}),`.`]})]}),_jsx(Step,{title:`Sign in to Lunacal`,children:_jsx(_components.p,{children:`Sign in to Lunacal and approve access when prompted.`})}),_jsx(Step,{title:`Use it in a chat`,children:_jsxs(_components.p,{children:[`In a new chat, click `,_jsx(_components.strong,{children:`+ → More → Developer mode`}),` and enable `,_jsx(_components.strong,{children:`Lunacal`}),`. Then ask ChatGPT to check your availability or book a meeting.`]})})]}),_jsx(Note,{children:_jsx(_components.p,{children:`On Business and Enterprise workspaces, an admin may need to allow Developer mode or custom connectors first.`})})]}),_jsxs(Tab,{title:`Gemini CLI`,id:`gemini-cli`,children:[_jsxs(_components.p,{children:[`Add Lunacal to your Gemini CLI settings file (`,_jsx(_components.code,{children:`~/.gemini/settings.json`}),`):`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"mcpServers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"lunacal\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"httpUrl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://mcp.lunacal.ai/mcp\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(_components.p,{children:`Start Gemini CLI and run:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`/mcp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` auth`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` lunacal`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`Your browser opens the Lunacal sign-in page. Once approved, run `,_jsx(_components.code,{children:`/mcp`}),` to confirm the Lunacal tools are listed.`]}),_jsx(Note,{children:_jsxs(_components.p,{children:[`The Gemini web and mobile apps don’t currently support custom MCP servers. Use Gemini CLI (or Gemini Code Assist in agent mode, which uses the same `,_jsx(_components.code,{children:`settings.json`}),`).`]})})]}),_jsxs(Tab,{title:`Cursor`,id:`cursor`,children:[_jsxs(_components.p,{children:[`Open `,_jsx(_components.strong,{children:`Cursor Settings → MCP → Add new MCP server`}),`, or edit `,_jsx(_components.code,{children:`~/.cursor/mcp.json`}),`:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"mcpServers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"lunacal\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://mcp.lunacal.ai/mcp\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsxs(_components.p,{children:[`Cursor shows a `,_jsx(_components.strong,{children:`Needs login`}),` prompt next to the server — click it to sign in to Lunacal.`]})]}),_jsxs(Tab,{title:`VS Code`,id:`vs-code`,children:[_jsxs(_components.p,{children:[`Requires GitHub Copilot in agent mode. Add this to `,_jsx(_components.code,{children:`.vscode/mcp.json`}),` in your project (or run `,_jsx(_components.strong,{children:`MCP: Add Server`}),` from the Command Palette):`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"servers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"lunacal\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"http\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://mcp.lunacal.ai/mcp\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Start`}),` above the server entry and sign in to Lunacal when prompted.`]})]}),_jsxs(Tab,{title:`Windsurf`,id:`windsurf`,children:[_jsxs(_components.p,{children:[`Open `,_jsx(_components.strong,{children:`Windsurf Settings → Cascade → MCP Servers → View raw config`}),` and add:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"mcpServers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"lunacal\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"serverUrl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://mcp.lunacal.ai/mcp\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(_components.p,{children:`Refresh the MCP list and sign in to Lunacal when prompted.`})]}),_jsxs(Tab,{title:`Other clients`,id:`other-clients`,children:[_jsxs(_components.p,{children:[`Any MCP client that supports remote `,_jsx(_components.strong,{children:`Streamable HTTP`}),` servers with OAuth can connect directly using:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`https://mcp.lunacal.ai/mcp`})}),`\n`]})})}),_jsxs(_components.p,{children:[`If your client only supports local (stdio) servers, use the `,_jsx(_components.a,{href:`https://www.npmjs.com/package/mcp-remote`,children:_jsx(_components.code,{children:`mcp-remote`})}),` bridge:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"mcpServers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"lunacal\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"command\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"npx\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"args\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"-y\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"mcp-remote\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://mcp.lunacal.ai/mcp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`example-prompts`,children:`Example prompts`}),`\n`,_jsx(_components.p,{children:`Try these once you’re connected:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`“What does my availability look like for the rest of this week?”`}),`\n`,_jsxs(_components.li,{children:[`“Book a Discovery Call with `,_jsx(_components.a,{href:`mailto:alex@company.com`,children:`alex@company.com`}),` next Monday at 10am IST.”`]}),`\n`,_jsx(_components.li,{children:`“List all my bookings for tomorrow and cancel the one with John.”`}),`\n`,_jsx(_components.li,{children:`“Create a 20-minute Quick Chat event type and publish it.”`}),`\n`,_jsx(_components.li,{children:`“Unpublish my Summer Workshop event.”`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`I get an 'invalid_token' or 'unauthorized' error`,id:`i-get-an-invalid-token-or-unauthorized-error`,children:_jsx(_components.p,{children:`Your session has expired or was revoked. Disconnect and reconnect the Lunacal connector in your AI client to sign in again.`})}),_jsx(Accordion,{title:`The Lunacal tools don't show up`,id:`the-lunacal-tools-dont-show-up`,children:_jsx(_components.p,{children:`Make sure the connector is enabled for the current chat (in Claude and ChatGPT, check the tools / Developer mode menu). In CLI and IDE clients, restart the client after editing the config file.`})}),_jsx(Accordion,{title:`The sign-in window doesn't open`,id:`the-sign-in-window-doesnt-open`,children:_jsxs(_components.p,{children:[`Check that pop-ups aren’t blocked for your AI client, and that you’re using the exact URL `,_jsx(_components.code,{children:`https://mcp.lunacal.ai/mcp`}),`.`]})}),_jsx(Accordion,{title:`Bookings show the wrong time`,id:`bookings-show-the-wrong-time`,children:_jsx(_components.p,{children:`Times are stored in UTC. Mention your timezone in your prompt (for example, “3pm IST”) or make sure your Lunacal profile timezone is correct.`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`security-\u0026-privacy`,children:`Security \u0026 privacy`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`The AI client only gets access after you approve it on Lunacal’s consent screen.`}),`\n`,_jsxs(_components.li,{children:[`Access tokens are short-lived and are sent only to `,_jsx(_components.code,{children:`mcp.lunacal.ai`}),`.`]}),`\n`,_jsx(_components.li,{children:`Revoke access anytime by removing the Lunacal connector from your AI client.`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`For the full OAuth details, a per-tool list of permissions and side effects, and error handling, see `,_jsx(_components.a,{href:`/mcp-security-and-permissions`,children:`MCP security \u0026 permissions`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Lunacal MCP Server","sidebarTitle":"MCP Server","description":"Connect Claude, ChatGPT, Gemini, Cursor and other AI agents to Lunacal to check availability, manage bookings and edit event types from chat.","icon":"plug","href":"/mcp-server"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Server URL","slug":"server-url","depth":2,"children":[]},{"title":"Available tools","slug":"available-tools","depth":2,"children":[{"title":"Account \u0026 availability","slug":"account-\u0026-availability","depth":3,"children":[]},{"title":"Bookings","slug":"bookings","depth":3,"children":[]},{"title":"Event types","slug":"event-types","depth":3,"children":[]}]},{"title":"Connect your AI agent","slug":"connect-your-ai-agent","depth":2,"children":[]},{"title":"Example prompts","slug":"example-prompts","depth":2,"children":[]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[]},{"title":"Security \u0026 privacy","slug":"security-\u0026-privacy","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"lunacalai","siteName":"Lunacal.ai","title":"Lunacal MCP Server - Lunacal.ai","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-09T07:57:43.923Z","originalFileLocation":"mcp-server.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Connect Claude, ChatGPT, Gemini, Cursor and other AI agents to Lunacal to check availability, manage bookings and edit event types from chat.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Lunacal.ai\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/lunacalai/91KrfkN6NalQF6vg/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/lunacalai/91KrfkN6NalQF6vg/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/lunacalai/91KrfkN6NalQF6vg/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/lunacalai/91KrfkN6NalQF6vg/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/lunacalai/91KrfkN6NalQF6vg/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/lunacalai/91KrfkN6NalQF6vg/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/lunacalai/91KrfkN6NalQF6vg/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/lunacalai/91KrfkN6NalQF6vg/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/lunacalai/91KrfkN6NalQF6vg/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Lunacal MCP Server - Lunacal.ai\">\u003cmeta data-mint-head property=\"og:description\" content=\"Connect Claude, ChatGPT, Gemini, Cursor and other AI agents to Lunacal to check availability, manage bookings and edit event types from chat.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Lunacal.ai\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://help.lunacal.ai/mcp-server\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://lunacalai.mintlify.site/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Lunacal+MCP+Server\u0026amp;description=Connect+Claude%2C+ChatGPT%2C+Gemini%2C+Cursor+and+other+AI+agents+to+Lunacal+to+check+availability%2C+manage+bookings+and+edit+event+types+from+chat.\u0026amp;theme=c8823a11e8d39b0dcf23450c\u0026amp;signature=2cad6a08144049391b0f674d399cf3df9b19c4fa839a01f2874264c347a3f62f\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Lunacal MCP Server - Lunacal.ai\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Connect Claude, ChatGPT, Gemini, Cursor and other AI agents to Lunacal to check availability, manage bookings and edit event types from chat.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://lunacalai.mintlify.site/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Lunacal+MCP+Server\u0026amp;description=Connect+Claude%2C+ChatGPT%2C+Gemini%2C+Cursor+and+other+AI+agents+to+Lunacal+to+check+availability%2C+manage+bookings+and+edit+event+types+from+chat.\u0026amp;theme=c8823a11e8d39b0dcf23450c\u0026amp;signature=2cad6a08144049391b0f674d399cf3df9b19c4fa839a01f2874264c347a3f62f\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/lunacalai/91KrfkN6NalQF6vg/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Lunacal.ai\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#d87fd8\">\u003clink data-mint-head rel=\"canonical\" href=\"https://help.lunacal.ai/mcp-server\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/mcp-server.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://help.lunacal.ai/#organization\",\"name\":\"Lunacal.ai\",\"url\":\"https://help.lunacal.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/lunacalai/-7Ir3zvwqXhmUhg0/logo/lunacal-logo-light.svg?fit=max\u0026auto=format\u0026n=-7Ir3zvwqXhmUhg0\u0026q=85\u0026s=6505b42668481df4300de9262f80fbed\"}},{\"@type\":\"WebSite\",\"@id\":\"https://help.lunacal.ai#website\",\"name\":\"Lunacal.ai\",\"url\":\"https://help.lunacal.ai\",\"publisher\":{\"@id\":\"https://help.lunacal.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://help.lunacal.ai/mcp-server#webpage\",\"url\":\"https://help.lunacal.ai/mcp-server\",\"name\":\"Lunacal MCP Server\",\"description\":\"Connect Claude, ChatGPT, Gemini, Cursor and other AI agents to Lunacal to check availability, manage bookings and edit event types from chat.\",\"dateModified\":\"2026-10-09T07:57:43.923Z\",\"isPartOf\":{\"@id\":\"https://help.lunacal.ai#website\"}},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://help.lunacal.ai/mcp-server#article\",\"headline\":\"Lunacal MCP Server\",\"name\":\"Lunacal MCP Server\",\"description\":\"Connect Claude, ChatGPT, Gemini, Cursor and other AI agents to Lunacal to check availability, manage bookings and edit event types from chat.\",\"url\":\"https://help.lunacal.ai/mcp-server\",\"mainEntityOfPage\":{\"@id\":\"https://help.lunacal.ai/mcp-server#webpage\"},\"dateModified\":\"2026-10-09T07:57:43.923Z\",\"publisher\":{\"@id\":\"https://help.lunacal.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://help.lunacal.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Lunacal.ai\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Lunacal.ai\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/mcp-server.md","siteName":"Lunacal.ai","nav":{"global":null,"pages":[{"group":"Event Types","pages":[{"title":"Event Setup","mode":"wide","href":"/event-types/event-setup"},{"title":"Booking Limits and Meeting Buffer Time","mode":"wide","sidebarTitle":"Limits and Buffer","href":"/event-types/limits"},{"title":"Customize Booking Questions and Appointment Forms","mode":"wide","sidebarTitle":"Booking Questions","href":"/event-types/booking-questions"},{"title":"Set Meeting Duration and Offer Multiple Meeting Lengths","mode":"wide","sidebarTitle":"Meeting Duration","href":"/event-types/meeting-duration"},{"title":"Set Up Group Bookings and Limit Seats per Time Slot","mode":"wide","sidebarTitle":"Group Booking","href":"/event-types/group-bookings"},{"title":"Set Up Session Packages and Recurring Bookings","mode":"wide","sidebarTitle":"Package Booking","href":"/event-types/package-booking"},{"title":"Connect Zoom and Add It to Your Booking Events","mode":"wide","sidebarTitle":"How to Add Zoom as the Meeting Location","href":"/event-types/setup-zoom-video"},{"title":"Coupons","mode":"wide","href":"/event-types/coupons"},{"title":"Create Special Coupons for Different Packages","mode":"wide","href":"/event-types/create-special-coupons-for-packages"},{"title":"One-time \u0026 Limited-use Booking Links","mode":"wide","href":"/event-types/one-time-link"},{"title":"Why can’t I edit this setting?","mode":"wide","href":"/why-cant-i-edit-this-setting"},{"title":"Meeting Location","mode":"wide","href":"/meeting-location"},{"title":"Subscriptions (Autopay) ","mode":"wide","href":"/subscriptions-autopay"}]},{"group":"Availability","pages":[{"title":"Setup Your Availability","mode":"wide","href":"/availability-configuration"},{"title":"Availability Exception","mode":"wide","href":"/availability-exception"}]},{"group":"Advanced","pages":[{"title":"Manual Booking Approval","mode":"wide","href":"/manual-approval-booking"},{"title":"Disable Cancellation / Rescheduling","mode":"wide","href":"/disable-cancel-reschedule"},{"title":"Redirect Attendees to a URL After Booking","mode":"wide","href":"/redirect-url"},{"title":"Change Meta Title and Social Preview Image","mode":"wide","href":"/seo-web"},{"title":"Routing Forms","mode":"wide","href":"/routing-forms"},{"title":"Language Settings","mode":"wide","href":"/language-settings"},{"title":"Custom SMTP","mode":"wide","href":"/custom-smtp"},{"title":"Client Portal","mode":"wide","href":"/client-portal"},{"title":"Email Theme","mode":"wide","href":"/email-theme"},{"title":"Custom Domain ","mode":"wide","href":"/custom-domain"}]},{"group":"Teams \u0026 Workspaces","pages":[{"title":"How Workspaces Work","mode":"wide","href":"/workspace/how-workspaces-work"},{"title":"Team Booking Page","mode":"wide","href":"/workspace/edit-team-booking-page"},{"title":"Teams \u0026 Workspaces","mode":"wide","href":"/workspace/teams-service-business"},{"title":"Configure Team Events","mode":"wide","href":"/workspace/manage-event-types"},{"title":"Managed Event","href":"/workspace/managed-event"},{"title":"Manage Team Bookings","mode":"wide","href":"/workspace/manage-team-bookings"},{"title":"Manage Team Members","mode":"wide","href":"/workspace/manage-team-members"},{"title":"Team Booking Page","mode":"wide","href":"/workspace/manage-booking-pages"},{"title":"Team Integrations","mode":"wide","href":"/workspace/team-integrations"},{"title":"Team Settings","mode":"wide","href":"/workspace/team-settings"},{"title":"Team Routing Forms","mode":"wide","href":"/workspace/creating-routing-forms"},{"title":"Team Members Onboarding","mode":"wide","href":"/team-members-onboarding"},{"title":"How to Use lunacal if You Have Multiple Companies","mode":"wide","href":"/company-setup"}]},{"group":"Bookings","pages":[{"title":"Manage Bookings","mode":"wide","href":"/manage-bookings"}]},{"group":"Integrations","pages":[{"title":"PayPal Setup Integration","mode":"wide","href":"/paypal-integration"},{"title":"Set Up Stripe Payments","mode":"wide","href":"/stripe-integration"},{"title":"Integrations \u0026 Managing Apps","mode":"wide","href":"/integration"},{"title":"Adding Calendars to Lunacal","mode":"wide","href":"/adding-calendars"},{"title":"HubSpot Integration With Lunacal.ai Guide","mode":"wide","href":"/hubspot-integration"},{"title":"Pipedrive Integration With lunacal","mode":"wide","href":"/pipedrive-integration"},{"title":"Google Tag Manager (GTM) Integration with lunacal.ai","mode":"wide","href":"/google-tag-manager-integration"}]},{"group":"Workflows","pages":[{"title":"Voice Agent for Meeting Reminders","mode":"wide","href":"/ai-call-workflows"},{"title":"SMS \u0026 Email Workflows","mode":"wide","href":"/sms-and-email-workflows"},{"title":"SMS Pricing and Message Length Guide","mode":"wide","href":"/sms-pricing"}]},{"group":"Dynamic Bookings","pages":[{"title":"Using Dynamic Links","mode":"wide","href":"/dynamic-links"}]},{"group":"Bookings Page","pages":[{"title":"Edit Booking Page","mode":"wide","href":"/edit-booking-page"},{"title":"Event-Specific Widgets","mode":"wide","href":"/event-specific-widgets"},{"title":"Why Do My Time Slots Show as Booked?","mode":"wide","href":"/conflict-slot"}]},{"group":"Embed","pages":[{"title":"Embed Event Into Your Website","mode":"wide","href":"/website-embed"},{"title":"Embed Your Event In Mails","mode":"wide","href":"/email-embed"}]},{"group":"Others","pages":[{"title":"Import Calendly Settings in lunacal.ai","mode":"wide","href":"/import-calendly"},{"title":"Out-Of-Office Setup","mode":"wide","href":"/out-of-office"},{"title":"Data Control \u0026 Retention (GDPR)","mode":"wide","href":"/data-control-retention-gdpr"}]},{"group":"Webhooks","pages":[{"title":"Webhooks","href":"/webhooks"}]},{"group":"Zapier","pages":[{"title":"Zapier Integration with Lunacal","mode":"wide","href":"/zapier"}]},{"group":"UTM Setup","pages":[{"title":"Track UTM Parameters on Booking Pages","mode":"wide","href":"/utm-setup"},{"title":"Zapier Integration for UTM Tracking","mode":"wide","href":"/utm-zapier-integration"},{"title":"Prefilling Lunacal Booking Form","mode":"wide","href":"/pre-filling-booking-form"}]},{"group":"Report Vulnerability","pages":[{"title":"Responsible Disclosure","href":"/responsible-disclosure"}]},{"group":"Untitled Group","pages":[]},{"group":"API Documentation","pages":[{"title":"API key authentication","href":"/api/authentication"},{"group":"Users \u0026 availability","pages":[{"title":"Get current user","href":"/api/endpoints/me"},{"title":"Get availability","href":"/api/endpoints/get-availability"}]},{"group":"Booking endpoints","pages":[{"title":"List bookings","href":"/api/endpoints/bookings-list"},{"title":"Create booking","href":"/api/endpoints/bookings-create"},{"title":"Cancel booking","href":"/api/endpoints/bookings-cancel"}]},{"group":"Event type endpoints","pages":[{"title":"List event types","href":"/api/endpoints/event-types-list"},{"title":"Get event type","href":"/api/endpoints/event-types-get"},{"title":"Create event type","href":"/api/endpoints/event-types-create"},{"title":"Update event type","href":"/api/endpoints/event-types-update"},{"title":"Delete event type","href":"/api/endpoints/event-types-delete"},{"title":"Switch published","href":"/api/endpoints/event-types-switch-published"}]},{"title":"API introduction","href":"/api/introduction"},{"title":"Errors","description":"Common problems when calling LunaCal APIs with an API key.","href":"/api/errors"}]},{"title":"Lunacal MCP Server","sidebarTitle":"MCP Server","icon":"plug","href":"/mcp-server"},{"title":"MCP security \u0026 permissions","description":"How AI assistants authenticate with the Lunacal MCP server, what each tool can read or change, and how errors are reported.","href":"/mcp-security-and-permissions"}]},"basePath":"","title":"Lunacal MCP Server - Lunacal.ai","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":[],"chunks":[]}