@pipeworx/mcp-google_calendar 0.1.2 → 0.2.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.
- package/README.md +17 -12
- package/bin/cli.js +55 -11
- package/lib/index.js +333 -0
- package/package.json +17 -16
- package/server.json +1 -1
- package/tools.json +146 -0
- package/src/index.ts +0 -861
- package/src/server.ts +0 -45
- package/tsconfig.json +0 -18
package/tools.json
ADDED
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"name": "gcal_list_events",
|
|
4
|
+
"description": "List calendar events with optional date filtering. Returns event summaries, start/end times, attendees, and locations. Use to view upcoming or past events.",
|
|
5
|
+
"inputSchema": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"calendar_id": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "Calendar ID (default: \"primary\" for the user's main calendar)"
|
|
11
|
+
},
|
|
12
|
+
"time_min": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "Lower bound (inclusive) for event start time as RFC3339 timestamp (e.g., \"2024-01-01T00:00:00Z\")"
|
|
15
|
+
},
|
|
16
|
+
"time_max": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"description": "Upper bound (exclusive) for event end time as RFC3339 timestamp"
|
|
19
|
+
},
|
|
20
|
+
"max_results": {
|
|
21
|
+
"type": "number",
|
|
22
|
+
"description": "Maximum number of events to return (default 10, max 250)"
|
|
23
|
+
},
|
|
24
|
+
"order_by": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"enum": [
|
|
27
|
+
"startTime",
|
|
28
|
+
"updated"
|
|
29
|
+
],
|
|
30
|
+
"description": "Sort order (default: startTime). startTime requires singleEvents=true."
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"required": []
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "gcal_get_event",
|
|
38
|
+
"description": "Get full details of a specific event by ID (e.g., \"event_12345\"). Returns summary, description, times, attendees, location, and video conferencing links.",
|
|
39
|
+
"inputSchema": {
|
|
40
|
+
"type": "object",
|
|
41
|
+
"properties": {
|
|
42
|
+
"calendar_id": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"description": "Calendar ID (default: \"primary\")"
|
|
45
|
+
},
|
|
46
|
+
"event_id": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"description": "The ID of the event to retrieve"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"required": [
|
|
52
|
+
"event_id"
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "gcal_create_event",
|
|
58
|
+
"description": "Create a new calendar event with summary, start/end times, optional description, location, and attendee emails. Returns the created event ID.",
|
|
59
|
+
"inputSchema": {
|
|
60
|
+
"type": "object",
|
|
61
|
+
"properties": {
|
|
62
|
+
"calendar_id": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"description": "Calendar ID (default: \"primary\")"
|
|
65
|
+
},
|
|
66
|
+
"summary": {
|
|
67
|
+
"type": "string",
|
|
68
|
+
"description": "Title of the event"
|
|
69
|
+
},
|
|
70
|
+
"start": {
|
|
71
|
+
"type": "string",
|
|
72
|
+
"description": "Start time as RFC3339 timestamp (e.g., \"2024-06-15T10:00:00-07:00\") or date for all-day events (\"2024-06-15\")"
|
|
73
|
+
},
|
|
74
|
+
"end": {
|
|
75
|
+
"type": "string",
|
|
76
|
+
"description": "End time as RFC3339 timestamp or date for all-day events"
|
|
77
|
+
},
|
|
78
|
+
"description": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"description": "Description or notes for the event"
|
|
81
|
+
},
|
|
82
|
+
"location": {
|
|
83
|
+
"type": "string",
|
|
84
|
+
"description": "Location of the event"
|
|
85
|
+
},
|
|
86
|
+
"attendees": {
|
|
87
|
+
"type": "array",
|
|
88
|
+
"description": "List of attendee email addresses",
|
|
89
|
+
"items": {
|
|
90
|
+
"type": "string"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"time_zone": {
|
|
94
|
+
"type": "string",
|
|
95
|
+
"description": "Time zone (e.g., \"America/Los_Angeles\"). Defaults to calendar's time zone."
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"required": [
|
|
99
|
+
"summary",
|
|
100
|
+
"start",
|
|
101
|
+
"end"
|
|
102
|
+
]
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"name": "gcal_list_calendars",
|
|
107
|
+
"description": "List all accessible calendars. Returns calendar IDs, names, time zones, and your access level for each. Use to identify which calendar to query or modify.",
|
|
108
|
+
"inputSchema": {
|
|
109
|
+
"type": "object",
|
|
110
|
+
"properties": {},
|
|
111
|
+
"required": []
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"name": "gcal_search_events",
|
|
116
|
+
"description": "Search events by keyword across summaries, descriptions, locations, and attendees. Returns matching event details and times. Use to find events by topic or participant.",
|
|
117
|
+
"inputSchema": {
|
|
118
|
+
"type": "object",
|
|
119
|
+
"properties": {
|
|
120
|
+
"calendar_id": {
|
|
121
|
+
"type": "string",
|
|
122
|
+
"description": "Calendar ID (default: \"primary\")"
|
|
123
|
+
},
|
|
124
|
+
"query": {
|
|
125
|
+
"type": "string",
|
|
126
|
+
"description": "Free-text search query to match against event fields"
|
|
127
|
+
},
|
|
128
|
+
"time_min": {
|
|
129
|
+
"type": "string",
|
|
130
|
+
"description": "Lower bound for event start time as RFC3339 timestamp"
|
|
131
|
+
},
|
|
132
|
+
"time_max": {
|
|
133
|
+
"type": "string",
|
|
134
|
+
"description": "Upper bound for event end time as RFC3339 timestamp"
|
|
135
|
+
},
|
|
136
|
+
"max_results": {
|
|
137
|
+
"type": "number",
|
|
138
|
+
"description": "Maximum number of events to return (default 10, max 250)"
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"required": [
|
|
142
|
+
"query"
|
|
143
|
+
]
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
]
|