Skip to main content
Glama
Edmonton Move Learn Play MCP Server

Edmonton Move Learn Play MCP Server

by JCrossman
README.md
# Edmonton Move Learn Play — MCP Server

An MCP server that connects to the City of Edmonton's [Move.Learn.Play](https://movelearnplay.edmonton.ca) recreation portal, letting you search programs, check schedules, view your courses and memberships, and manage bookings through natural language conversation with any MCP-compatible AI assistant.

Built using the [spec-x](https://github.com/JCrossman/spec-x) methodology with [GitHub Copilot](https://github.com/features/copilot).

## Prerequisites

- Node.js >= 18
- npm

## Installation

```bash
git clone https://github.com/JCrossman/edmonton-move-learn-play.git
cd edmonton-move-learn-play
npm install
npm run build
```

## Authentication

The server manages your Move.Learn.Play account session securely:

1. Ask your AI assistant: **"Connect my Move.Learn.Play account"**
2. A browser window opens to the Move.Learn.Play login page
3. Log in directly in the browser — your password never passes through the MCP server
4. The browser closes automatically after login, and your session is saved

To disconnect and delete all stored session data, ask: **"Disconnect my Move.Learn.Play account"**

**Security:** Your password is entered only in the browser, never seen by the MCP server. Session cookies are encrypted at rest using AES-256-GCM with a machine-specific key at `~/.edmonton-move-learn-play/session.enc`.

## What You Can Do

| Ask something like... | What you get |
|---|---|
| "Search for swimming lessons" | Programs matching your search with schedule, location, and course IDs |
| "Show me details for course 765490" | Full course info: dates, times, prices, availability, waitlist status |
| "What drop-in activities are available?" | Drop-in schedules (no registration needed) |
| "What courses am I registered for?" | Your registered courses with dates, times, and locations |
| "What memberships do I have?" | Your active memberships with status and expiry |
| "Do I have any upcoming appointments?" | Your appointments with dates, times, and cancellation options |
| "What's in my cart?" | Cart contents and total cost |

Searching and browsing programs does **not** require login. Viewing your courses, memberships, appointments, and cart **does** require a connected account.

## Client Configuration

### Claude Desktop

Add to your Claude Desktop config (`~/Library/Application Support/Claude/claude_desktop_config.json` on macOS):

```json
{
  "mcpServers": {
    "mlp-edmonton": {
      "command": "node",
      "args": ["/path/to/edmonton-move-learn-play/build/src/mcp/server.js"]
    }
  }
}
```

### Claude Code

```bash
claude mcp add mlp-edmonton node /path/to/edmonton-move-learn-play/build/src/mcp/server.js
```

## Security

- Session encrypted at rest (AES-256-GCM, machine-specific key)
- Session stored at `~/.edmonton-move-learn-play/session.enc`
- Sessions expire after 24 hours
- No passwords stored; only session cookies
- To delete all data: ask "Disconnect my account" or delete `~/.edmonton-move-learn-play/`

## Troubleshooting

- **"Session expired"**: Re-connect your account. Move.Learn.Play sessions are time-limited.
- **"Could not connect"**: Check your internet connection. The site may be temporarily down.
- **"Service is temporarily busy"**: During high-demand registration periods, the site uses a queue system. Try again in a few minutes.
- **No search results**: Try broader search terms. The search matches course names and IDs.

TDQS

A3.8/5.0

Scored across 15 tools

Disambiguation4/5

Most tools target a clearly distinct action or resource, with strong descriptions guiding selection (e.g. search_programs, book_course, checkout). The 'my account' cluster (get_my_account, get_my_profile, check_connection) has mild overlap in purpose but descriptions differentiate them reasonably. A few (get_my_account vs get_my_profile) could still be confused by an agent.

Naming Consistency4/5

The set follows a consistent verb_noun snake_case convention (search_programs, get_course_details, get_my_courses, connect_account). The 'get_my_*' prefix family is nicely uniform. Minor deviations like 'checkout' and 'view_cart' break the pattern slightly but remain readable.

Tool Count5/5

15 tools is well-scoped for a recreation booking domain covering discovery, booking, cart, and account management. Each tool earns its place with no obvious redundancy bloating the surface.

Completeness3/5

The discovery-to-checkout flow and account views are well covered, but the lifecycle has notable gaps: no cancel_registration, cancel_appointment, or remove_from_cart tools, despite get_my_appointments noting cancellability. Agents hitting a 'cancel my booking' request would dead-end.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues