@chrischall/pickuppatrol-mcp 1.2.0 → 1.2.1
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/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +2 -2
- package/README.md +8 -0
- package/dist/auth.d.ts +34 -3
- package/dist/auth.js +49 -8
- package/dist/bundle.js +319 -79
- package/dist/client.d.ts +5 -3
- package/dist/client.js +4 -0
- package/dist/plans.d.ts +1 -0
- package/dist/plans.js +9 -0
- package/dist/tools/account.js +15 -12
- package/dist/tools/defaults.js +25 -10
- package/dist/tools/plans.d.ts +11 -1
- package/dist/tools/plans.js +84 -8
- package/dist/tools/school.d.ts +15 -1
- package/dist/tools/school.js +66 -10
- package/dist/tools/untrusted.d.ts +11 -0
- package/dist/tools/untrusted.js +10 -0
- package/dist/types.d.ts +50 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/server.json +19 -3
package/dist/types.d.ts
CHANGED
|
@@ -136,6 +136,56 @@ export interface SchoolNotifyTimes {
|
|
|
136
136
|
SchoolId: number;
|
|
137
137
|
[key: string]: unknown;
|
|
138
138
|
}
|
|
139
|
+
/**
|
|
140
|
+
* One student's entry in a `GetParentPlans` day. Field names read off the
|
|
141
|
+
* SPA's plans-day view, which renders these records; the midday objects
|
|
142
|
+
* (`LateArrival`, `LeaveAndReturn`, `EarlyDismissal`) are left to `raw`.
|
|
143
|
+
*/
|
|
144
|
+
export interface ParentPlan {
|
|
145
|
+
StudentId?: number;
|
|
146
|
+
FirstName?: string | null;
|
|
147
|
+
SchoolId?: number;
|
|
148
|
+
SchoolName?: string | null;
|
|
149
|
+
TransportationId?: number | null;
|
|
150
|
+
TransportationName?: string | null;
|
|
151
|
+
Note?: string | null;
|
|
152
|
+
EarlyDismissalTime?: string | null;
|
|
153
|
+
CarNumber?: string | null;
|
|
154
|
+
UseCarNumbers?: boolean;
|
|
155
|
+
CutoffTime?: string | null;
|
|
156
|
+
IsDefault?: boolean;
|
|
157
|
+
AllowPlans?: boolean;
|
|
158
|
+
BlockedReason?: string | null;
|
|
159
|
+
DefaultTransportationId?: number | null;
|
|
160
|
+
DefaultTransportationName?: string | null;
|
|
161
|
+
DefaultNote?: string | null;
|
|
162
|
+
DefaultEarlyDismissalTime?: string | null;
|
|
163
|
+
DefaultCarNumber?: string | null;
|
|
164
|
+
DefaultUseCarNumbers?: boolean;
|
|
165
|
+
[key: string]: unknown;
|
|
166
|
+
}
|
|
167
|
+
/** One day of `GetParentPlans`: every student's plan for that date. */
|
|
168
|
+
export interface ParentPlanDay {
|
|
169
|
+
PlanDate?: string | null;
|
|
170
|
+
Plans?: ParentPlan[] | null;
|
|
171
|
+
}
|
|
172
|
+
/** The note rules a school sets for one kind of midday change. */
|
|
173
|
+
export interface SchoolNoteSetting {
|
|
174
|
+
NoteRequired?: boolean;
|
|
175
|
+
NoteHint?: string | null;
|
|
176
|
+
[key: string]: unknown;
|
|
177
|
+
}
|
|
178
|
+
/** `GetSchoolSettings` — only the fields the SPA is seen reading are typed. */
|
|
179
|
+
export interface SchoolSettings {
|
|
180
|
+
SchoolId?: number;
|
|
181
|
+
General?: {
|
|
182
|
+
AllowDefaultPlans?: boolean;
|
|
183
|
+
[key: string]: unknown;
|
|
184
|
+
} | null;
|
|
185
|
+
LateArrival?: SchoolNoteSetting | null;
|
|
186
|
+
LeaveAndReturn?: SchoolNoteSetting | null;
|
|
187
|
+
[key: string]: unknown;
|
|
188
|
+
}
|
|
139
189
|
export interface DefaultsReviewNeeded {
|
|
140
190
|
StudentId: number;
|
|
141
191
|
NeedsReview: boolean;
|
package/dist/version.d.ts
CHANGED
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chrischall/pickuppatrol-mcp",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"mcpName": "io.github.chrischall/pickuppatrol-mcp",
|
|
6
6
|
"description": "PickUp Patrol MCP server for Claude — developed and maintained by AI (Claude Code)",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"test:watch": "vitest"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@chrischall/mcp-utils": "^
|
|
60
|
+
"@chrischall/mcp-utils": "^3.0.0",
|
|
61
61
|
"@modelcontextprotocol/server": "^2.3.0",
|
|
62
62
|
"dotenv": "^18.0.2",
|
|
63
63
|
"zod": "^4.6.5"
|
package/server.json
CHANGED
|
@@ -6,15 +6,31 @@
|
|
|
6
6
|
"url": "https://github.com/chrischall/pickuppatrol-mcp",
|
|
7
7
|
"source": "github"
|
|
8
8
|
},
|
|
9
|
-
"version": "1.2.
|
|
9
|
+
"version": "1.2.1",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "@chrischall/pickuppatrol-mcp",
|
|
14
|
-
"version": "1.2.
|
|
14
|
+
"version": "1.2.1",
|
|
15
15
|
"transport": {
|
|
16
16
|
"type": "stdio"
|
|
17
|
-
}
|
|
17
|
+
},
|
|
18
|
+
"environmentVariables": [
|
|
19
|
+
{
|
|
20
|
+
"name": "PICKUPPATROL_USERNAME",
|
|
21
|
+
"description": "The email address you sign in to app.pickuppatrol.net with",
|
|
22
|
+
"isRequired": false,
|
|
23
|
+
"format": "string",
|
|
24
|
+
"isSecret": false
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "PICKUPPATROL_PASSWORD",
|
|
28
|
+
"description": "Your PickUp Patrol password",
|
|
29
|
+
"isRequired": false,
|
|
30
|
+
"format": "string",
|
|
31
|
+
"isSecret": true
|
|
32
|
+
}
|
|
33
|
+
]
|
|
18
34
|
}
|
|
19
35
|
]
|
|
20
36
|
}
|