day-planner-mcp
Integrates with Gmail to display a priority inbox and manage email threads with actions like 'Mark Done' and 'Snooze' directly from a unified day-planning dashboard.
Connects with Google Drive to fetch and cross-reference recent documents with calendar events, enabling automated meeting preparation based on attendees and keywords.
Renders calendar events in an interactive dashboard, providing a unified view of the day's schedule with expandable event cards and smart cross-referencing to related emails and documents.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@day-planner-mcp show me my day"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
day-planner-mcp
An MCP App that renders an interactive day-planning dashboard directly inside Claude conversations — showing your calendar, inbox, and docs unified in one UI with live clock, expandable events, and one-click meeting prep.
Built as a reference implementation of the MCP Apps spec. Works with Claude Desktop and Claude.ai.
What this demonstrates
MCP Apps live inside a single parent MCP. When you need data from Calendar and Gmail and Drive, you can't simply compose three existing MCPs — each is isolated. The common workaround is hitting those APIs directly from the parent.
This implementation takes a different approach: the model itself as the composition layer. The MCP App provides the UI shell and initial data load. updateModelContext then injects structured day data into the conversation, enabling the model to orchestrate follow-up tool calls against whichever MCPs are available. The MCP App is the persistent UI surface; the model is the orchestration engine.
This maps to an insight from Jack Ivers' MCP Apps writeup: the composability gap (MCPs can't call each other) can be bridged by designing the model as the composition layer, with updateModelContext as the handoff mechanism for multi-step workflows.
Related MCP server: Calendar MCP Server
Features
Unified day view — calendar, inbox, and docs in a single dashboard
Smart cross-referencing — emails and docs auto-matched to calendar events by attendee and keyword
Expandable event cards — click any event to reveal related emails, docs, and meeting prep
Priority inbox — important unread emails surfaced with Mark Done / Snooze actions
Live clock — real-time, updates every second
Bidirectional communication — UI actions fire back to the model via
app.callServerTool()updateModelContext— structured day data injected into conversation context after load
Architecture
┌─────────────────────────────────────────────────────┐
│ Claude (model) │
│ │
│ 1. User: "Show me my day" │
│ 2. Model calls load_day_planner tool │
│ 3. MCP fetches Calendar + Gmail + Drive in parallel│
│ 4. Cross-references data (emails/docs → meetings) │
│ 5. Returns tool result + MCP App HTML resource │
│ 6. Claude renders interactive dashboard in chat │
│ │
│ 7. User clicks "Start Meeting Prep" │
│ 8. UI fires → model calls handle_action tool │
│ 9. Model gets guidance + calls Gmail/Drive MCPs │
│ 10. Model synthesizes meeting brief in chat │
└─────────────────────────────────────────────────────┘day-planner-mcp/
├── src/
│ ├── index.ts # MCP server (stdio + HTTP transports)
│ ├── mcp-app.ts # UI logic — App class, render, actions
│ ├── tools/
│ │ └── dayPlanner.ts # registerAppTool + handle_action tool
│ ├── services/
│ │ └── mockData.ts # Drop-in replacement for real MCP calls
│ └── types.ts # Shared domain types
├── mcp-app.html # UI entry point (bundled by Vite)
└── vite.config.ts # Single-file bundle configThe MockDataService maps 1:1 to real MCP tool calls — each fetch* method is where you substitute a call to the Gmail MCP, Calendar MCP, or Drive MCP. The aggregation, cross-reference, UI, and action handling are unchanged.
Prerequisites
Node.js 18+
Claude Desktop or any MCP Apps-compatible host
Setup
git clone https://github.com/ryaker/day-planner-mcp
cd day-planner-mcp
npm install
npm run buildConnecting to Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):
{
"mcpServers": {
"day-planner": {
"command": "npx",
"args": ["tsx", "/absolute/path/to/day-planner-mcp/src/index.ts"]
}
}
}Restart Claude Desktop. Ask Claude: "Show me my day" or "Load the day planner".
Connecting to Claude.ai (web)
The web client requires HTTPS. Run the HTTP server and expose via tunnel:
# Terminal 1
TRANSPORT=http npm run serve
# Terminal 2
npx cloudflared tunnel --url http://localhost:3456Add the generated URL as a custom connector in Claude Settings → Connectors (paid plan required).
Replacing mock data with real integrations
The mock service is a thin wrapper. In production, replace the parallel fetches in src/tools/dayPlanner.ts with real MCP calls, or let the model orchestrate them via updateModelContext:
// Mock (current)
const [events, emails, docs] = await Promise.all([
svc.fetchCalendarEvents(date),
svc.fetchEmailThreads(maxEmails),
svc.fetchRecentDocs(maxDocs),
]);
// Production: model orchestrates calls to
// Google Calendar MCP, Gmail MCP, Drive MCP
// then passes results into the same DayPlannerData shapeScripts
Command | Description |
| Build UI (Vite) + compile server (tsc) |
| Build UI only → |
| Compile TypeScript server only |
| Start server (stdio by default) |
| Start HTTP server on port 3456 |
MCP Apps spec
Implements the official MCP Apps spec:
registerAppTool— declares_meta.ui.resourceUriso hosts can preload the UIregisterAppResource— serves bundled HTML atui://day-planner/app.htmlAppclass from@modelcontextprotocol/ext-apps— postMessage bridge between iframe and hostapp.ontoolresult— receives initial tool result data when UI rendersapp.callServerTool()— fires user actions back to the server
Contributing
PRs welcome. Key areas:
Real MCP integrations (Google Calendar, Gmail, Drive)
Additional action types
Mobile layout
Theme variants
License
MIT
Available Tools
2 toolshandle_day_planner_actionHandle Day Planner ActionA
Processes an interactive action triggered by the user in the Day Planner UI.
Action types:
mark_email_handled: User marked an email thread as done
start_meeting_prep: User wants prep help for a meeting
snooze_email: Snooze an email for N hours
open_doc: User opened a Drive document
Inputs: actionType (required), payload (required), currentDataJson (required).
load_day_plannerLoad Day PlannerA
Opens an interactive day planning dashboard showing your calendar, emails, and docs.
The dashboard shows:
Today's calendar events (expandable to reveal related emails and docs)
Inbox emails prioritized by importance
Recent Drive documents surfaced by meeting context
Interactive buttons: expand events, mark emails handled, start meeting prep
Use this to give the user a holistic view of their day.
Inputs: date, maxEmails, maxDocs.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have completely distinct purposes: one handles specific user actions in the Day Planner UI, while the other loads the entire interactive dashboard. There is no overlap or ambiguity between them, as they serve different functions in the user workflow.
Both tools follow a consistent snake_case naming pattern with clear verb_noun structure: 'handle_day_planner_action' and 'load_day_planner'. The naming is predictable and readable, making it easy for an agent to understand their roles.
With only 2 tools, the server feels too thin for its stated purpose of day planning, which involves calendar events, emails, documents, and interactive actions. A more comprehensive set would be expected to cover operations like creating events, managing tasks, or updating priorities, rather than just handling actions and loading a dashboard.
The tool surface is severely incomplete for day planning. While it covers loading a dashboard and handling some UI actions, it lacks core CRUD operations for managing calendar events, emails, or documents. There are significant gaps that would cause agent failures, such as no ability to create or modify events, send emails, or organize tasks beyond the provided actions.
Maintenance
Related MCP Connectors
AI-native Kanban board — connect Claude to claim, work and move your tasks over MCP.
An agent-first office suite Claude & ChatGPT read and write over one MCP URL.
AI-native scheduler that lives in Claude. Describe meetings in plain English; Heldly does the rest.
AI-native scheduling: check availability, book meetings, cancel and reschedule via MCP
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA companion desktop app enabling bi-directional interaction between Claude Desktop and visual UI elements, allowing Claude to display, read from, and write to interactive interfaces while processing user events and feedback.5 npm8Apache 2.0
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server for Google Calendar integration in Claude Desktop, enabling AI assistants to manage Google Calendar events through natural language interactions.13 npm1ISC
- AlicenseNot gradedqualityDmaintenanceA Todo app leveraging MCP Apps to provide interactive UI within conversations, allowing users to manage todos via Claude Desktop or Claude Code.MIT
- FlicenseAqualityDmaintenanceProvides interactive, React-based UI apps inside Claude Desktop for tracking workouts, planning trips, budgeting, comparing products, and making decisions with bidirectional communication.8-