Skip to content

feat: add org booking tools#111

Draft
Udit-takkar wants to merge 6 commits into
mainfrom
feat/add-org-booking-tools
Draft

feat: add org booking tools#111
Udit-takkar wants to merge 6 commits into
mainfrom
feat/add-org-booking-tools

Conversation

@Udit-takkar

@Udit-takkar Udit-takkar commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

Fixes: https://linear.app/calcom/issue/ENG-1698/add-mcp-tool-for-list-and-search-bookings

#103 had some issues and review comments like ORG_BOOKING_READ and TEAM_BOOKING_READ wasn't in the default scope string and Readme and apps/mcp-server/src/server-instructions.ts wasn't updated

devin-ai-integration Bot and others added 4 commits June 3, 2026 19:55
Two new read-only tools for org-level booking queries:

- get_org_team_bookings: list all bookings for a team within an org
  (TEAM_ADMIN). Endpoint: /v2/organizations/:orgId/teams/:teamId/bookings

- get_org_user_bookings: list all bookings for a specific org member
  (ORG_ADMIN). Endpoint: /v2/organizations/:orgId/users/:userId/bookings

Both support the full booking filter set (status, attendeeEmail,
attendeeName, eventType, date ranges, sorting, pagination).

Co-Authored-By: joe@cal.com <j.auyeung419@gmail.com>
Co-Authored-By: joe@cal.com <j.auyeung419@gmail.com>
…tools

# Conflicts:
#	apps/mcp-server/README.md
#	apps/mcp-server/src/server-instructions.ts
@vercel

vercel Bot commented Jun 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Actions Updated (UTC)
cal-companion-chat Ignored Ignored Jun 9, 2026 2:40pm
cal-companion-mcp Ignored Ignored Jun 9, 2026 2:40pm

Request Review

@Udit-takkar Udit-takkar marked this pull request as ready for review June 7, 2026 17:27

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 2 potential issues.

View 3 additional findings in Devin Review.

Open in Devin Review

Comment thread apps/mcp-server/src/tools/booking-filters.ts Outdated
Comment thread apps/mcp-server/src/tools/organizations/bookings.test.ts Outdated

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 10 files

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread apps/mcp-server/src/tools/booking-filters.ts Outdated
Udit-takkar and others added 2 commits June 8, 2026 19:49
…ude both org booking + routing trace capabilities

Co-Authored-By: udit@cal.com <udit222001@gmail.com>
@Udit-takkar Udit-takkar enabled auto-merge (squash) June 9, 2026 14:41

@dhairyashiil dhairyashiil left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merge conflicts

@dhairyashiil dhairyashiil marked this pull request as draft June 12, 2026 07:25
auto-merge was automatically disabled June 12, 2026 07:25

Pull request was converted to draft

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants