google-mcp-suite 0.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (408) hide show
  1. package/NOTICE.md +1 -1
  2. package/README.md +124 -23
  3. package/dist/calendar/capabilities.d.ts +3 -0
  4. package/dist/calendar/capabilities.d.ts.map +1 -0
  5. package/dist/calendar/capabilities.js +21 -0
  6. package/dist/calendar/capabilities.js.map +1 -0
  7. package/dist/calendar/entities/Attendee.d.ts +24 -0
  8. package/dist/calendar/entities/Attendee.d.ts.map +1 -0
  9. package/dist/calendar/entities/Attendee.js +34 -0
  10. package/dist/calendar/entities/Attendee.js.map +1 -0
  11. package/dist/calendar/entities/Calendar.d.ts +20 -0
  12. package/dist/calendar/entities/Calendar.d.ts.map +1 -0
  13. package/dist/calendar/entities/Calendar.js +25 -0
  14. package/dist/calendar/entities/Calendar.js.map +1 -0
  15. package/dist/calendar/entities/CalendarListEntry.d.ts +36 -0
  16. package/dist/calendar/entities/CalendarListEntry.d.ts.map +1 -0
  17. package/dist/calendar/entities/CalendarListEntry.js +60 -0
  18. package/dist/calendar/entities/CalendarListEntry.js.map +1 -0
  19. package/dist/calendar/entities/Colors.d.ts +31 -0
  20. package/dist/calendar/entities/Colors.d.ts.map +1 -0
  21. package/dist/calendar/entities/Colors.js +34 -0
  22. package/dist/calendar/entities/Colors.js.map +1 -0
  23. package/dist/calendar/entities/Event.d.ts +76 -0
  24. package/dist/calendar/entities/Event.d.ts.map +1 -0
  25. package/dist/calendar/entities/Event.js +72 -0
  26. package/dist/calendar/entities/Event.js.map +1 -0
  27. package/dist/calendar/entities/EventDateTime.d.ts +19 -0
  28. package/dist/calendar/entities/EventDateTime.d.ts.map +1 -0
  29. package/dist/calendar/entities/EventDateTime.js +31 -0
  30. package/dist/calendar/entities/EventDateTime.js.map +1 -0
  31. package/dist/calendar/entities/FreeBusy.d.ts +30 -0
  32. package/dist/calendar/entities/FreeBusy.d.ts.map +1 -0
  33. package/dist/calendar/entities/FreeBusy.js +33 -0
  34. package/dist/calendar/entities/FreeBusy.js.map +1 -0
  35. package/dist/calendar/entities/NotificationLevel.d.ts +19 -0
  36. package/dist/calendar/entities/NotificationLevel.d.ts.map +1 -0
  37. package/dist/calendar/entities/NotificationLevel.js +14 -0
  38. package/dist/calendar/entities/NotificationLevel.js.map +1 -0
  39. package/dist/calendar/entities/Principal.d.ts +17 -0
  40. package/dist/calendar/entities/Principal.d.ts.map +1 -0
  41. package/dist/calendar/entities/Principal.js +19 -0
  42. package/dist/calendar/entities/Principal.js.map +1 -0
  43. package/dist/calendar/entities/Reminder.d.ts +19 -0
  44. package/dist/calendar/entities/Reminder.d.ts.map +1 -0
  45. package/dist/calendar/entities/Reminder.js +20 -0
  46. package/dist/calendar/entities/Reminder.js.map +1 -0
  47. package/dist/calendar/entities/Setting.d.ts +12 -0
  48. package/dist/calendar/entities/Setting.d.ts.map +1 -0
  49. package/dist/calendar/entities/Setting.js +13 -0
  50. package/dist/calendar/entities/Setting.js.map +1 -0
  51. package/dist/calendar/index.d.ts +3 -0
  52. package/dist/calendar/index.d.ts.map +1 -0
  53. package/dist/calendar/index.js +19 -0
  54. package/dist/calendar/index.js.map +1 -0
  55. package/dist/calendar/lib/attendees.d.ts +24 -0
  56. package/dist/calendar/lib/attendees.d.ts.map +1 -0
  57. package/dist/calendar/lib/attendees.js +41 -0
  58. package/dist/calendar/lib/attendees.js.map +1 -0
  59. package/dist/calendar/lib/calendar.d.ts +8 -0
  60. package/dist/calendar/lib/calendar.d.ts.map +1 -0
  61. package/dist/calendar/lib/calendar.js +33 -0
  62. package/dist/calendar/lib/calendar.js.map +1 -0
  63. package/dist/calendar/lib/datetime.d.ts +20 -0
  64. package/dist/calendar/lib/datetime.d.ts.map +1 -0
  65. package/dist/calendar/lib/datetime.js +22 -0
  66. package/dist/calendar/lib/datetime.js.map +1 -0
  67. package/dist/calendar/lib/event.d.ts +13 -0
  68. package/dist/calendar/lib/event.d.ts.map +1 -0
  69. package/dist/calendar/lib/event.js +76 -0
  70. package/dist/calendar/lib/event.js.map +1 -0
  71. package/dist/calendar/lib/meet.d.ts +14 -0
  72. package/dist/calendar/lib/meet.d.ts.map +1 -0
  73. package/dist/calendar/lib/meet.js +20 -0
  74. package/dist/calendar/lib/meet.js.map +1 -0
  75. package/dist/calendar/lib/notifications.d.ts +15 -0
  76. package/dist/calendar/lib/notifications.d.ts.map +1 -0
  77. package/dist/calendar/lib/notifications.js +14 -0
  78. package/dist/calendar/lib/notifications.js.map +1 -0
  79. package/dist/calendar/lib/suggest.d.ts +45 -0
  80. package/dist/calendar/lib/suggest.d.ts.map +1 -0
  81. package/dist/calendar/lib/suggest.js +108 -0
  82. package/dist/calendar/lib/suggest.js.map +1 -0
  83. package/dist/calendar/methods/add_calendar_entry/handler.d.ts +5 -0
  84. package/dist/calendar/methods/add_calendar_entry/handler.d.ts.map +1 -0
  85. package/dist/calendar/methods/add_calendar_entry/handler.js +8 -0
  86. package/dist/calendar/methods/add_calendar_entry/handler.js.map +1 -0
  87. package/dist/calendar/methods/add_calendar_entry/index.d.ts +33 -0
  88. package/dist/calendar/methods/add_calendar_entry/index.d.ts.map +1 -0
  89. package/dist/calendar/methods/add_calendar_entry/index.js +17 -0
  90. package/dist/calendar/methods/add_calendar_entry/index.js.map +1 -0
  91. package/dist/calendar/methods/add_calendar_entry/schema.d.ts +30 -0
  92. package/dist/calendar/methods/add_calendar_entry/schema.d.ts.map +1 -0
  93. package/dist/calendar/methods/add_calendar_entry/schema.js +12 -0
  94. package/dist/calendar/methods/add_calendar_entry/schema.js.map +1 -0
  95. package/dist/calendar/methods/clear_calendar/handler.d.ts +5 -0
  96. package/dist/calendar/methods/clear_calendar/handler.d.ts.map +1 -0
  97. package/dist/calendar/methods/clear_calendar/handler.js +6 -0
  98. package/dist/calendar/methods/clear_calendar/handler.js.map +1 -0
  99. package/dist/calendar/methods/clear_calendar/index.d.ts +13 -0
  100. package/dist/calendar/methods/clear_calendar/index.d.ts.map +1 -0
  101. package/dist/calendar/methods/clear_calendar/index.js +17 -0
  102. package/dist/calendar/methods/clear_calendar/index.js.map +1 -0
  103. package/dist/calendar/methods/clear_calendar/schema.d.ts +12 -0
  104. package/dist/calendar/methods/clear_calendar/schema.d.ts.map +1 -0
  105. package/dist/calendar/methods/clear_calendar/schema.js +15 -0
  106. package/dist/calendar/methods/clear_calendar/schema.js.map +1 -0
  107. package/dist/calendar/methods/create_calendar/handler.d.ts +5 -0
  108. package/dist/calendar/methods/create_calendar/handler.d.ts.map +1 -0
  109. package/dist/calendar/methods/create_calendar/handler.js +14 -0
  110. package/dist/calendar/methods/create_calendar/handler.js.map +1 -0
  111. package/dist/calendar/methods/create_calendar/index.d.ts +19 -0
  112. package/dist/calendar/methods/create_calendar/index.d.ts.map +1 -0
  113. package/dist/calendar/methods/create_calendar/index.js +15 -0
  114. package/dist/calendar/methods/create_calendar/index.js.map +1 -0
  115. package/dist/calendar/methods/create_calendar/schema.d.ts +18 -0
  116. package/dist/calendar/methods/create_calendar/schema.d.ts.map +1 -0
  117. package/dist/calendar/methods/create_calendar/schema.js +19 -0
  118. package/dist/calendar/methods/create_calendar/schema.js.map +1 -0
  119. package/dist/calendar/methods/delete_calendar/handler.d.ts +5 -0
  120. package/dist/calendar/methods/delete_calendar/handler.d.ts.map +1 -0
  121. package/dist/calendar/methods/delete_calendar/handler.js +5 -0
  122. package/dist/calendar/methods/delete_calendar/handler.js.map +1 -0
  123. package/dist/calendar/methods/delete_calendar/index.d.ts +14 -0
  124. package/dist/calendar/methods/delete_calendar/index.d.ts.map +1 -0
  125. package/dist/calendar/methods/delete_calendar/index.js +18 -0
  126. package/dist/calendar/methods/delete_calendar/index.js.map +1 -0
  127. package/dist/calendar/methods/delete_calendar/schema.d.ts +12 -0
  128. package/dist/calendar/methods/delete_calendar/schema.d.ts.map +1 -0
  129. package/dist/calendar/methods/delete_calendar/schema.js +14 -0
  130. package/dist/calendar/methods/delete_calendar/schema.js.map +1 -0
  131. package/dist/calendar/methods/get_calendar/handler.d.ts +5 -0
  132. package/dist/calendar/methods/get_calendar/handler.d.ts.map +1 -0
  133. package/dist/calendar/methods/get_calendar/handler.js +6 -0
  134. package/dist/calendar/methods/get_calendar/handler.js.map +1 -0
  135. package/dist/calendar/methods/get_calendar/index.d.ts +16 -0
  136. package/dist/calendar/methods/get_calendar/index.d.ts.map +1 -0
  137. package/dist/calendar/methods/get_calendar/index.js +15 -0
  138. package/dist/calendar/methods/get_calendar/index.js.map +1 -0
  139. package/dist/calendar/methods/get_calendar/schema.d.ts +15 -0
  140. package/dist/calendar/methods/get_calendar/schema.d.ts.map +1 -0
  141. package/dist/calendar/methods/get_calendar/schema.js +13 -0
  142. package/dist/calendar/methods/get_calendar/schema.js.map +1 -0
  143. package/dist/calendar/methods/get_calendar_entry/handler.d.ts +5 -0
  144. package/dist/calendar/methods/get_calendar_entry/handler.d.ts.map +1 -0
  145. package/dist/calendar/methods/get_calendar_entry/handler.js +6 -0
  146. package/dist/calendar/methods/get_calendar_entry/handler.js.map +1 -0
  147. package/dist/calendar/methods/get_calendar_entry/index.d.ts +31 -0
  148. package/dist/calendar/methods/get_calendar_entry/index.d.ts.map +1 -0
  149. package/dist/calendar/methods/get_calendar_entry/index.js +15 -0
  150. package/dist/calendar/methods/get_calendar_entry/index.js.map +1 -0
  151. package/dist/calendar/methods/get_calendar_entry/schema.d.ts +30 -0
  152. package/dist/calendar/methods/get_calendar_entry/schema.d.ts.map +1 -0
  153. package/dist/calendar/methods/get_calendar_entry/schema.js +13 -0
  154. package/dist/calendar/methods/get_calendar_entry/schema.js.map +1 -0
  155. package/dist/calendar/methods/get_colors/handler.d.ts +5 -0
  156. package/dist/calendar/methods/get_colors/handler.d.ts.map +1 -0
  157. package/dist/calendar/methods/get_colors/handler.js +19 -0
  158. package/dist/calendar/methods/get_colors/handler.js.map +1 -0
  159. package/dist/calendar/methods/get_colors/index.d.ts +19 -0
  160. package/dist/calendar/methods/get_colors/index.d.ts.map +1 -0
  161. package/dist/calendar/methods/get_colors/index.js +16 -0
  162. package/dist/calendar/methods/get_colors/index.js.map +1 -0
  163. package/dist/calendar/methods/get_colors/schema.d.ts +17 -0
  164. package/dist/calendar/methods/get_colors/schema.d.ts.map +1 -0
  165. package/dist/calendar/methods/get_colors/schema.js +8 -0
  166. package/dist/calendar/methods/get_colors/schema.js.map +1 -0
  167. package/dist/calendar/methods/get_setting/handler.d.ts +5 -0
  168. package/dist/calendar/methods/get_setting/handler.d.ts.map +1 -0
  169. package/dist/calendar/methods/get_setting/handler.js +8 -0
  170. package/dist/calendar/methods/get_setting/handler.js.map +1 -0
  171. package/dist/calendar/methods/get_setting/index.d.ts +11 -0
  172. package/dist/calendar/methods/get_setting/index.d.ts.map +1 -0
  173. package/dist/calendar/methods/get_setting/index.js +13 -0
  174. package/dist/calendar/methods/get_setting/index.js.map +1 -0
  175. package/dist/calendar/methods/get_setting/schema.d.ts +12 -0
  176. package/dist/calendar/methods/get_setting/schema.d.ts.map +1 -0
  177. package/dist/calendar/methods/get_setting/schema.js +12 -0
  178. package/dist/calendar/methods/get_setting/schema.js.map +1 -0
  179. package/dist/calendar/methods/list_event_instances/handler.d.ts +5 -0
  180. package/dist/calendar/methods/list_event_instances/handler.d.ts.map +1 -0
  181. package/dist/calendar/methods/list_event_instances/handler.js +28 -0
  182. package/dist/calendar/methods/list_event_instances/handler.js.map +1 -0
  183. package/dist/calendar/methods/list_event_instances/index.d.ts +95 -0
  184. package/dist/calendar/methods/list_event_instances/index.d.ts.map +1 -0
  185. package/dist/calendar/methods/list_event_instances/index.js +17 -0
  186. package/dist/calendar/methods/list_event_instances/index.js.map +1 -0
  187. package/dist/calendar/methods/list_event_instances/schema.d.ts +92 -0
  188. package/dist/calendar/methods/list_event_instances/schema.d.ts.map +1 -0
  189. package/dist/calendar/methods/list_event_instances/schema.js +63 -0
  190. package/dist/calendar/methods/list_event_instances/schema.js.map +1 -0
  191. package/dist/calendar/methods/list_settings/handler.d.ts +5 -0
  192. package/dist/calendar/methods/list_settings/handler.d.ts.map +1 -0
  193. package/dist/calendar/methods/list_settings/handler.js +15 -0
  194. package/dist/calendar/methods/list_settings/handler.js.map +1 -0
  195. package/dist/calendar/methods/list_settings/index.d.ts +17 -0
  196. package/dist/calendar/methods/list_settings/index.d.ts.map +1 -0
  197. package/dist/calendar/methods/list_settings/index.js +15 -0
  198. package/dist/calendar/methods/list_settings/index.js.map +1 -0
  199. package/dist/calendar/methods/list_settings/schema.d.ts +21 -0
  200. package/dist/calendar/methods/list_settings/schema.d.ts.map +1 -0
  201. package/dist/calendar/methods/list_settings/schema.js +27 -0
  202. package/dist/calendar/methods/list_settings/schema.js.map +1 -0
  203. package/dist/calendar/methods/move_event/handler.d.ts +5 -0
  204. package/dist/calendar/methods/move_event/handler.d.ts.map +1 -0
  205. package/dist/calendar/methods/move_event/handler.js +12 -0
  206. package/dist/calendar/methods/move_event/handler.js.map +1 -0
  207. package/dist/calendar/methods/move_event/index.d.ts +79 -0
  208. package/dist/calendar/methods/move_event/index.d.ts.map +1 -0
  209. package/dist/calendar/methods/move_event/index.js +17 -0
  210. package/dist/calendar/methods/move_event/index.js.map +1 -0
  211. package/dist/calendar/methods/move_event/schema.d.ts +76 -0
  212. package/dist/calendar/methods/move_event/schema.d.ts.map +1 -0
  213. package/dist/calendar/methods/move_event/schema.js +19 -0
  214. package/dist/calendar/methods/move_event/schema.js.map +1 -0
  215. package/dist/calendar/methods/patch_event/handler.d.ts +5 -0
  216. package/dist/calendar/methods/patch_event/handler.d.ts.map +1 -0
  217. package/dist/calendar/methods/patch_event/handler.js +29 -0
  218. package/dist/calendar/methods/patch_event/handler.js.map +1 -0
  219. package/dist/calendar/methods/patch_event/index.d.ts +131 -0
  220. package/dist/calendar/methods/patch_event/index.d.ts.map +1 -0
  221. package/dist/calendar/methods/patch_event/index.js +18 -0
  222. package/dist/calendar/methods/patch_event/index.js.map +1 -0
  223. package/dist/calendar/methods/patch_event/schema.d.ts +127 -0
  224. package/dist/calendar/methods/patch_event/schema.d.ts.map +1 -0
  225. package/dist/calendar/methods/patch_event/schema.js +110 -0
  226. package/dist/calendar/methods/patch_event/schema.js.map +1 -0
  227. package/dist/calendar/methods/query_free_busy/handler.d.ts +5 -0
  228. package/dist/calendar/methods/query_free_busy/handler.d.ts.map +1 -0
  229. package/dist/calendar/methods/query_free_busy/handler.js +32 -0
  230. package/dist/calendar/methods/query_free_busy/handler.js.map +1 -0
  231. package/dist/calendar/methods/query_free_busy/index.d.ts +29 -0
  232. package/dist/calendar/methods/query_free_busy/index.d.ts.map +1 -0
  233. package/dist/calendar/methods/query_free_busy/index.js +16 -0
  234. package/dist/calendar/methods/query_free_busy/index.js.map +1 -0
  235. package/dist/calendar/methods/query_free_busy/schema.d.ts +27 -0
  236. package/dist/calendar/methods/query_free_busy/schema.d.ts.map +1 -0
  237. package/dist/calendar/methods/query_free_busy/schema.js +36 -0
  238. package/dist/calendar/methods/query_free_busy/schema.js.map +1 -0
  239. package/dist/calendar/methods/quick_add_event/handler.d.ts +5 -0
  240. package/dist/calendar/methods/quick_add_event/handler.d.ts.map +1 -0
  241. package/dist/calendar/methods/quick_add_event/handler.js +11 -0
  242. package/dist/calendar/methods/quick_add_event/handler.js.map +1 -0
  243. package/dist/calendar/methods/quick_add_event/index.d.ts +77 -0
  244. package/dist/calendar/methods/quick_add_event/index.d.ts.map +1 -0
  245. package/dist/calendar/methods/quick_add_event/index.js +16 -0
  246. package/dist/calendar/methods/quick_add_event/index.js.map +1 -0
  247. package/dist/calendar/methods/quick_add_event/schema.d.ts +75 -0
  248. package/dist/calendar/methods/quick_add_event/schema.d.ts.map +1 -0
  249. package/dist/calendar/methods/quick_add_event/schema.js +20 -0
  250. package/dist/calendar/methods/quick_add_event/schema.js.map +1 -0
  251. package/dist/calendar/methods/registry.d.ts +538 -0
  252. package/dist/calendar/methods/registry.d.ts.map +1 -0
  253. package/dist/calendar/methods/registry.js +48 -0
  254. package/dist/calendar/methods/registry.js.map +1 -0
  255. package/dist/calendar/methods/remove_calendar_entry/handler.d.ts +5 -0
  256. package/dist/calendar/methods/remove_calendar_entry/handler.d.ts.map +1 -0
  257. package/dist/calendar/methods/remove_calendar_entry/handler.js +5 -0
  258. package/dist/calendar/methods/remove_calendar_entry/handler.js.map +1 -0
  259. package/dist/calendar/methods/remove_calendar_entry/index.d.ts +13 -0
  260. package/dist/calendar/methods/remove_calendar_entry/index.d.ts.map +1 -0
  261. package/dist/calendar/methods/remove_calendar_entry/index.js +16 -0
  262. package/dist/calendar/methods/remove_calendar_entry/index.js.map +1 -0
  263. package/dist/calendar/methods/remove_calendar_entry/schema.d.ts +12 -0
  264. package/dist/calendar/methods/remove_calendar_entry/schema.d.ts.map +1 -0
  265. package/dist/calendar/methods/remove_calendar_entry/schema.js +14 -0
  266. package/dist/calendar/methods/remove_calendar_entry/schema.js.map +1 -0
  267. package/dist/calendar/methods/update_calendar/handler.d.ts +5 -0
  268. package/dist/calendar/methods/update_calendar/handler.d.ts.map +1 -0
  269. package/dist/calendar/methods/update_calendar/handler.js +15 -0
  270. package/dist/calendar/methods/update_calendar/handler.js.map +1 -0
  271. package/dist/calendar/methods/update_calendar/index.d.ts +18 -0
  272. package/dist/calendar/methods/update_calendar/index.d.ts.map +1 -0
  273. package/dist/calendar/methods/update_calendar/index.js +13 -0
  274. package/dist/calendar/methods/update_calendar/index.js.map +1 -0
  275. package/dist/calendar/methods/update_calendar/schema.d.ts +19 -0
  276. package/dist/calendar/methods/update_calendar/schema.d.ts.map +1 -0
  277. package/dist/calendar/methods/update_calendar/schema.js +23 -0
  278. package/dist/calendar/methods/update_calendar/schema.js.map +1 -0
  279. package/dist/calendar/methods/update_calendar_entry/handler.d.ts +5 -0
  280. package/dist/calendar/methods/update_calendar_entry/handler.d.ts.map +1 -0
  281. package/dist/calendar/methods/update_calendar_entry/handler.js +22 -0
  282. package/dist/calendar/methods/update_calendar_entry/handler.js.map +1 -0
  283. package/dist/calendar/methods/update_calendar_entry/index.d.ts +46 -0
  284. package/dist/calendar/methods/update_calendar_entry/index.d.ts.map +1 -0
  285. package/dist/calendar/methods/update_calendar_entry/index.js +17 -0
  286. package/dist/calendar/methods/update_calendar_entry/index.js.map +1 -0
  287. package/dist/calendar/methods/update_calendar_entry/schema.d.ts +43 -0
  288. package/dist/calendar/methods/update_calendar_entry/schema.d.ts.map +1 -0
  289. package/dist/calendar/methods/update_calendar_entry/schema.js +39 -0
  290. package/dist/calendar/methods/update_calendar_entry/schema.js.map +1 -0
  291. package/dist/calendar/operation.d.ts +12 -0
  292. package/dist/calendar/operation.d.ts.map +1 -0
  293. package/dist/calendar/operation.js +10 -0
  294. package/dist/calendar/operation.js.map +1 -0
  295. package/dist/calendar/tools/create_event/handler.d.ts +5 -0
  296. package/dist/calendar/tools/create_event/handler.d.ts.map +1 -0
  297. package/dist/calendar/tools/create_event/handler.js +38 -0
  298. package/dist/calendar/tools/create_event/handler.js.map +1 -0
  299. package/dist/calendar/tools/create_event/index.d.ts +101 -0
  300. package/dist/calendar/tools/create_event/index.d.ts.map +1 -0
  301. package/dist/calendar/tools/create_event/index.js +17 -0
  302. package/dist/calendar/tools/create_event/index.js.map +1 -0
  303. package/dist/calendar/tools/create_event/schema.d.ts +98 -0
  304. package/dist/calendar/tools/create_event/schema.d.ts.map +1 -0
  305. package/dist/calendar/tools/create_event/schema.js +54 -0
  306. package/dist/calendar/tools/create_event/schema.js.map +1 -0
  307. package/dist/calendar/tools/delete_event/handler.d.ts +5 -0
  308. package/dist/calendar/tools/delete_event/handler.d.ts.map +1 -0
  309. package/dist/calendar/tools/delete_event/handler.js +15 -0
  310. package/dist/calendar/tools/delete_event/handler.js.map +1 -0
  311. package/dist/calendar/tools/delete_event/index.d.ts +76 -0
  312. package/dist/calendar/tools/delete_event/index.d.ts.map +1 -0
  313. package/dist/calendar/tools/delete_event/index.js +16 -0
  314. package/dist/calendar/tools/delete_event/index.js.map +1 -0
  315. package/dist/calendar/tools/delete_event/schema.d.ts +75 -0
  316. package/dist/calendar/tools/delete_event/schema.d.ts.map +1 -0
  317. package/dist/calendar/tools/delete_event/schema.js +16 -0
  318. package/dist/calendar/tools/delete_event/schema.js.map +1 -0
  319. package/dist/calendar/tools/get_event/handler.d.ts +5 -0
  320. package/dist/calendar/tools/get_event/handler.d.ts.map +1 -0
  321. package/dist/calendar/tools/get_event/handler.js +9 -0
  322. package/dist/calendar/tools/get_event/handler.js.map +1 -0
  323. package/dist/calendar/tools/get_event/index.d.ts +66 -0
  324. package/dist/calendar/tools/get_event/index.d.ts.map +1 -0
  325. package/dist/calendar/tools/get_event/index.js +10 -0
  326. package/dist/calendar/tools/get_event/index.js.map +1 -0
  327. package/dist/calendar/tools/get_event/schema.d.ts +70 -0
  328. package/dist/calendar/tools/get_event/schema.d.ts.map +1 -0
  329. package/dist/calendar/tools/get_event/schema.js +14 -0
  330. package/dist/calendar/tools/get_event/schema.js.map +1 -0
  331. package/dist/calendar/tools/list_calendars/handler.d.ts +5 -0
  332. package/dist/calendar/tools/list_calendars/handler.d.ts.map +1 -0
  333. package/dist/calendar/tools/list_calendars/handler.js +17 -0
  334. package/dist/calendar/tools/list_calendars/handler.js.map +1 -0
  335. package/dist/calendar/tools/list_calendars/index.d.ts +20 -0
  336. package/dist/calendar/tools/list_calendars/index.d.ts.map +1 -0
  337. package/dist/calendar/tools/list_calendars/index.js +16 -0
  338. package/dist/calendar/tools/list_calendars/index.js.map +1 -0
  339. package/dist/calendar/tools/list_calendars/schema.d.ts +18 -0
  340. package/dist/calendar/tools/list_calendars/schema.d.ts.map +1 -0
  341. package/dist/calendar/tools/list_calendars/schema.js +26 -0
  342. package/dist/calendar/tools/list_calendars/schema.js.map +1 -0
  343. package/dist/calendar/tools/list_events/handler.d.ts +5 -0
  344. package/dist/calendar/tools/list_events/handler.d.ts.map +1 -0
  345. package/dist/calendar/tools/list_events/handler.js +45 -0
  346. package/dist/calendar/tools/list_events/handler.js.map +1 -0
  347. package/dist/calendar/tools/list_events/index.d.ts +107 -0
  348. package/dist/calendar/tools/list_events/index.d.ts.map +1 -0
  349. package/dist/calendar/tools/list_events/index.js +17 -0
  350. package/dist/calendar/tools/list_events/index.js.map +1 -0
  351. package/dist/calendar/tools/list_events/schema.d.ts +104 -0
  352. package/dist/calendar/tools/list_events/schema.d.ts.map +1 -0
  353. package/dist/calendar/tools/list_events/schema.js +66 -0
  354. package/dist/calendar/tools/list_events/schema.js.map +1 -0
  355. package/dist/calendar/tools/registry.d.ts +529 -0
  356. package/dist/calendar/tools/registry.d.ts.map +1 -0
  357. package/dist/calendar/tools/registry.js +24 -0
  358. package/dist/calendar/tools/registry.js.map +1 -0
  359. package/dist/calendar/tools/respond_to_event/handler.d.ts +5 -0
  360. package/dist/calendar/tools/respond_to_event/handler.d.ts.map +1 -0
  361. package/dist/calendar/tools/respond_to_event/handler.js +19 -0
  362. package/dist/calendar/tools/respond_to_event/handler.js.map +1 -0
  363. package/dist/calendar/tools/respond_to_event/index.d.ts +83 -0
  364. package/dist/calendar/tools/respond_to_event/index.d.ts.map +1 -0
  365. package/dist/calendar/tools/respond_to_event/index.js +16 -0
  366. package/dist/calendar/tools/respond_to_event/index.js.map +1 -0
  367. package/dist/calendar/tools/respond_to_event/schema.d.ts +81 -0
  368. package/dist/calendar/tools/respond_to_event/schema.d.ts.map +1 -0
  369. package/dist/calendar/tools/respond_to_event/schema.js +23 -0
  370. package/dist/calendar/tools/respond_to_event/schema.js.map +1 -0
  371. package/dist/calendar/tools/suggest_time/handler.d.ts +5 -0
  372. package/dist/calendar/tools/suggest_time/handler.d.ts.map +1 -0
  373. package/dist/calendar/tools/suggest_time/handler.js +36 -0
  374. package/dist/calendar/tools/suggest_time/handler.js.map +1 -0
  375. package/dist/calendar/tools/suggest_time/index.d.ts +34 -0
  376. package/dist/calendar/tools/suggest_time/index.d.ts.map +1 -0
  377. package/dist/calendar/tools/suggest_time/index.js +23 -0
  378. package/dist/calendar/tools/suggest_time/index.js.map +1 -0
  379. package/dist/calendar/tools/suggest_time/schema.d.ts +25 -0
  380. package/dist/calendar/tools/suggest_time/schema.d.ts.map +1 -0
  381. package/dist/calendar/tools/suggest_time/schema.js +70 -0
  382. package/dist/calendar/tools/suggest_time/schema.js.map +1 -0
  383. package/dist/calendar/tools/update_event/handler.d.ts +5 -0
  384. package/dist/calendar/tools/update_event/handler.d.ts.map +1 -0
  385. package/dist/calendar/tools/update_event/handler.js +50 -0
  386. package/dist/calendar/tools/update_event/handler.js.map +1 -0
  387. package/dist/calendar/tools/update_event/index.d.ts +100 -0
  388. package/dist/calendar/tools/update_event/index.d.ts.map +1 -0
  389. package/dist/calendar/tools/update_event/index.js +17 -0
  390. package/dist/calendar/tools/update_event/index.js.map +1 -0
  391. package/dist/calendar/tools/update_event/schema.d.ts +97 -0
  392. package/dist/calendar/tools/update_event/schema.d.ts.map +1 -0
  393. package/dist/calendar/tools/update_event/schema.js +59 -0
  394. package/dist/calendar/tools/update_event/schema.js.map +1 -0
  395. package/dist/doctor/diagnose.js +2 -2
  396. package/dist/doctor/diagnose.js.map +1 -1
  397. package/dist/doctor/index.js +1 -1
  398. package/dist/doctor/index.js.map +1 -1
  399. package/dist/doctor/services.d.ts.map +1 -1
  400. package/dist/doctor/services.js +8 -1
  401. package/dist/doctor/services.js.map +1 -1
  402. package/dist/lib/operation.d.ts +2 -2
  403. package/dist/lib/operation.js +2 -2
  404. package/dist/lib/operation.js.map +1 -1
  405. package/dist/lib/server.d.ts.map +1 -1
  406. package/dist/lib/server.js +2 -0
  407. package/dist/lib/server.js.map +1 -1
  408. package/package.json +11 -5
