This guide provides step-by-step instructions for installing and configuring the Calendar & Email MCP Server on your system.
- Prerequisites
- Installation Methods
- Configuration
- MCP Client Configuration
- Verification
- Troubleshooting
- No .NET SDK or runtime required (binaries are self-contained)
- Supported Operating Systems:
- Windows: Windows 10 or later (x64)
- Linux: Most modern distributions (x64)
- macOS: macOS 10.15 or later (x64 or ARM64/Apple Silicon)
- .NET 9.0 SDK or later
- Git (for cloning the repository)
This is the easiest method and does not require installing .NET on your system.
Step 1: Download Installer
- Go to the Releases page on GitHub
- Download
calendar-mcp-setup-win-x64.exe
Step 2: Run Installer
- Double-click the downloaded
.exefile - If Windows shows a security warning:
- Click "More info"
- Click "Run anyway"
- Follow the installation wizard:
- Accept the license agreement
- Choose installation directory (default:
C:\Program Files\Calendar MCP) - Choose whether to add to PATH (recommended)
- Click "Install"
- Wait for installation to complete
- Click "Finish"
What the installer does:
- ✅ Extracts all necessary files
- ✅ Creates Start Menu shortcuts
- ✅ Optionally adds to system PATH
- ✅ No .NET runtime required
- ✅ Creates an uninstaller
Verify Installation:
# Open a new Command Prompt or PowerShell window
CalendarMcp.Cli --version
# If not in PATH, use full path:
"C:\Program Files\Calendar MCP\CalendarMcp.Cli.exe" --version- Go to the Releases page on GitHub
- Download the appropriate archive for your platform:
- Windows:
calendar-mcp-win-x64.zip - Linux:
calendar-mcp-linux-x64.tar.gz - macOS (Intel):
calendar-mcp-osx-x64.tar.gz - macOS (Apple Silicon):
calendar-mcp-osx-arm64.tar.gz
- Windows:
Windows:
- Right-click the downloaded
.zipfile - Select "Extract All..."
- Choose a destination folder (e.g.,
C:\Program Files\CalendarMcp) - Click "Extract"
Linux/macOS:
# For Linux
tar -xzf calendar-mcp-linux-x64.tar.gz -C ~/calendar-mcp
# For macOS (Intel)
tar -xzf calendar-mcp-osx-x64.tar.gz -C ~/calendar-mcp
# For macOS (Apple Silicon)
tar -xzf calendar-mcp-osx-arm64.tar.gz -C ~/calendar-mcpThis allows you to run the CLI tool from any directory.
Windows:
- Open "System Properties" → "Advanced" → "Environment Variables"
- Under "User variables" or "System variables", find "Path"
- Click "Edit" → "New"
- Add the path to your extracted folder (e.g.,
C:\Program Files\CalendarMcp) - Click "OK" on all dialogs
- Restart your terminal/command prompt for changes to take effect
Linux/macOS:
Add the following line to your shell configuration file (~/.bashrc, ~/.zshrc, etc.):
export PATH="$HOME/calendar-mcp:$PATH"Then reload your shell configuration:
source ~/.bashrc # or source ~/.zshrc
Then reload your shell configuration:
```bash
source ~/.bashrc # or source ~/.zshrc
If you prefer to build from source or need the latest development version:
git clone https://github.com/MarimerLLC/calendar-mcp.git
cd calendar-mcp# Build in release mode
dotnet build src/calendar-mcp.slnx --configuration Release
# Or publish as self-contained for your platform
# Windows
dotnet publish src/CalendarMcp.Cli/CalendarMcp.Cli.csproj \
--configuration Release \
--runtime win-x64 \
--self-contained true \
--output ./publish/win-x64/cli
dotnet publish src/CalendarMcp.StdioServer/CalendarMcp.StdioServer.csproj \
--configuration Release \
--runtime win-x64 \
--self-contained true \
--output ./publish/win-x64/serverAfter installation, you need to configure your email and calendar accounts.
See the detailed M365 Setup Guide for:
- Creating Azure AD app registrations
- Configuring authentication
- Adding accounts with the CLI tool
- Multi-tenant considerations
Quick Start:
# Run the CLI tool to add a Microsoft 365 account
CalendarMcp.Cli add-m365-account
# Or if not in PATH:
./CalendarMcp.Cli add-m365-account # Linux/macOS
.\CalendarMcp.Cli.exe add-m365-account # WindowsSee the detailed Google Setup Guide for:
- Creating Google Cloud Console project
- Enabling Gmail and Calendar APIs
- Configuring OAuth client
- Adding accounts with the CLI tool
Quick Start:
# Run the CLI tool to add a Google account
CalendarMcp.Cli add-google-account
# Or if not in PATH:
./CalendarMcp.Cli add-google-account # Linux/macOS
.\CalendarMcp.Cli.exe add-google-account # WindowsOnce you've installed the binaries and configured your accounts, you need to set up your MCP client to use the server.
See the detailed Claude Desktop Setup Guide for:
- Locating the MCP configuration file
- Adding Calendar MCP server configuration
- Testing the connection
- Troubleshooting
Quick Configuration:
-
Locate your Claude Desktop MCP configuration file:
- Windows:
%APPDATA%\Claude\claude_desktop_config.json - macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Linux:
~/.config/claude/claude_desktop_config.json
- Windows:
-
Add the Calendar MCP server configuration:
{
"mcpServers": {
"calendar-mcp": {
"command": "C:\\Program Files\\CalendarMcp\\CalendarMcp.StdioServer.exe",
"args": [],
"env": {}
}
}
}Note: Adjust the path to match your installation location. On Linux/macOS, use forward slashes:
{
"mcpServers": {
"calendar-mcp": {
"command": "/home/username/calendar-mcp/CalendarMcp.StdioServer",
"args": [],
"env": {}
}
}
}- Restart Claude Desktop
VS Code support for MCP servers is still emerging. As of now:
- Install the MCP extension (if available)
- Configure the MCP server in VS Code settings
- Reference the path to
CalendarMcp.StdioServerexecutable
Note: MCP support in VS Code is limited. Check the VS Code MCP documentation for the latest information.
Any MCP-compatible client can use this server. The key configuration elements are:
- Command: Path to the
CalendarMcp.StdioServerexecutable - Protocol: stdio (standard input/output)
- Environment: Optional environment variables
Refer to your MCP client's documentation for specific configuration instructions.
# List configured accounts
CalendarMcp.Cli list-accounts
# Test a specific account
CalendarMcp.Cli test-account <account-id>- Start your MCP client (e.g., Claude Desktop)
- Try a command like: "List my unread emails"
- The server should respond with emails from your configured accounts
If you encounter issues, see the Troubleshooting section below.
Windows:
- If you get a "Windows protected your PC" warning, click "More info" and "Run anyway"
- Ensure you've extracted all files (don't run from inside the zip file)
Linux/macOS:
- Ensure the binaries are executable:
chmod +x CalendarMcp.Cli CalendarMcp.StdioServer - On macOS, you may need to allow the app in System Preferences → Security & Privacy
- Verify the installation path is correct
- Ensure the PATH environment variable is set correctly
- Try using the full path to the executable
- Verify the path in your MCP client configuration is correct
- Check that accounts are configured:
CalendarMcp.Cli list-accounts - Look for error logs in the MCP client
- Re-run the account setup:
CalendarMcp.Cli add-m365-accountoradd-google-account - Check Azure AD / Google Cloud Console for proper app configuration
- Verify required permissions/scopes are granted
Linux/macOS:
chmod +x CalendarMcp.Cli
chmod +x CalendarMcp.StdioServer- Use double backslashes in JSON:
C:\\Program Files\\CalendarMcp\\... - Or use forward slashes:
C:/Program Files/CalendarMcp/... - Ensure no trailing spaces in the path
After successful installation:
- Configure Accounts: Follow the M365 Setup Guide and Google Setup Guide
- Test the Server: Use Claude Desktop to interact with your emails and calendar
- Explore Features: See the README for available commands and use cases
- Join the Community: Report issues and contribute on GitHub
- Issues: GitHub Issues
- Documentation: docs/
- License: MIT - see LICENSE