{
    "format": "getmcp/server-v1",
    "generator": {
        "product": "GetMCP",
        "version": "1.7.0"
    },
    "server": {
        "name": "Calendar (Google Calendar)",
        "slug": "calendar",
        "status": "active",
        "transport_type": "streamable-http",
        "auth_type": "api-key",
        "auth_config": null,
        "outbound_auth_type": "bearer",
        "outbound_auth_config": null,
        "cors_origins": null,
        "rate_limit_per_min": 60,
        "settings": {
            "description": "Your Google calendars and events.",
            "version": "1.0.0",
            "instructions": "Use these tools to read the user's Google Calendar and add events. Use the calendar id 'primary' unless the user names another calendar. Always state times with their time zone. Confirm with the user before creating or deleting an event."
        }
    },
    "tools": [
        {
            "name": "list_calendars",
            "slug": "list_calendars",
            "description": "List all calendars in the authenticated user's Google Calendar.",
            "endpoint_url": "https://www.googleapis.com/calendar/v3/users/me/calendarList",
            "http_method": "GET",
            "tool_type": "http",
            "handler": "",
            "input_schema": {
                "type": "object",
                "properties": {
                    "maxResults": {
                        "type": "integer",
                        "description": "Maximum number of calendars to return",
                        "default": 50
                    }
                }
            },
            "body_template": null,
            "parameter_mapping": {
                "maxResults": {
                    "target": "query"
                }
            },
            "response_mapping": null,
            "headers": null,
            "timeout": 30,
            "cache_ttl": 0,
            "retry_count": 0,
            "retry_backoff": "exponential",
            "ssl_verify": true,
            "rate_limit_per_min": 0,
            "status": "active",
            "tags": [],
            "annotations": null,
            "sort_order": 0
        },
        {
            "name": "list_events",
            "slug": "list_events",
            "description": "List upcoming events from a Google Calendar.",
            "endpoint_url": "https://www.googleapis.com/calendar/v3/calendars/{{calendar_id}}/events",
            "http_method": "GET",
            "tool_type": "http",
            "handler": "",
            "input_schema": {
                "type": "object",
                "properties": {
                    "calendar_id": {
                        "type": "string",
                        "description": "Calendar ID (use \"primary\" for the main calendar)",
                        "default": "primary"
                    },
                    "timeMin": {
                        "type": "string",
                        "description": "Start time in RFC3339 format (e.g. 2024-01-01T00:00:00Z)"
                    },
                    "timeMax": {
                        "type": "string",
                        "description": "End time in RFC3339 format"
                    },
                    "maxResults": {
                        "type": "integer",
                        "description": "Maximum events to return",
                        "default": 10
                    },
                    "q": {
                        "type": "string",
                        "description": "Search query"
                    },
                    "singleEvents": {
                        "type": "boolean",
                        "description": "Expand recurring events",
                        "default": true
                    },
                    "orderBy": {
                        "type": "string",
                        "description": "Order events by",
                        "enum": [
                            "startTime",
                            "updated"
                        ],
                        "default": "startTime"
                    }
                },
                "required": [
                    "calendar_id"
                ]
            },
            "body_template": null,
            "parameter_mapping": {
                "calendar_id": {
                    "target": "path"
                },
                "timeMin": {
                    "target": "query"
                },
                "timeMax": {
                    "target": "query"
                },
                "maxResults": {
                    "target": "query"
                },
                "q": {
                    "target": "query"
                },
                "singleEvents": {
                    "target": "query"
                },
                "orderBy": {
                    "target": "query"
                }
            },
            "response_mapping": null,
            "headers": null,
            "timeout": 30,
            "cache_ttl": 0,
            "retry_count": 0,
            "retry_backoff": "exponential",
            "ssl_verify": true,
            "rate_limit_per_min": 0,
            "status": "active",
            "tags": [],
            "annotations": null,
            "sort_order": 1
        },
        {
            "name": "create_event",
            "slug": "create_event",
            "description": "Create a new event in a Google Calendar.",
            "endpoint_url": "https://www.googleapis.com/calendar/v3/calendars/{{calendar_id}}/events",
            "http_method": "POST",
            "tool_type": "http",
            "handler": "",
            "input_schema": {
                "type": "object",
                "properties": {
                    "calendar_id": {
                        "type": "string",
                        "description": "Target calendar ID",
                        "default": "primary"
                    },
                    "summary": {
                        "type": "string",
                        "description": "Event title"
                    },
                    "description": {
                        "type": "string",
                        "description": "Event description"
                    },
                    "location": {
                        "type": "string",
                        "description": "Event location"
                    },
                    "start": {
                        "type": "string",
                        "description": "Start time in RFC3339 (e.g. 2024-06-15T10:00:00-07:00)"
                    },
                    "end": {
                        "type": "string",
                        "description": "End time in RFC3339"
                    },
                    "attendees": {
                        "type": "string",
                        "description": "Comma-separated attendee emails"
                    }
                },
                "required": [
                    "calendar_id",
                    "summary",
                    "start",
                    "end"
                ]
            },
            "body_template": null,
            "parameter_mapping": {
                "calendar_id": {
                    "target": "path"
                },
                "summary": {
                    "target": "body"
                },
                "description": {
                    "target": "body"
                },
                "location": {
                    "target": "body"
                },
                "start": {
                    "target": "body",
                    "key": "start.dateTime"
                },
                "end": {
                    "target": "body",
                    "key": "end.dateTime"
                },
                "attendees": {
                    "target": "body"
                }
            },
            "response_mapping": null,
            "headers": {
                "Content-Type": "application/json"
            },
            "timeout": 30,
            "cache_ttl": 0,
            "retry_count": 0,
            "retry_backoff": "exponential",
            "ssl_verify": true,
            "rate_limit_per_min": 0,
            "status": "active",
            "tags": [],
            "annotations": null,
            "sort_order": 2
        },
        {
            "name": "delete_event",
            "slug": "delete_event",
            "description": "Delete an event from a Google Calendar.",
            "endpoint_url": "https://www.googleapis.com/calendar/v3/calendars/{{calendar_id}}/events/{{event_id}}",
            "http_method": "DELETE",
            "tool_type": "http",
            "handler": "",
            "input_schema": {
                "type": "object",
                "properties": {
                    "calendar_id": {
                        "type": "string",
                        "description": "Calendar ID",
                        "default": "primary"
                    },
                    "event_id": {
                        "type": "string",
                        "description": "Event ID"
                    }
                },
                "required": [
                    "calendar_id",
                    "event_id"
                ]
            },
            "body_template": null,
            "parameter_mapping": {
                "calendar_id": {
                    "target": "path"
                },
                "event_id": {
                    "target": "path"
                }
            },
            "response_mapping": null,
            "headers": null,
            "timeout": 30,
            "cache_ttl": 0,
            "retry_count": 0,
            "retry_backoff": "exponential",
            "ssl_verify": true,
            "rate_limit_per_min": 0,
            "status": "active",
            "tags": [],
            "annotations": null,
            "sort_order": 3
        }
    ],
    "resources": [],
    "prompts": [],
    "excluded": {
        "fields": [
            "auth_credentials",
            "outbound_auth_credentials",
            "test_auth_credentials"
        ],
        "reason": "Stored credentials are encrypted with a key unique to the site that saved them, so they cannot be restored elsewhere. Re-enter them after importing."
    }
}
