io.github.chrischall/pickuppatrol-mcp

Registre officiel Autres

Read and change your children's school dismissal plans in PickUp Patrol

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

NPM package @chrischall/pickuppatrol-mcp
Claude Code
claude mcp add pickuppatrol-mcp -e 'PICKUPPATROL_USERNAME=<PICKUPPATROL_USERNAME>' -e 'PICKUPPATROL_PASSWORD=<your pickuppatrol_password>' -- npx -y @chrischall/pickuppatrol-mcp@1.2.2
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "pickuppatrol-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "@chrischall/pickuppatrol-mcp@1.2.2"
            ],
            "env": {
                "PICKUPPATROL_USERNAME": "<PICKUPPATROL_USERNAME>",
                "PICKUPPATROL_PASSWORD": "<your pickuppatrol_password>"
            }
        }
    }
}

Variables d'environnement

  • PICKUPPATROL_USERNAME The email address you sign in to app.pickuppatrol.net with
  • PICKUPPATROL_PASSWORD secret Your PickUp Patrol password

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. pickuppatrol-mcp
  2. What it talks to
  3. Install
  4. Tools
  5. Without the MCP server
  6. Development
  7. Two things about the API worth knowing
  8. Safety notes
  9. License

pickuppatrol-mcp

An MCP server for PickUp Patrol — the school dismissal app. Read and change how your children leave school: their weekly default plan, one-off changes for specific dates, and the school's dismissal options and cutoff times.

Developed and maintained by AI (Claude Code). Use at your own discretion.

What it talks to

app.pickuppatrol.net runs a ServiceStack JSON API behind an Ionic/Vue SPA. There is no published API, but the service is reachable server-side with an ordinary HTTPS request — no browser extension, no bot wall, no captcha. The server signs in with your own email and password and holds the resulting session in memory.

Every request shape is captured in docs/PICKUPPATROL-API.md, read off the shipped client rather than guessed, and exercised against a real account — reads, a write, and its restore.

Install

// .mcp.json
{
  "mcpServers": {
    "pickuppatrol": {
      "command": "npx",
      "args": ["-y", "@chrischall/pickuppatrol-mcp"],
      "env": {
        "PICKUPPATROL_USERNAME": "you@example.com",
        "PICKUPPATROL_PASSWORD": "…"
      }
    }
  }
}

For local development, copy .env.example to .env and fill it in.

The server starts without credentials — it answers the host's install-time probe and only reports the configuration error on the first tool call.

Tools

Reads

ToolWhat it gives you
pup_get_sessionThe signed-in account and the students linked to it
pup_list_studentsEvery student with their weekly defaults and review flag
pup_get_studentOne student in full
pup_get_default_plansA student's weekly default plan, day by day
pup_list_plansDay-by-day plans across a date range
pup_get_planOne student, one date — including whether it is locked
pup_list_transportationsA school's dismissal options and the rules each imposes
pup_get_schoolSchool profile, notify times, cutoff times, settings
pup_list_non_school_daysDates no plan can be set for, and dates already changed
pup_list_car_numbersCar numbers the school issued to this account
pup_healthcheckCredentials sign in and the API answers; on failure, error.kind says which hop broke (edge_blocked, credential_rejected, …)

Reads are projected to known fields. Plan notes can be written by any guardian on the account, and option hints and school settings by school staff, so every read that carries them is marked untrusted_content with a note telling the model to treat the text as data, not instructions. pup_list_plans, pup_get_plan, pup_get_school and pup_get_student take raw: true for the untouched API record (still marked untrusted) — the only way to see fields such as SASId or SafetyFlag.

Writes — every one asks you to confirm first. A client that can show a confirmation prompt (Claude Code) shows one, unless MCP_CONFIRM_ELICITATION=off. Otherwise the first call makes no change and returns a preview of the exact payload it would send plus a confirmToken, and only a repeat call with that token makes the change — see Confirmations.