package/NOTICE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Notices and Trademarks
2
2
 
3
- ## Google™, Gmail™, Google Drive™, Google Workspace™
3
+ ## Google trademarks
4
4
 
5
5
  **Google**, **Gmail**, **Google Drive**, **Google Docs**, **Google Sheets**, **Google Calendar**, and **Google Workspace** are trademarks of **Google LLC**. This project is **not affiliated with, endorsed by, sponsored by, or certified by Google LLC**.
6
6
 
package/README.md CHANGED
@@ -1,26 +1,112 @@
1
- # google-mcp-suite
1
+ <h1 align="center">google-mcp-suite</h1>
2
2
 
3
- [![CI](https://github.com/simiancraft/google-mcp-suite/actions/workflows/ci.yml/badge.svg)](https://github.com/simiancraft/google-mcp-suite/actions/workflows/ci.yml)
4
- [![codecov](https://codecov.io/gh/simiancraft/google-mcp-suite/branch/main/graph/badge.svg)](https://codecov.io/gh/simiancraft/google-mcp-suite)
5
- [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/simiancraft/google-mcp-suite/badge)](https://securityscorecards.dev/viewer/?uri=github.com/simiancraft/google-mcp-suite)
6
- [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](./LICENSE)
3
+ <p align="center">
4
+ <a href="https://www.npmjs.com/package/google-mcp-suite"><img src="https://img.shields.io/npm/v/google-mcp-suite.svg" alt="npm" /></a>
5
+ &nbsp;
6
+ <a href="https://github.com/simiancraft/google-mcp-suite/actions/workflows/ci.yml"><img src="https://github.com/simiancraft/google-mcp-suite/actions/workflows/ci.yml/badge.svg" alt="CI" /></a>
7
+ &nbsp;
8
+ <a href="https://codecov.io/gh/simiancraft/google-mcp-suite"><img src="https://codecov.io/gh/simiancraft/google-mcp-suite/branch/main/graph/badge.svg" alt="codecov" /></a>
9
+ &nbsp;
10
+ <a href="https://securityscorecards.dev/viewer/?uri=github.com/simiancraft/google-mcp-suite"><img src="https://api.securityscorecards.dev/projects/github.com/simiancraft/google-mcp-suite/badge" alt="OpenSSF Scorecard" /></a>
11
+ &nbsp;
12
+ <a href="./LICENSE"><img src="https://img.shields.io/badge/license-MIT-yellow.svg" alt="License: MIT" /></a>
13
+ </p>
7
14
 
8
- One [Model Context Protocol](https://modelcontextprotocol.io/) server per Google service, built to command **several Google accounts at once**. Each server is thin, authorized per account, and shares a single OAuth implementation.
15
+ <p align="center">
16
+ <strong>Google MCP servers you can read in an afternoon, one per service.</strong><br />
17
+ The curated <a href="https://modelcontextprotocol.io/">MCP</a> toolset plus the broader REST surface, in one server per account, so an agent can run several Google accounts at once and can never act on the wrong one. A folder tree that mirrors Google's API reference page-for-page, with 100% test coverage.
18
+ </p>
9
19
 
10
- > **Status:** Gmail is implemented and usable today; Drive, Sheets, Docs, and Calendar are next. Interfaces may still move before the first tagged release.
20
+ <p align="center">
21
+ <img src=".github/assets/gmail.svg" height="44" alt="Gmail" title="Gmail (shipping)" />
22
+ &nbsp;&nbsp;&nbsp;
23
+ <img src=".github/assets/calendar.svg" height="44" alt="Calendar" title="Calendar (shipping)" />
24
+ &nbsp;&nbsp;&nbsp;
25
+ <img src=".github/assets/drive.svg" height="44" alt="Drive (planned)" title="Drive (planned)" />
26
+ &nbsp;&nbsp;&nbsp;
27
+ <img src=".github/assets/sheets.svg" height="44" alt="Sheets (planned)" title="Sheets (planned)" />
28
+ &nbsp;&nbsp;&nbsp;
29
+ <img src=".github/assets/docs.svg" height="44" alt="Docs (planned)" title="Docs (planned)" />
30
+ </p>
11
31
 
12
- ## Why
32
+ <p align="center">
33
+ <sub><strong>Gmail</strong> (<a href="./src/gmail/CAPABILITIES.md">33 operations</a>) and <strong>Calendar</strong> (<a href="./src/calendar/CAPABILITIES.md">25 operations</a>) ship today; Drive, Sheets, and Docs are on the way (shown dimmed).</sub>
34
+ </p>
13
35
 
14
- Commanding multiple Google accounts means running one server instance per account, and covering multiple services (Gmail, Drive, Sheets, Docs, Calendar) means one server each. Writing OAuth once and sharing it keeps every server a thin set of operations instead of a re-implemented auth client.
36
+ ## What it does
15
37
 
16
- ### MCP, and then some
38
+ Point an AI agent at your Google accounts and let it do the work: triage and send mail, run your calendars today; manage files and edit documents as those services land. The end goal is an agent that operates your accounts and hands you results.
17
39
 
18
- This is an MCP server, and deliberately more than one. Google publishes an MCP toolset for some services, but that toolset is a small slice of what each API can do; you cannot fully instrument an account with it alone. The goal here is to **fully empower an agent across several Google accounts and services**, so each server exposes two surfaces under one wire protocol:
40
+ The design has two internal concepts and nothing else:
41
+
42
+ 1. An **operation** is a folder of `schema.ts` + `handler.ts` + `index.ts` + `handler.test.ts`, conforming to one `operation()` shape.
43
+ 2. A **server function**, `server(...)`, wires those operations into a running MCP server.
44
+
45
+ That is the whole surface. Read one operation folder and you understand all of them.
46
+
47
+ - **REST plus MCP in one surface.** Each server exposes the curated MCP toolset *and* the broader REST method set of its Google API, so an agent gets far more than a thin slice. Gmail ships with [33 operations](./src/gmail/CAPABILITIES.md) (10 curated MCP tools plus 23 REST methods) and Calendar with [25](./src/calendar/CAPABILITIES.md) (8 plus 17); the split is explained in [MCP, and then some](#mcp-and-then-some).
48
+ - **The folder tree mirrors Google's docs.** A Google tools-list reference page becomes a `tools/` folder; a Google REST method reference page becomes a `methods/` folder. If you can find the operation in Google's docs, you can find it in this repo.
49
+
50
+ | Google's reference page | This repo's folder |
51
+ |---|---|
52
+ | A tools-list page (curated MCP toolset) | `tools/<operation>/` |
53
+ | A REST method reference page | `methods/<operation>/` |
54
+
55
+ - **Multiple accounts, in parallel.** Identity is bound to a running instance, not passed per call, so an agent can act across your accounts at once and cannot act on the wrong one.
56
+ - **Siloed by design.** Each service runs as its own independent server in its own lane; the orchestrating agent is the single thing that coordinates them.
57
+ - **Strict by construction.** Input and output schemas are validated on every call, vocabulary is sourced from Google's own docs, types are strict (NodeNext ESM, `verbatimModuleSyntax`, `noUncheckedIndexedAccess`), and coverage is pinned at 100% in `bunfig.toml`.
58
+
59
+ One package, one version: everything compiles into `google-mcp-suite`, which ships a bin per service (`google-mcp-gmail` and `google-mcp-calendar` today) plus the `google-mcp-doctor` setup CLI.
60
+
61
+ ## MCP, and then some
62
+
63
+ This is an MCP server, and deliberately more than one. Google publishes an MCP toolset for some services, but that toolset is a small slice of what each API can do; you cannot fully instrument an account with it alone. Calendar makes the gap concrete: Google's curated Calendar toolset is 8 tools; the API has 25 worth having, and this server ships all of them. The goal here is to **fully empower an agent across several Google accounts and services**, so each server exposes two surfaces under one wire protocol:
19
64
 
20
65
  - **`tools/`** mirrors Google's **MCP toolset** reference, verbatim.
21
66
  - **`methods/`** covers the broader **REST** reference, the operations the MCP toolset omits.
22
67
 
23
- The split is Google's own (its MCP reference and its REST reference are separate trees); we keep it on disk on purpose and unify it operationally (one `Operation` type, one merged wire surface where everything is an MCP tool). The breadth of the operation list is the evidence that MCP alone is not enough for real work. Keeping the two sourced surfaces separate makes the suite self-documenting and enables **documentation-driven updates**: point at a Google reference page and generate the matching `schema.ts`/`handler.ts`/`index.ts`, with each source page bounding the context of one unit of work.
68
+ The split is Google's own (its MCP reference and its REST reference are separate trees); we keep it on disk on purpose and unify it operationally (one `Operation` type, one merged wire surface where everything is an MCP tool). The breadth of [the operation list](./src/gmail/CAPABILITIES.md) is the evidence that MCP alone is not enough for real work. Keeping the two sourced surfaces separate also makes each new operation a bounded, documentation-driven unit of work; the recipe is in [EXTENDING.md](./EXTENDING.md).
69
+
70
+ ## Quickstart
71
+
72
+ One thing first: a Google Cloud OAuth client (roughly ten minutes of console clicks, once; the friction is Google's, not ours). [PROVISIONING.md](./PROVISIONING.md) walks every click, and `doctor` tells you which step you are on.
73
+
74
+ ```sh
75
+ npm install -g google-mcp-suite
76
+
77
+ google-mcp-doctor scopes # the exact APIs + scopes to enable in Google Cloud
78
+ google-mcp-doctor auth you@example.com # browser consent; writes the account token
79
+ google-mcp-doctor # provisioned, authorized, reachable?
80
+ ```
81
+
82
+ Then point your MCP client at the servers, one instance per service per account:
83
+
84
+ ```json
85
+ {
86
+ "mcpServers": {
87
+ "gmail-personal": {
88
+ "command": "google-mcp-gmail",
89
+ "env": { "GOOGLE_MCP_ACCOUNT": "personal@example.com" }
90
+ },
91
+ "gmail-work": {
92
+ "command": "google-mcp-gmail",
93
+ "env": { "GOOGLE_MCP_ACCOUNT": "work@example.com" }
94
+ },
95
+ "calendar-personal": {
96
+ "command": "google-mcp-calendar",
97
+ "env": { "GOOGLE_MCP_ACCOUNT": "personal@example.com" }
98
+ },
99
+ "calendar-work": {
100
+ "command": "google-mcp-calendar",
101
+ "env": { "GOOGLE_MCP_ACCOUNT": "work@example.com" }
102
+ }
103
+ }
104
+ }
105
+ ```
106
+
107
+ Then ask your agent for something no single-account tool can do:
108
+
109
+ > Find 30 free minutes next week that works across my work and personal calendars, book it on the work calendar with a Meet link, and email the invite summary to my personal address.
24
110
 
25
111
  ## Layout
26
112
 
@@ -28,29 +114,36 @@ The split is Google's own (its MCP reference and its REST reference are separate
28
114
  src/
29
115
  auth/ # shared OAuth: one client secret, per-account tokens
30
116
  lib/ # the two MCP primitives: operation() + server()
117
+ doctor/ # google-mcp-doctor: provisioning + auth-health CLI
31
118
  gmail/ # the Gmail server (reference/canary); new services mirror its shape
119
+ calendar/ # the Calendar server; same shape
32
120
  ```
33
121
 
34
- One package, one version. `auth`, `lib`, and each service are folders in one `src/` and compile to a single published package.
122
+ One package, one version. `auth`, `lib`, `doctor`, and each service are folders in one `src/` and compile to a single published package.
35
123
 
36
124
  - **`src/auth`** owns authentication. A service imports it and calls `authorizedClient(account)` to get an authenticated Google client.
37
125
  - **`src/lib`** owns the protocol with two primitives: `operation()` (a typed definition every operation conforms to) and `server()` (turns a service's operations into a running stdio MCP server). A service never reimplements the MCP server.
126
+ - **`src/doctor`** is the setup and health CLI; it knows the services, never the other way around. See [its README](./src/doctor/README.md).
38
127
  - **`src/<service>`** is a server: `index.ts` (bootstrap) plus a folder per operation under `tools/` (MCP-sourced verbs) and `methods/` (REST-sourced verbs), each holding `schema.ts` + `handler.ts` + `index.ts` + `handler.test.ts`; shared zod nouns live in `entities/` and projections in `lib/`.
39
128
 
40
129
  ## The multi-account model
41
130
 
42
131
  - **One OAuth app.** A single Google Cloud OAuth client (`client_secret`) is shared across every service.
43
- - **One token per account.** Each account is authorized once, granted the full scope union for all services. Tokens are stored per account, outside the repo.
132
+ - **One token per account.** Each account is authorized once, granted the full scope union for all services. Tokens are stored per account, outside the repo. The account name is a label you choose at `doctor auth` time; an email address or a short alias (`work`, `personal`) both work, and the alias form keeps your MCP config readable.
44
133
  - **Identity by instance.** A running server is bound to one account via the `GOOGLE_MCP_ACCOUNT` environment variable. To command three accounts, you run three instances of a service, each with a different `GOOGLE_MCP_ACCOUNT`. There is no per-call account argument, so a server cannot act on the wrong account.
45
134
 
46
135
  ## Auth setup
47
136
 
48
- 1. Create a Google Cloud project, enable the APIs you need (Gmail, Drive, ...), and create an **OAuth client** (Desktop app). Download the client secret JSON.
49
- 2. Place the client secret where `src/auth` expects it (see [its README](./src/auth/README.md)), outside the repo tree.
137
+ Authorization is a one-time, per-account browser consent flow.
138
+
139
+ 1. Create a Google Cloud project, enable the APIs you need (Gmail, Calendar, ...), and create an **OAuth client** (Desktop app). Download the client secret JSON.
140
+ 2. Place the client secret JSON at `~/.google-mcp/client_secret.json` (override knobs in [src/auth's README](./src/auth/README.md)).
50
141
  3. Authorize each account once; this opens a browser consent flow and stores that account's token.
51
142
  4. Run a service with `GOOGLE_MCP_ACCOUNT=<account>` to act as that account.
52
143
 
53
- Credentials never live in the repo. `.gitignore` blocks the common filenames; keep tokens and the client secret in the canonical config directory.
144
+ The [`google-mcp-doctor`](./src/doctor/README.md) CLI drives all of it except the console clicks: `doctor scopes` prints the APIs and scopes to enable, `doctor auth <email>` runs the consent flow and writes the token, and `doctor` / `doctor status` confirm every account is authorized and reachable.
145
+
146
+ Credentials never live in the repo. Tokens and the client secret live in the ignored `~/.google-mcp/` config directory, and `.gitignore` also blocks common credential filenames.
54
147
 
55
148
  For the full, step-by-step Google Cloud walkthrough (enabling APIs, declaring scopes, consent-screen and test-user setup, and what an agent can automate), see [PROVISIONING.md](./PROVISIONING.md).
56
149
 
@@ -61,20 +154,28 @@ bun install
61
154
  bun run check # lint-fix, build, typecheck, test, knip
62
155
  ```
63
156
 
64
- See [CONTRIBUTING.md](./CONTRIBUTING.md) for the full task list and [AGENTS.md](./AGENTS.md) for the per-service pattern.
157
+ See [CONTRIBUTING.md](./CONTRIBUTING.md) for the full task list, [AGENTS.md](./AGENTS.md) for the per-service pattern, [EXTENDING.md](./EXTENDING.md) for the add-a-service recipe, [ADDING-A-SERVICE.md](./ADDING-A-SERVICE.md) for the end-to-end service playbook, and [CHANGELOG.md](./CHANGELOG.md) for release history.
65
158
 
66
159
  ## Services
67
160
 
68
- | Service | Status | Coverage |
161
+ | Service | Status | Operations |
69
162
  |---|---|---|
70
163
  | **Gmail** | ✅ Implemented | [33 operations](./src/gmail/CAPABILITIES.md): threads, messages, drafts, labels, filters, attachments |
164
+ | **Calendar** | ✅ Implemented | [25 operations](./src/calendar/CAPABILITIES.md): events, calendars, free/busy, and meeting-time suggestions |
71
165
  | Drive | 🔜 Planned | files, folders, sharing, revisions |
72
166
  | Sheets | 🔜 Planned | spreadsheets, values, formatting |
73
167
  | Docs | 🔜 Planned | documents, structured content |
74
- | Calendar | 🔜 Planned | events, calendars, availability |
75
168
 
76
- Gmail is the reference (canary) implementation; each new service mirrors its shape. See its [capability list](./src/gmail/CAPABILITIES.md) for the full operation set.
169
+ Gmail is the reference (canary) implementation; Calendar is its first replication; each new service mirrors the same shape.
170
+
171
+ ---
77
172
 
78
- ## License
173
+ <p align="center">
174
+ <a href="https://github.com/simiancraft/google-mcp-suite" title="google-mcp-suite on GitHub"><img src=".github/assets/github.svg" height="18" alt="GitHub" /></a>
175
+ &nbsp;&nbsp;&nbsp;
176
+ <a href="https://x.com/5imian" title="Jesse Harlin on X"><img src=".github/assets/x.svg" height="16" alt="X" /></a>
177
+ &nbsp;&nbsp;&nbsp;
178
+ <a href="https://ko-fi.com/the_simian0604" title="Tip on Ko-fi"><img src=".github/assets/coffee.svg" height="18" alt="Ko-fi" /></a>
179
+ </p>
79
180
 
80
- [MIT](./LICENSE). Google product names are used nominatively; see [NOTICE.md](./NOTICE.md). This project is not affiliated with Google LLC.
181
+ <p align="center"><sub><a href="./LICENSE">MIT</a>. Google product names are used nominatively; see <a href="./NOTICE.md">NOTICE.md</a>; not affiliated with Google LLC. Crafted with care by <a href="https://simiancraft.com"><img src=".github/assets/simiancraft.svg" height="12" alt="" />&nbsp;Simiancraft</a>.</sub></p>
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ export {};
3
+ //# sourceMappingURL=capabilities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../src/calendar/capabilities.ts"],"names":[],"mappings":""}
@@ -0,0 +1,21 @@
1
+ #!/usr/bin/env node
2
+ // Regenerate CAPABILITIES.md from the live tool/method registries: `bun run
3
+ // capabilities`. The doc is derived from the same registries the server lists
4
+ // and dispatches, so it cannot drift from the code. Agents that speak MCP should
5
+ // discover the live, fully-schema'd surface via the server's `tools/list`.
6
+ import { writeFileSync } from 'node:fs';
7
+ import { fileURLToPath } from 'node:url';
8
+ import { mergeOperations } from '../lib/operation.js';
9
+ import { renderCapabilities } from '../lib/server.js';
10
+ import { methods } from './methods/registry.js';
11
+ import { tools } from './tools/registry.js';
12
+ if (import.meta.main) {
13
+ const operations = mergeOperations(tools, methods);
14
+ const out = fileURLToPath(new URL('./CAPABILITIES.md', import.meta.url));
15
+ writeFileSync(out, renderCapabilities('Calendar capabilities', [
16
+ { kind: 'MCP Tool', operations: tools },
17
+ { kind: 'REST Method', operations: methods },
18
+ ]));
19
+ console.error(`Wrote CAPABILITIES.md (${Object.keys(operations).length} operations)`);
20
+ }
21
+ //# sourceMappingURL=capabilities.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"capabilities.js","sourceRoot":"","sources":["../../src/calendar/capabilities.ts"],"names":[],"mappings":";AACA,4EAA4E;AAC5E,8EAA8E;AAC9E,iFAAiF;AACjF,2EAA2E;AAC3E,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAE5C,IAAI,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IACrB,MAAM,UAAU,GAAG,eAAe,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACnD,MAAM,GAAG,GAAG,aAAa,CAAC,IAAI,GAAG,CAAC,mBAAmB,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;IACzE,aAAa,CACX,GAAG,EACH,kBAAkB,CAAC,uBAAuB,EAAE;QAC1C,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,KAAK,EAAE;QACvC,EAAE,IAAI,EAAE,aAAa,EAAE,UAAU,EAAE,OAAO,EAAE;KAC7C,CAAC,CACH,CAAC;IACF,OAAO,CAAC,KAAK,CAAC,0BAA0B,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,MAAM,cAAc,CAAC,CAAC;AACxF,CAAC","sourcesContent":["#!/usr/bin/env node\n// Regenerate CAPABILITIES.md from the live tool/method registries: `bun run\n// capabilities`. The doc is derived from the same registries the server lists\n// and dispatches, so it cannot drift from the code. Agents that speak MCP should\n// discover the live, fully-schema'd surface via the server's `tools/list`.\nimport { writeFileSync } from 'node:fs';\nimport { fileURLToPath } from 'node:url';\nimport { mergeOperations } from '../lib/operation.js';\nimport { renderCapabilities } from '../lib/server.js';\nimport { methods } from './methods/registry.js';\nimport { tools } from './tools/registry.js';\n\nif (import.meta.main) {\n const operations = mergeOperations(tools, methods);\n const out = fileURLToPath(new URL('./CAPABILITIES.md', import.meta.url));\n writeFileSync(\n out,\n renderCapabilities('Calendar capabilities', [\n { kind: 'MCP Tool', operations: tools },\n { kind: 'REST Method', operations: methods },\n ]),\n );\n console.error(`Wrote CAPABILITIES.md (${Object.keys(operations).length} operations)`);\n}\n"]}
@@ -0,0 +1,24 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * An attendee of an event, with their invitation response.
4
+ *
5
+ * Fields here are the MCP-projected shape of the REST event attendee: the REST
6
+ * `optional` flag is renamed `optionalAttendee`. Field docs use `.describe()`
7
+ * so they reach the wire JSON Schema an MCP client reads.
8
+ *
9
+ * @see https://developers.google.com/workspace/calendar/api/concepts/events-calendars
10
+ */
11
+ export declare const Attendee: z.ZodObject<{
12
+ id: z.ZodOptional<z.ZodString>;
13
+ email: z.ZodString;
14
+ displayName: z.ZodOptional<z.ZodString>;
15
+ organizer: z.ZodOptional<z.ZodBoolean>;
16
+ self: z.ZodOptional<z.ZodBoolean>;
17
+ resource: z.ZodOptional<z.ZodBoolean>;
18
+ optionalAttendee: z.ZodOptional<z.ZodBoolean>;
19
+ responseStatus: z.ZodOptional<z.ZodString>;
20
+ comment: z.ZodOptional<z.ZodString>;
21
+ additionalGuests: z.ZodOptional<z.ZodNumber>;
22
+ }, z.core.$strip>;
23
+ export type Attendee = z.infer<typeof Attendee>;
24
+ //# sourceMappingURL=Attendee.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Attendee.d.ts","sourceRoot":"","sources":["../../../src/calendar/entities/Attendee.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;GAQG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;iBA4BnB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC"}
@@ -0,0 +1,34 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * An attendee of an event, with their invitation response.
4
+ *
5
+ * Fields here are the MCP-projected shape of the REST event attendee: the REST
6
+ * `optional` flag is renamed `optionalAttendee`. Field docs use `.describe()`
7
+ * so they reach the wire JSON Schema an MCP client reads.
8
+ *
9
+ * @see https://developers.google.com/workspace/calendar/api/concepts/events-calendars
10
+ */
11
+ export const Attendee = z.object({
12
+ id: z.string().optional().describe("The attendee's Profile ID, if available."),
13
+ email: z
14
+ .string()
15
+ .describe("The attendee's email address. Required when adding an attendee; must be a valid address as per RFC5322."),
16
+ displayName: z.string().optional().describe("The attendee's name, if available."),
17
+ organizer: z.boolean().optional().describe('Whether the attendee is the organizer of the event.'),
18
+ self: z
19
+ .boolean()
20
+ .optional()
21
+ .describe('Whether this entry represents the calendar on which this copy of the event appears.'),
22
+ resource: z
23
+ .boolean()
24
+ .optional()
25
+ .describe('Whether the attendee is a resource, such as a meeting room.'),
26
+ optionalAttendee: z.boolean().optional().describe('Whether this is an optional attendee.'),
27
+ responseStatus: z
28
+ .string()
29
+ .optional()
30
+ .describe("The attendee's response status. One of: needsAction, declined, tentative, accepted."),
31
+ comment: z.string().optional().describe("The attendee's response comment."),
32
+ additionalGuests: z.number().int().optional().describe('Number of additional guests.'),
33
+ });
34
+ //# sourceMappingURL=Attendee.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Attendee.js","sourceRoot":"","sources":["../../../src/calendar/entities/Attendee.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/B,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,0CAA0C,CAAC;IAC9E,KAAK,EAAE,CAAC;SACL,MAAM,EAAE;SACR,QAAQ,CACP,yGAAyG,CAC1G;IACH,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,oCAAoC,CAAC;IACjF,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,qDAAqD,CAAC;IACjG,IAAI,EAAE,CAAC;SACJ,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,qFAAqF,CACtF;IACH,QAAQ,EAAE,CAAC;SACR,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CAAC,6DAA6D,CAAC;IAC1E,gBAAgB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,uCAAuC,CAAC;IAC1F,cAAc,EAAE,CAAC;SACd,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,qFAAqF,CACtF;IACH,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,kCAAkC,CAAC;IAC3E,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,8BAA8B,CAAC;CACvF,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\n\n/**\n * An attendee of an event, with their invitation response.\n *\n * Fields here are the MCP-projected shape of the REST event attendee: the REST\n * `optional` flag is renamed `optionalAttendee`. Field docs use `.describe()`\n * so they reach the wire JSON Schema an MCP client reads.\n *\n * @see https://developers.google.com/workspace/calendar/api/concepts/events-calendars\n */\nexport const Attendee = z.object({\n id: z.string().optional().describe(\"The attendee's Profile ID, if available.\"),\n email: z\n .string()\n .describe(\n \"The attendee's email address. Required when adding an attendee; must be a valid address as per RFC5322.\",\n ),\n displayName: z.string().optional().describe(\"The attendee's name, if available.\"),\n organizer: z.boolean().optional().describe('Whether the attendee is the organizer of the event.'),\n self: z\n .boolean()\n .optional()\n .describe(\n 'Whether this entry represents the calendar on which this copy of the event appears.',\n ),\n resource: z\n .boolean()\n .optional()\n .describe('Whether the attendee is a resource, such as a meeting room.'),\n optionalAttendee: z.boolean().optional().describe('Whether this is an optional attendee.'),\n responseStatus: z\n .string()\n .optional()\n .describe(\n \"The attendee's response status. One of: needsAction, declined, tentative, accepted.\",\n ),\n comment: z.string().optional().describe(\"The attendee's response comment.\"),\n additionalGuests: z.number().int().optional().describe('Number of additional guests.'),\n});\n\nexport type Attendee = z.infer<typeof Attendee>;\n"]}
@@ -0,0 +1,20 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * A calendar's own metadata: its title, description, geographic location, and
4
+ * time zone. Distinct from the user's calendar list entry, which layers a
5
+ * per-user view (color, visibility, access role) on top of a calendar.
6
+ *
7
+ * Field docs use `.describe()` so they reach the wire JSON Schema an MCP client
8
+ * reads.
9
+ *
10
+ * @see https://developers.google.com/workspace/calendar/api/concepts/events-calendars
11
+ */
12
+ export declare const Calendar: z.ZodObject<{
13
+ id: z.ZodString;
14
+ summary: z.ZodOptional<z.ZodString>;
15
+ description: z.ZodOptional<z.ZodString>;
16
+ location: z.ZodOptional<z.ZodString>;
17
+ timeZone: z.ZodOptional<z.ZodString>;
18
+ }, z.core.$strip>;
19
+ export type Calendar = z.infer<typeof Calendar>;
20
+ //# sourceMappingURL=Calendar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Calendar.d.ts","sourceRoot":"","sources":["../../../src/calendar/entities/Calendar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;GASG;AACH,eAAO,MAAM,QAAQ;;;;;;iBAYnB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC"}
@@ -0,0 +1,25 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * A calendar's own metadata: its title, description, geographic location, and
4
+ * time zone. Distinct from the user's calendar list entry, which layers a
5
+ * per-user view (color, visibility, access role) on top of a calendar.
6
+ *
7
+ * Field docs use `.describe()` so they reach the wire JSON Schema an MCP client
8
+ * reads.
9
+ *
10
+ * @see https://developers.google.com/workspace/calendar/api/concepts/events-calendars
11
+ */
12
+ export const Calendar = z.object({
13
+ id: z.string().describe('Identifier of the calendar.'),
14
+ summary: z.string().optional().describe('Title of the calendar.'),
15
+ description: z.string().optional().describe('Description of the calendar.'),
16
+ location: z
17
+ .string()
18
+ .optional()
19
+ .describe('Geographic location of the calendar as free-form text.'),
20
+ timeZone: z
21
+ .string()
22
+ .optional()
23
+ .describe('The time zone of the calendar, as an IANA Time Zone Database name.'),
24
+ });
25
+ //# sourceMappingURL=Calendar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Calendar.js","sourceRoot":"","sources":["../../../src/calendar/entities/Calendar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/B,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,6BAA6B,CAAC;IACtD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,wBAAwB,CAAC;IACjE,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,8BAA8B,CAAC;IAC3E,QAAQ,EAAE,CAAC;SACR,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,wDAAwD,CAAC;IACrE,QAAQ,EAAE,CAAC;SACR,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,oEAAoE,CAAC;CAClF,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\n\n/**\n * A calendar's own metadata: its title, description, geographic location, and\n * time zone. Distinct from the user's calendar list entry, which layers a\n * per-user view (color, visibility, access role) on top of a calendar.\n *\n * Field docs use `.describe()` so they reach the wire JSON Schema an MCP client\n * reads.\n *\n * @see https://developers.google.com/workspace/calendar/api/concepts/events-calendars\n */\nexport const Calendar = z.object({\n id: z.string().describe('Identifier of the calendar.'),\n summary: z.string().optional().describe('Title of the calendar.'),\n description: z.string().optional().describe('Description of the calendar.'),\n location: z\n .string()\n .optional()\n .describe('Geographic location of the calendar as free-form text.'),\n timeZone: z\n .string()\n .optional()\n .describe('The time zone of the calendar, as an IANA Time Zone Database name.'),\n});\n\nexport type Calendar = z.infer<typeof Calendar>;\n"]}
@@ -0,0 +1,36 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * A calendar as it appears on the user's calendar list: the per-user view
4
+ * (title override, colors, visibility, access role, default reminders)
5
+ * layered on top of a calendar. Distinct from entities/Calendar, the
6
+ * calendar's own metadata.
7
+ *
8
+ * Field docs use `.describe()` so they reach the wire JSON Schema an MCP
9
+ * client reads.
10
+ *
11
+ * @see https://developers.google.com/workspace/calendar/api/v3/reference/calendarList
12
+ */
13
+ export declare const CalendarListEntry: z.ZodObject<{
14
+ id: z.ZodString;
15
+ summary: z.ZodOptional<z.ZodString>;
16
+ summaryOverride: z.ZodOptional<z.ZodString>;
17
+ description: z.ZodOptional<z.ZodString>;
18
+ location: z.ZodOptional<z.ZodString>;
19
+ timeZone: z.ZodOptional<z.ZodString>;
20
+ accessRole: z.ZodOptional<z.ZodString>;
21
+ colorId: z.ZodOptional<z.ZodString>;
22
+ backgroundColor: z.ZodOptional<z.ZodString>;
23
+ foregroundColor: z.ZodOptional<z.ZodString>;
24
+ hidden: z.ZodOptional<z.ZodBoolean>;
25
+ selected: z.ZodOptional<z.ZodBoolean>;
26
+ primary: z.ZodOptional<z.ZodBoolean>;
27
+ defaultReminders: z.ZodOptional<z.ZodArray<z.ZodObject<{
28
+ method: z.ZodEnum<{
29
+ email: "email";
30
+ popup: "popup";
31
+ }>;
32
+ minutes: z.ZodNumber;
33
+ }, z.core.$strip>>>;
34
+ }, z.core.$strip>;
35
+ export type CalendarListEntry = z.infer<typeof CalendarListEntry>;
36
+ //# sourceMappingURL=CalendarListEntry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CalendarListEntry.d.ts","sourceRoot":"","sources":["../../../src/calendar/entities/CalendarListEntry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;;;;;;;GAUG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;iBAqD5B,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
@@ -0,0 +1,60 @@
1
+ import { z } from 'zod';
2
+ import { Reminder } from './Reminder.js';
3
+ /**
4
+ * A calendar as it appears on the user's calendar list: the per-user view
5
+ * (title override, colors, visibility, access role, default reminders)
6
+ * layered on top of a calendar. Distinct from entities/Calendar, the
7
+ * calendar's own metadata.
8
+ *
9
+ * Field docs use `.describe()` so they reach the wire JSON Schema an MCP
10
+ * client reads.
11
+ *
12
+ * @see https://developers.google.com/workspace/calendar/api/v3/reference/calendarList
13
+ */
14
+ export const CalendarListEntry = z.object({
15
+ id: z.string().describe('Identifier of the calendar.'),
16
+ summary: z.string().optional().describe('Title of the calendar.'),
17
+ summaryOverride: z
18
+ .string()
19
+ .optional()
20
+ .describe("The title the user has set for this calendar, overriding the calendar's own."),
21
+ description: z.string().optional().describe('Description of the calendar.'),
22
+ location: z
23
+ .string()
24
+ .optional()
25
+ .describe('Geographic location of the calendar as free-form text.'),
26
+ timeZone: z
27
+ .string()
28
+ .optional()
29
+ .describe('The time zone of the calendar, as an IANA Time Zone Database name.'),
30
+ accessRole: z
31
+ .string()
32
+ .optional()
33
+ .describe("The user's effective access role on this calendar. One of: freeBusyReader, reader, writer, owner."),
34
+ colorId: z
35
+ .string()
36
+ .optional()
37
+ .describe('The color of the calendar: an ID referring to an entry in the calendar section of the colors definition.'),
38
+ backgroundColor: z
39
+ .string()
40
+ .optional()
41
+ .describe('The main color of the calendar in the hexadecimal format "#0088aa"; supersedes colorId.'),
42
+ foregroundColor: z
43
+ .string()
44
+ .optional()
45
+ .describe('The foreground color of the calendar in the hexadecimal format "#ffffff"; supersedes colorId.'),
46
+ hidden: z
47
+ .boolean()
48
+ .optional()
49
+ .describe('Whether the calendar has been hidden from the list. Only returned when true.'),
50
+ selected: z
51
+ .boolean()
52
+ .optional()
53
+ .describe('Whether the calendar content shows up in the calendar UI.'),
54
+ primary: z.boolean().optional().describe("Whether this is the user's primary calendar."),
55
+ defaultReminders: z
56
+ .array(Reminder)
57
+ .optional()
58
+ .describe('The default reminders the user has for this calendar.'),
59
+ });
60
+ //# sourceMappingURL=CalendarListEntry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CalendarListEntry.js","sourceRoot":"","sources":["../../../src/calendar/entities/CalendarListEntry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC;IACxC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,6BAA6B,CAAC;IACtD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,wBAAwB,CAAC;IACjE,eAAe,EAAE,CAAC;SACf,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,8EAA8E,CAAC;IAC3F,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,8BAA8B,CAAC;IAC3E,QAAQ,EAAE,CAAC;SACR,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,wDAAwD,CAAC;IACrE,QAAQ,EAAE,CAAC;SACR,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,oEAAoE,CAAC;IACjF,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,mGAAmG,CACpG;IACH,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,0GAA0G,CAC3G;IACH,eAAe,EAAE,CAAC;SACf,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,yFAAyF,CAC1F;IACH,eAAe,EAAE,CAAC;SACf,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,+FAA+F,CAChG;IACH,MAAM,EAAE,CAAC;SACN,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CAAC,8EAA8E,CAAC;IAC3F,QAAQ,EAAE,CAAC;SACR,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CAAC,2DAA2D,CAAC;IACxE,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,8CAA8C,CAAC;IACxF,gBAAgB,EAAE,CAAC;SAChB,KAAK,CAAC,QAAQ,CAAC;SACf,QAAQ,EAAE;SACV,QAAQ,CAAC,uDAAuD,CAAC;CACrE,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\nimport { Reminder } from './Reminder.js';\n\n/**\n * A calendar as it appears on the user's calendar list: the per-user view\n * (title override, colors, visibility, access role, default reminders)\n * layered on top of a calendar. Distinct from entities/Calendar, the\n * calendar's own metadata.\n *\n * Field docs use `.describe()` so they reach the wire JSON Schema an MCP\n * client reads.\n *\n * @see https://developers.google.com/workspace/calendar/api/v3/reference/calendarList\n */\nexport const CalendarListEntry = z.object({\n id: z.string().describe('Identifier of the calendar.'),\n summary: z.string().optional().describe('Title of the calendar.'),\n summaryOverride: z\n .string()\n .optional()\n .describe(\"The title the user has set for this calendar, overriding the calendar's own.\"),\n description: z.string().optional().describe('Description of the calendar.'),\n location: z\n .string()\n .optional()\n .describe('Geographic location of the calendar as free-form text.'),\n timeZone: z\n .string()\n .optional()\n .describe('The time zone of the calendar, as an IANA Time Zone Database name.'),\n accessRole: z\n .string()\n .optional()\n .describe(\n \"The user's effective access role on this calendar. One of: freeBusyReader, reader, writer, owner.\",\n ),\n colorId: z\n .string()\n .optional()\n .describe(\n 'The color of the calendar: an ID referring to an entry in the calendar section of the colors definition.',\n ),\n backgroundColor: z\n .string()\n .optional()\n .describe(\n 'The main color of the calendar in the hexadecimal format \"#0088aa\"; supersedes colorId.',\n ),\n foregroundColor: z\n .string()\n .optional()\n .describe(\n 'The foreground color of the calendar in the hexadecimal format \"#ffffff\"; supersedes colorId.',\n ),\n hidden: z\n .boolean()\n .optional()\n .describe('Whether the calendar has been hidden from the list. Only returned when true.'),\n selected: z\n .boolean()\n .optional()\n .describe('Whether the calendar content shows up in the calendar UI.'),\n primary: z.boolean().optional().describe(\"Whether this is the user's primary calendar.\"),\n defaultReminders: z\n .array(Reminder)\n .optional()\n .describe('The default reminders the user has for this calendar.'),\n});\n\nexport type CalendarListEntry = z.infer<typeof CalendarListEntry>;\n"]}
@@ -0,0 +1,31 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * One palette entry: a background color and the foreground color legible on
4
+ * top of it.
5
+ *
6
+ * @see https://developers.google.com/workspace/calendar/api/v3/reference/colors/get
7
+ */
8
+ export declare const ColorDefinition: z.ZodObject<{
9
+ background: z.ZodString;
10
+ foreground: z.ZodString;
11
+ }, z.core.$strip>;
12
+ export type ColorDefinition = z.infer<typeof ColorDefinition>;
13
+ /**
14
+ * The global color palettes: calendar colors (referenced by a calendar list
15
+ * entry's colorId) and event colors (referenced by an event's colorId).
16
+ *
17
+ * @see https://developers.google.com/workspace/calendar/api/v3/reference/colors/get
18
+ */
19
+ export declare const Colors: z.ZodObject<{
20
+ updated: z.ZodOptional<z.ZodString>;
21
+ calendar: z.ZodRecord<z.ZodString, z.ZodObject<{
22
+ background: z.ZodString;
23
+ foreground: z.ZodString;
24
+ }, z.core.$strip>>;
25
+ event: z.ZodRecord<z.ZodString, z.ZodObject<{
26
+ background: z.ZodString;
27
+ foreground: z.ZodString;
28
+ }, z.core.$strip>>;
29
+ }, z.core.$strip>;
30
+ export type Colors = z.infer<typeof Colors>;
31
+ //# sourceMappingURL=Colors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Colors.d.ts","sourceRoot":"","sources":["../../../src/calendar/entities/Colors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;GAKG;AACH,eAAO,MAAM,eAAe;;;iBAO1B,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAE9D;;;;;GAKG;AACH,eAAO,MAAM,MAAM;;;;;;;;;;iBAWjB,CAAC;AAEH,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC"}
@@ -0,0 +1,34 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * One palette entry: a background color and the foreground color legible on
4
+ * top of it.
5
+ *
6
+ * @see https://developers.google.com/workspace/calendar/api/v3/reference/colors/get
7
+ */
8
+ export const ColorDefinition = z.object({
9
+ background: z
10
+ .string()
11
+ .describe('The background color associated with this color definition, as hex.'),
12
+ foreground: z
13
+ .string()
14
+ .describe('The foreground color that can be used to write on top of the background color.'),
15
+ });
16
+ /**
17
+ * The global color palettes: calendar colors (referenced by a calendar list
18
+ * entry's colorId) and event colors (referenced by an event's colorId).
19
+ *
20
+ * @see https://developers.google.com/workspace/calendar/api/v3/reference/colors/get
21
+ */
22
+ export const Colors = z.object({
23
+ updated: z
24
+ .string()
25
+ .optional()
26
+ .describe('Last modification time of the color palettes (as an RFC3339 timestamp).'),
27
+ calendar: z
28
+ .record(z.string(), ColorDefinition)
29
+ .describe('The calendar color palette, mapping a color ID to its definition.'),
30
+ event: z
31
+ .record(z.string(), ColorDefinition)
32
+ .describe('The event color palette, mapping a color ID (1 through 11) to its definition.'),
33
+ });
34
+ //# sourceMappingURL=Colors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Colors.js","sourceRoot":"","sources":["../../../src/calendar/entities/Colors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;GAKG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,CAAC,qEAAqE,CAAC;IAClF,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,CAAC,gFAAgF,CAAC;CAC9F,CAAC,CAAC;AAIH;;;;;GAKG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7B,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,yEAAyE,CAAC;IACtF,QAAQ,EAAE,CAAC;SACR,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,eAAe,CAAC;SACnC,QAAQ,CAAC,mEAAmE,CAAC;IAChF,KAAK,EAAE,CAAC;SACL,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,eAAe,CAAC;SACnC,QAAQ,CAAC,+EAA+E,CAAC;CAC7F,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\n\n/**\n * One palette entry: a background color and the foreground color legible on\n * top of it.\n *\n * @see https://developers.google.com/workspace/calendar/api/v3/reference/colors/get\n */\nexport const ColorDefinition = z.object({\n background: z\n .string()\n .describe('The background color associated with this color definition, as hex.'),\n foreground: z\n .string()\n .describe('The foreground color that can be used to write on top of the background color.'),\n});\n\nexport type ColorDefinition = z.infer<typeof ColorDefinition>;\n\n/**\n * The global color palettes: calendar colors (referenced by a calendar list\n * entry's colorId) and event colors (referenced by an event's colorId).\n *\n * @see https://developers.google.com/workspace/calendar/api/v3/reference/colors/get\n */\nexport const Colors = z.object({\n updated: z\n .string()\n .optional()\n .describe('Last modification time of the color palettes (as an RFC3339 timestamp).'),\n calendar: z\n .record(z.string(), ColorDefinition)\n .describe('The calendar color palette, mapping a color ID to its definition.'),\n event: z\n .record(z.string(), ColorDefinition)\n .describe('The event color palette, mapping a color ID (1 through 11) to its definition.'),\n});\n\nexport type Colors = z.infer<typeof Colors>;\n"]}