Skip to main content
Glama
SF Tennis Court Booking MCP Server

SF Tennis Court Booking MCP Server

by gkedev

SF Tennis Court Booking via Cloudflare MCP Server

Automate tennis court bookings on San Francisco Recreation websites using a Cloudflare MCP (Model Context Protocol) server with browser automation. Never miss your favorite court and court time again!

It uses Stytch to authenticate the server so only certain emails (like mine) can book a court (in my name.)

Demo Video

📹 Watch the demo and a brief project explanation on YouTube

Related MCP server: Lumen Resto MCP

What This Does

This MCP server has 3 tennis booking tools:

  • Check Court Availability - See available time slots for any court/date

  • Book Court & Request SMS - Automate booking flow up to SMS verification

  • Complete Booking with SMS - Finish booking by entering your SMS code

Quick Deploy

Deploy to Workers

This will deploy your tennis booking MCP server to: tennis-booking.<your-account>.workers.dev/sse

Alternatively, clone and deploy locally:

npm create cloudflare@latest -- tennis-booking-mcp --template=cloudflare/ai/demos/remote-mcp-authless

How the tennis booking works

  1. Check what's available:

check_tennis_courts({
  court: "Alice Marble", 
  date: "2025-07-29", 
  time: "12:00 PM"
})
  1. Start booking process (stops at SMS step)

book_and_request_sms({
  court: "Alice Marble",
  time: "12:00 PM", 
  date: "2025-07-29"
})
  1. Manual SMS + Automated Completion (User gets verification code from rec.us, types it in to MCP server message, this tool then runs)

enter_sms_code_and_complete({code: "123456"})

Setup Requirements

You need secrets for your Cloudflare Worker/MCP server:

REC_EMAIL=your-sf-rec-email@example.com
REC_PASSWORD=your-sf-rec-password

Your wrangler.jsonc should have:

"ai": {
		"binding": "AI"
	},
	"browser": {
		"binding": "MYBROWSER"
	},

Connect to MCP Clients

  1. Cloudflare LLM Playground

Go to https://playground.ai.cloudflare.com/ Enter your MCP server URL: tennis-booking.<your-account>.workers.dev/sse Start booking courts with natural language!

  1. Claude Desktop Install the mcp-remote proxy and update Claude Desktop's config:

{
  "mcpServers": {
    "tennis-booking": {
      "command": "npx",
      "args": [
        "mcp-remote", 
        "https://tennis-booking.<your-account>.workers.dev/sse"
      ]
    }
  }
}

Now you can chat with Claude: "Book Alice Marble court for tomorrow at 2 PM" and it will handle the entire process!

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      B
      quality
      Not graded
      maintenance
      Enables booking cleaning services in San Francisco by collecting customer details and automatically sending booking requests via email to service partners.
      1
      -
    • -
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables restaurant reservation management and schedule checking through Supabase with multi-tenant support. Designed for WhatsApp and phone agents to verify opening hours, create reservations with automatic table assignment, and handle multiple restaurants from a single server.
      -
    • A
      license
      A
      quality
      C
      maintenance
      MCP server for provisioning dedicated real-SIM US phone numbers, receiving inbound SMS, and extracting OTP codes. Built for AI agents automating phone verification workflows.
      12
      134 npm
      1
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Automates tennis court bookings on San Francisco Recreation websites using browser automation, with tools to check availability, initiate booking with SMS verification, and complete bookings.
      9
      -