ToolWhat it changes
pup_set_planDismissal for one or more specific dates, or clears them back to the default
pup_set_default_plansThe weekly default plan, or clears every default
pup_mark_defaults_reviewedThe school's "defaults need review" prompt
Confirmations
variabledefault
MCP_CONFIRM_MODEask-userWhat a write does on a client that cannot show a confirmation prompt (claude.ai, Claude Desktop). ask-user: two steps — the first call does nothing and returns a preview plus a token, and the model must get your approval in chat before calling again with it. auto: the same two steps, but the model may use the token after reviewing the preview itself. refuse: writes are refused on such clients. A client that can show prompts (Claude Code) always gets the real prompt, unless MCP_CONFIRM_ELICITATION=off. An unrecognised value is treated as refuse.
MCP_CONFIRM_ELICITATIONonoff never shows a confirmation prompt, so every client gets the MCP_CONFIRM_MODE path. Set it for a client that claims to support prompts but never shows one (the write hangs — opencode 2.0.x). Any other value stays on, with a warning on stderr.
MCP_CONFIRM_TTL_SECONDS600How long a token stays valid.
MCP_CONFIRM_SECRETrandom per processSigning key; set it only if tokens must survive a server restart. On mcp-host the host supplies a stable per-child key (MCP_HOST_CONFIRM_SECRET) and spent tokens are recorded under MCP_DATA_DIR, so an approval survives an idle restart.

A token is single-use and bound to the exact payload. The second call re-reads the student and rebuilds the payload, so if anything moved between the preview and the approval — a different date or option, or (for default plans, which round-trip the whole student record) a change made to the record meanwhile — nothing is sent and you get DRAFT_CHANGED with a fresh preview.

Two things the tools do that the API does not

Rules are enforced before anything is sent. Each dismissal option carries its own requirements — a note, a car number, an early-dismissal time, or a restriction to particular students. pup_set_plan checks them against the school's own list and refuses with the school's wording, so a rejected write is a validation message rather than an opaque 400.

Writes are verified by re-reading. A 2xx from PickUp Patrol is not proof: a change made after the school's cutoff is accepted and silently ignored. Every write re-reads the affected dates and compares the transportation id and the note — never ModifiedDate, which advances on its own and would make every write look successful. The note is part of the proof because every dismissal option seen so far requires one, which makes a note-only edit ordinary: an id-only comparison would report success from a field that never had to move. The result says verified: true/false, and names the dates that did not move.

Without the MCP server

skills/pickuppatrol-api/ is a shell-out skill covering the same API with curl and jq, for scripts or a machine where the server is not installed.

Development

npm install
npm run build
npm test              # fast
npm run test:coverage # coverage-enforced at 100%

Tests never touch the network: the transport is injected, and the MCP tools run through a real in-memory client/server pair.

Two things about the API worth knowing

GetPlanEdit returns a date's override, not the effective plan. A date with no specific plan reads back TransportationId: null even when the student has a weekly default for that weekday. pup_get_plan passes that through as-is; pup_list_students is where the weekly defaults live.

Sign-in is a session cookie, not a JWT. Authenticate returns BearerToken: null on this deployment and sets ss-id/ss-pid/ss-opt. The client keeps whichever the server returns and sends both, so a future switch to JWTs needs no change here.

Safety notes

  • A rejected sign-in is never retried. PickUp Patrol counts failed attempts against the account and a lockout clears only through their support desk, so the error is cached and every later call fails instantly with the same message.
  • The weekly-default write is a read-modify-write of the whole student record, because the API has no default-plans endpoint. The server always reads the student immediately before writing, and changes only DefaultPlans.
  • Credentials live in .env (gitignored) or the MCP host's config, and are never written to a result or a log.

License

MIT

Questions fréquentes

Qu'est-ce que io.github.chrischall/pickuppatrol-mcp ?

Read and change your children's school dismissal plans in PickUp Patrol

Comment installer io.github.chrischall/pickuppatrol-mcp ?

Il s'exécute sur votre machine. Dans Claude Code : claude mcp add pickuppatrol-mcp -e 'PICKUPPATROL_USERNAME=<PICKUPPATROL_USERNAME>' -e 'PICKUPPATROL_PASSWORD=<your pickuppatrol_password>' -- npx -y @chrischall/pickuppatrol-mcp@1.2.2. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour io.github.chrischall/pickuppatrol-mcp ?

Oui. Il attend PICKUPPATROL_PASSWORD, à renseigner dans sa configuration.

io.github.chrischall/pickuppatrol-mcp est-il open source ?

Oui. Son code est sur GitHub sous licence MIT.

Qui maintient io.github.chrischall/pickuppatrol-mcp ?

Il est publié par chrischall. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.