pub struct EventKitServer {}Expand description
EventKit MCP Server - provides access to macOS Calendar and Reminders.
EventKit objects (Retained<EKEventStore> and its managers) are !Send + !Sync,
but every handler in this module keeps those values stack-local and never holds
one across an .await. That makes the generated handler futures Send, so the
server can run on a normal multi-thread tokio runtime without rmcp’s local
feature. New handlers MUST preserve this invariant — if you need async work,
wrap the synchronous EventKit calls in tokio::task::spawn_blocking so the
!Send value lives entirely inside the blocking closure.
Implementations§
Source§impl EventKitServer
impl EventKitServer
pub fn new() -> Self
Sourcepub fn auth_status_tool_attr() -> Tool
pub fn auth_status_tool_attr() -> Tool
Generated tool metadata function for auth_status
Sourcepub fn request_access_tool_attr() -> Tool
pub fn request_access_tool_attr() -> Tool
Generated tool metadata function for request_access
Sourcepub fn list_reminder_lists_tool_attr() -> Tool
pub fn list_reminder_lists_tool_attr() -> Tool
Generated tool metadata function for list_reminder_lists
Sourcepub fn list_reminders_tool_attr() -> Tool
pub fn list_reminders_tool_attr() -> Tool
Generated tool metadata function for list_reminders
Sourcepub fn create_reminder_tool_attr() -> Tool
pub fn create_reminder_tool_attr() -> Tool
Generated tool metadata function for create_reminder
Sourcepub fn update_reminder_tool_attr() -> Tool
pub fn update_reminder_tool_attr() -> Tool
Generated tool metadata function for update_reminder
Sourcepub fn create_reminder_list_tool_attr() -> Tool
pub fn create_reminder_list_tool_attr() -> Tool
Generated tool metadata function for create_reminder_list
Sourcepub fn update_reminder_list_tool_attr() -> Tool
pub fn update_reminder_list_tool_attr() -> Tool
Generated tool metadata function for update_reminder_list
Sourcepub fn delete_reminder_list_tool_attr() -> Tool
pub fn delete_reminder_list_tool_attr() -> Tool
Generated tool metadata function for delete_reminder_list
Sourcepub fn complete_reminder_tool_attr() -> Tool
pub fn complete_reminder_tool_attr() -> Tool
Generated tool metadata function for complete_reminder
Sourcepub fn uncomplete_reminder_tool_attr() -> Tool
pub fn uncomplete_reminder_tool_attr() -> Tool
Generated tool metadata function for uncomplete_reminder
Sourcepub fn get_reminder_tool_attr() -> Tool
pub fn get_reminder_tool_attr() -> Tool
Generated tool metadata function for get_reminder
Sourcepub fn delete_reminder_tool_attr() -> Tool
pub fn delete_reminder_tool_attr() -> Tool
Generated tool metadata function for delete_reminder
Sourcepub fn set_reminder_due_timezone_tool_attr() -> Tool
pub fn set_reminder_due_timezone_tool_attr() -> Tool
Generated tool metadata function for set_reminder_due_timezone
Sourcepub fn set_reminder_geofence_tool_attr() -> Tool
pub fn set_reminder_geofence_tool_attr() -> Tool
Generated tool metadata function for set_reminder_geofence
Sourcepub fn list_calendars_tool_attr() -> Tool
pub fn list_calendars_tool_attr() -> Tool
Generated tool metadata function for list_calendars
Sourcepub fn get_default_event_calendar_tool_attr() -> Tool
pub fn get_default_event_calendar_tool_attr() -> Tool
Generated tool metadata function for get_default_event_calendar
Sourcepub fn set_event_availability_tool_attr() -> Tool
pub fn set_event_availability_tool_attr() -> Tool
Generated tool metadata function for set_event_availability
Sourcepub fn list_events_tool_attr() -> Tool
pub fn list_events_tool_attr() -> Tool
Generated tool metadata function for list_events
Sourcepub fn create_event_tool_attr() -> Tool
pub fn create_event_tool_attr() -> Tool
Generated tool metadata function for create_event
Sourcepub fn delete_event_tool_attr() -> Tool
pub fn delete_event_tool_attr() -> Tool
Generated tool metadata function for delete_event
Sourcepub fn get_event_tool_attr() -> Tool
pub fn get_event_tool_attr() -> Tool
Generated tool metadata function for get_event
Sourcepub fn create_event_calendar_tool_attr() -> Tool
pub fn create_event_calendar_tool_attr() -> Tool
Generated tool metadata function for create_event_calendar
Sourcepub fn update_event_calendar_tool_attr() -> Tool
pub fn update_event_calendar_tool_attr() -> Tool
Generated tool metadata function for update_event_calendar
Sourcepub fn delete_event_calendar_tool_attr() -> Tool
pub fn delete_event_calendar_tool_attr() -> Tool
Generated tool metadata function for delete_event_calendar
Sourcepub fn list_sources_tool_attr() -> Tool
pub fn list_sources_tool_attr() -> Tool
Generated tool metadata function for list_sources
Sourcepub fn update_event_tool_attr() -> Tool
pub fn update_event_tool_attr() -> Tool
Generated tool metadata function for update_event
Sourcepub fn get_current_location_tool_attr() -> Tool
pub fn get_current_location_tool_attr() -> Tool
Generated tool metadata function for get_current_location
Sourcepub fn search_tool_attr() -> Tool
pub fn search_tool_attr() -> Tool
Generated tool metadata function for search
Sourcepub fn batch_delete_tool_attr() -> Tool
pub fn batch_delete_tool_attr() -> Tool
Generated tool metadata function for batch_delete
Sourcepub fn batch_move_tool_attr() -> Tool
pub fn batch_move_tool_attr() -> Tool
Generated tool metadata function for batch_move
Sourcepub fn batch_update_tool_attr() -> Tool
pub fn batch_update_tool_attr() -> Tool
Generated tool metadata function for batch_update