personal-assistant
Enables searching for movie theaters and showtimes, recommending conflict-free entertainment options, and securely booking movie tickets with an OTP-guarded transaction flow.
Provides real-time calendar intelligence by fetching live schedule events from Google Calendar to analyze scheduling conflicts and suggest free time slots.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
π€ Autonomous AI Personal Assistant using Model Context Protocol (MCP)
An enterprise-ready Autonomous AI Agent built using Anthropic's Model Context Protocol (MCP). This agent connects to Google Calendar (live OAuth 2.0 API) to analyze user schedule conflicts and integrates with BookMyShow to search, recommend, and safely book movie tickets with deterministic OTP Guardrails.
π Key Features
π Real-Time Calendar Intelligence: Authenticates with Google Cloud OAuth 2.0 and dynamically fetches live schedule data.
ποΈ Entertainment & Venue Discovery: Queries movie listings, venue locations, and showtime slots.
π§ Autonomous Schedule Reasoning: Evaluates calendar blocks against show timings to automatically suggest conflict-free slots.
π‘οΈ Deterministic Safety Guardrails: Implements a strict code-level constraint requiring a 4-digit OTP before completing any booking transaction.
π Universal MCP Architecture: Can be mounted to any MCP-compliant host (Claude Desktop, Cursor, Custom Agent Web Apps).
Related MCP server: Movie Booking Assistant
ποΈ System Architecture
graph TD
User["π€ User ('Check calendar & book Leo movie')"] --> Host["π€ AI Host (Claude Desktop)"]
Host --> Bridge["π MCP Protocol Bridge"]
subgraph "Local MCP Server (bms_server.py)"
Bridge --> Tool1["π
check_google_calendar()"]
Bridge --> Tool2["π search_theaters()"]
Bridge --> Tool3["β° check_shows()"]
Bridge --> Tool4["ποΈ book_ticket(movie, theater, otp)"]
end
Tool1 --> GoogleCloud["βοΈ Google Calendar API (Live OAuth v3)"]
Tool4 --> Guardrail["π‘οΈ OTP Guardrail Engine"]
GoogleCloud --> Host
Guardrail --> Host
Host --> Response["β
Autonomous Recommendation & Booking"]π Repository Structure
βββ bms_server.py # Core MCP Server with Calendar & BMS Tools
βββ mcp_config.json # MCP Server configuration bridge
βββ credentials.template.json # Google OAuth credentials blueprint
βββ requirements.txt # Python dependencies
βββ PROJECT_REPORT_MCP_ASSISTANT.md # Detailed Technical & Executive Report
βββ PROJECT_REPORT_MCP_ASSISTANT.html# Printable Executive HTML Report
βββ .gitignore # Safeguards OAuth tokens & secrets
βββ README.md # Documentationπ Quickstart Guide
1. Prerequisites
Python 3.10+ installed
Google Cloud Console account (Free tier)
Claude Desktop (or any MCP Client)
2. Installation
Clone the repository and install required Python packages:
git clone https://github.com/YOUR_USERNAME/mcp-personal-assistant.git
cd mcp-personal-assistant
pip install -r requirements.txt3. Google Calendar API Setup
Go to Google Cloud Console.
Enable Google Calendar API.
Under OAuth Consent Screen (Audience), add your Gmail to Test Users.
Under Credentials, create an OAuth Client ID (Desktop App) and download the JSON.
Rename the downloaded file to
credentials.jsonand place it in the project root directory.
4. Connect to Claude Desktop
Add the server definition to your claude_desktop_config.json (located at %APPDATA%\Claude\claude_desktop_config.json on Windows):
{
"mcpServers": {
"personal-assistant": {
"command": "python",
"args": [
"/absolute/path/to/mcp-personal-assistant/bms_server.py"
]
}
}
}Restart Claude Desktop. The personal-assistant connector will appear with tools active!
π§ͺ Live Verification Log
User: "Check my Google Calendar to see my schedule for today, and suggest movie timings for Leo in Chennai."
Claude:
- Invoked tool: check_google_calendar()
β Fetched live events: "Leo Movie Discussion (2:00 PM - 3:00 PM)" & "Leo Movie Discussion (5:45 PM - 9:45 PM)"
- Invoked tool: search_theaters(city="Chennai", movie="Leo")
β Venues available: PVR (Evening), INOX (Night), Sathyam (Afternoon)
- Agent Reasoning: "Given your 2:00 PM and 5:45 PM blocks, a night show at INOX fits cleanest without clashing. Shall I proceed?"
User: "Okay, book the night show at INOX for Leo."
Claude:
- Invoked tool: book_ticket(movie="Leo", theater="INOX", otp="")
β Guardrail Response: "β Rule Error: OTP required for security!"
- Claude prompts user for 4-digit OTP.
User: "1234"
Claude:
- Invoked tool: book_ticket(movie="Leo", theater="INOX", otp="1234")
β Result: "β
Booked β Leo, night show, INOX. Enjoy the movie! π¬"π¨βπ» Author & Contributions
Author: Pragatheeshwaran
Status: Verified Live & Production Ready
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
Related MCP Connectors
Booking gateway for AI agents β discover events, movies & hotels, hand off to partner checkout.
Book, reschedule, and cancel home services (cleaning, lawn, snow) via phone OTP authentication.
AI ticket commerce for theme parks, zoos, museums, and aquariums via any AI agent
Discover local services and availability, then create, track, reschedule, or cancel bookings.
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides a comprehensive movie booking experience for AMC Theatres, enabling users to discover movies, find showtimes, select seats, and process payments through conversational AI. Supports multi-location theater search with real-time seat availability and booking management.61MIT
- FlicenseNot gradedqualityDmaintenanceProvides a suite of tools for searching movies, checking showtimes, and managing ticket bookings for Bangalore cinemas. It enables AI clients to handle end-to-end movie theater interactions including seat availability checks and reservation management.-
- AlicenseAqualityDmaintenanceEnables conversational AI assistants to help users discover movies, find showtimes, book seats, and process payments for AMC Theatres through a simple API interface.6MIT
- FlicenseNot gradedqualityDmaintenanceEnables searching for movies, checking Google Calendar for conflicts, and booking tickets with seat type and INR pricing, all through natural conversation. Supports demo mode without API keys.-