mirror of
https://github.com/Sea-Haven-Industries/sh-mcp.git
synced 2026-10-07 03:32:04 +00:00
39 lines
1 KiB
TypeScript
39 lines
1 KiB
TypeScript
|
|
/**
|
||
|
|
* @sh-mcp/calendar — Sea Haven calendar tools
|
||
|
|
*
|
||
|
|
* Exports the tools array built against a CalendarClient interface.
|
||
|
|
* The wire transport layer (OpenAPI / MCP) consumes this registry;
|
||
|
|
* this package only defines the tools.
|
||
|
|
*
|
||
|
|
* Usage (server instantiation):
|
||
|
|
*
|
||
|
|
* import { calendarTools } from '@sh-mcp/calendar';
|
||
|
|
* import { GoogleCalendarClient } from '@sh-mcp/calendar/client';
|
||
|
|
*
|
||
|
|
* const client = new GoogleCalendarClient(tokenProvider);
|
||
|
|
* const tools = calendarTools(client);
|
||
|
|
* registry.register(tools);
|
||
|
|
*/
|
||
|
|
|
||
|
|
export { buildCalendarTools } from './tools.js';
|
||
|
|
export type {
|
||
|
|
CalendarClient,
|
||
|
|
CalendarEvent,
|
||
|
|
CalendarAttendee,
|
||
|
|
CalendarClientError,
|
||
|
|
GoogleTokenProvider,
|
||
|
|
GetEventsOptions,
|
||
|
|
CheckAvailabilityOptions,
|
||
|
|
AvailabilityResult,
|
||
|
|
CreateEventOptions,
|
||
|
|
} from './client.js';
|
||
|
|
export { GoogleCalendarClient } from './client.js';
|
||
|
|
export type {
|
||
|
|
GetCalendarEventsInput,
|
||
|
|
GetCalendarEventsOutput,
|
||
|
|
CheckAvailabilityInput,
|
||
|
|
CheckAvailabilityOutput,
|
||
|
|
CreateCalendarEventInput,
|
||
|
|
CreateCalendarEventOutput,
|
||
|
|
} from './tools.js';
|