Fastmail Calendar MCP Server
Enables AI assistants to interact with Fastmail calendars via CalDAV, allowing them to view, create, update, and delete calendar events using natural language.
README
Fastmail Calendar MCP Server
An MCP (Model Context Protocol) server that enables AI assistants to interact with Fastmail Calendar via CalDAV. This allows AI to view, create, modify, and delete calendar events in your Fastmail account.
Features
- List Calendars: View all calendars in your Fastmail account
- List Events: Retrieve events from a specific calendar within a date range
- Create Events: Add new calendar events with details like title, description, location, and time
- Update Events: Modify existing calendar events
- Delete Events: Remove calendar events
Configuration
This MCP server requires the following configuration:
- username: Your Fastmail email address (e.g.,
user@fastmail.com) - appPassword: A Fastmail app password (16 characters)
Creating a Fastmail App Password
- Log in to Fastmail
- Go to Settings → Privacy & Security → Integrations
- Click New app password
- Select permissions (ensure "Calendars" is included)
- Click Generate password
- Copy the generated password (16 characters)
Installation
Via Smithery
smithery install fastmail-calendar-mcp --client claude --config '{"username":"your-email@fastmail.com","appPassword":"your-app-password"}'
Manual Installation for Claude Desktop
Add to your Claude Desktop config file (~/.config/claude/claude_desktop_config.json):
{
"mcpServers": {
"fastmail-calendar": {
"command": "npx",
"args": [
"-y",
"fastmail-calendar-mcp"
],
"env": {
"FASTMAIL_USERNAME": "your-email@fastmail.com",
"FASTMAIL_APP_PASSWORD": "your-app-password"
}
}
}
}
For Cursor IDE
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"fastmail-calendar": {
"command": "node",
"args": ["/path/to/fastmail-calendar-mcp/dist/index.js"],
"env": {
"FASTMAIL_USERNAME": "your-email@fastmail.com",
"FASTMAIL_APP_PASSWORD": "your-app-password"
}
}
}
}
Development
Setup
npm install
npm run build
Running Locally
export FASTMAIL_USERNAME="your-email@fastmail.com"
export FASTMAIL_APP_PASSWORD="your-app-password"
npm start
Development Mode
npm run dev
This will watch for changes and automatically rebuild.
Deploying to Smithery
- Push this repository to GitHub
- Go to smithery.ai
- Click Deploy
- Select your GitHub repository
- Smithery will automatically detect the TypeScript MCP project and deploy it
Available Tools
list_calendars
Lists all calendars in your Fastmail account.
Returns: Array of calendar objects with displayName, url, description, and timezone.
list_events
Lists events from a specific calendar within a date range.
Parameters:
calendarUrl(required): The URL of the calendarstartDate(required): Start date in ISO format (e.g., "2024-01-01")endDate(required): End date in ISO format (e.g., "2024-12-31")
Returns: Array of event objects with url, etag, and data (iCalendar format).
create_event
Creates a new calendar event.
Parameters:
calendarUrl(required): The calendar URL where the event will be createdsummary(required): Event titlestartDate(required): Event start date/time in ISO formatendDate(required): Event end date/time in ISO formatdescription(optional): Event descriptionlocation(optional): Event location
Returns: Success message with the created event URL.
update_event
Updates an existing calendar event.
Parameters:
eventUrl(required): The URL of the event to updatesummary(optional): New event titledescription(optional): New event descriptionstartDate(optional): New start date/time in ISO formatendDate(optional): New end date/time in ISO formatlocation(optional): New event location
Returns: Success message.
delete_event
Deletes a calendar event.
Parameters:
eventUrl(required): The URL of the event to deleteetag(required): The etag of the event (obtained fromlist_events)
Returns: Success message.
Example Usage
Once installed, you can ask your AI assistant:
- "List my Fastmail calendars"
- "Show me my calendar events for next week"
- "Create a meeting on December 15th at 2 PM titled 'Team Sync'"
- "Update the 'Team Sync' event to include a Zoom link in the description"
- "Delete the event with URL [event-url]"
Security Notes
- Never commit your Fastmail app password to version control
- Use environment variables or secure secret management
- App passwords are safer than your main Fastmail password
- You can revoke app passwords at any time from Fastmail settings
License
MIT
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.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
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.