alphaportal-mcp
Enables querying AlphaPortal student information, assigned bus stops, live bus GPS locations, and arrival/departure notifications, with confirm-gated updates to notification preferences and walk-zone radius.
README
alphaportal-mcp
An MCP server for AlphaPortal (AlphaRoute), the parent/guardian school-bus
transportation portal used by districts such as Charlotte-Mecklenburg Schools
(cmsnc.alphaportal.app). Ask Claude where your child's bus is, what stops they
have, and what arrival notifications came in — and (confirm-gated) adjust
notification preferences and walk-zone radius.
Developed and maintained by AI. Use at your own discretion.
What it can do
Reads (all live-verified against the real API):
alphaportal_list_students— your children, with grade, school, and transport flagsalphaportal_get_student— a child's school plus morning/afternoon stopsalphaportal_get_student_stops— assigned stops with times and locationsalphaportal_get_bus_location— live GPS of the bus for the AM or PM runalphaportal_list_notifications— arrival/departure alertsalphaportal_list_requests— submitted transportation requests + tracking numbersalphaportal_get_report_link— a PDF report download linkalphaportal_list_schools,alphaportal_list_grades— district reference dataalphaportal_get_profile,alphaportal_get_account,alphaportal_get_settingsalphaportal_session_status— is a working session configured (no secrets returned)
Writes (confirm-gated — a dry-run of the exact payload unless confirm: true):
alphaportal_edit_walk_radius— set a student's walk-zone radius (meters)alphaportal_set_notification— set per-student push/email notification preferences
Authentication — the refresh token
AlphaPortal's login is reCAPTCHA-gated and can't be automated with a username/password. Instead this server uses the refresh token the web app stores in your signed-in browser (an 8-day credential); from it, it mints the short-lived access tokens it needs entirely server-side — no browser bridge in the request hot path. There are two ways it gets that token, tried in order:
- Automatic (fetchproxy bootstrap). If
ALPHAPORTAL_REFRESH_TOKENis not set, the server reads it once from your signed-in AlphaPortal tab via the Transporter browser extension (the fetchproxy bridge) — a one-shot read that snapshots only the token (a JSON-pointer extraction, so your name/email/ phone never leave the browser), then closes. Requires the extension installed and a signed-in*.alphaportal.apptab. SetALPHAPORTAL_DISABLE_FETCHPROXY=1to turn this off. - Manual (env var). Set
ALPHAPORTAL_REFRESH_TOKENyourself. Capture it in a signed-in tab's DevTools console:This is the right path for a headless/hosted deployment with no browser.JSON.parse(localStorage.user).User.RefreshToken
Either way, the server persists each rotated refresh token, so the 8-day window
rolls forward as long as you use it at least once every 8 days. If it expires,
sign back in (path 1) or re-capture (path 2). The alphaportal-fpx skill under
skills/ documents the same capture from a shell via the fpx CLI.
Setup
npm install
npm run build
echo 'ALPHAPORTAL_REFRESH_TOKEN=<paste the token>' > .env
node dist/index.js # or wire it into your MCP host
.env is gitignored. For an MCP host, set ALPHAPORTAL_REFRESH_TOKEN in its env
block (.mcp.json / mcpb user config both reference it).
Optional environment variables
| Variable | Purpose |
|---|---|
ALPHAPORTAL_REFRESH_TOKEN |
The refresh token. Optional if the fetchproxy bridge can read it from a signed-in tab; required for a headless/hosted deployment. |
ALPHAPORTAL_DISABLE_FETCHPROXY |
Set to 1 to disable the browser-bridge fallback and require the env var. |
ALPHAPORTAL_SESSION_FILE |
Override the store path (default ~/.alphaportal-mcp/session.json). |
Hosting on mcp-host
mint.yaml describes how to host this server. Note the egress allowlist: the
only host the server contacts is api.alpharoute.app (every read/write and the
token refresh). On the isolated tier an egress policy is required — allow
api.alpharoute.app, or tools report "could not reach the API". A plain hosted
registration has no browser bridge, so set ALPHAPORTAL_REFRESH_TOKEN as a
secret there.
Development
npm test # vitest (mocked network)
npm run typecheck # tsc --noEmit (a green vitest run is not a green typecheck)
npm run build # tsc + esbuild bundle
API shapes are pinned in docs/ALPHAPORTAL-API.md.
Notes & limitations
- The transportation-request submission flow (
requests/transportation/add,.../alternative/add) is intentionally not exposed yet — its nested request body was not fully captured, and shipping a guessed write payload that submits a real request to the district would be irresponsible. See the docs. - Every request rides your own AlphaPortal session (the refresh token you captured); the server only ever reads your account's data.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.