Skip to main content

MCP server for cross-organisation meeting scheduling via Google and Microsoft calendars

Project description

meeting-scheduler-mcp

An MCP server that schedules meetings across organisations by querying free/busy calendars from Google and Microsoft accounts — without exposing anyone's calendar data to the other party.

Works with Claude Desktop, Cursor, and any MCP-compatible client.


How it works

You configure one primary account (the calendar where events are created and invites sent) and one or more shadow accounts (read-only access to query free/busy within another org's tenant).

Claude uses the MCP tools to:

  1. Find slots where everyone is free
  2. Book the meeting from your primary calendar
  3. Reschedule or cancel if plans change

Prerequisites

Google account

  1. Go to Google Cloud Console → APIs & Services → Credentials
  2. Create a project (or use an existing one)
  3. Enable the Google Calendar API
  4. Create an OAuth client ID — application type: Desktop app
  5. Download the client ID and client secret

Microsoft / Outlook account

  1. Go to Azure Portal → App registrations
  2. Register a new application — supported account types: Accounts in any organizational directory and personal Microsoft accounts
  3. Under Authentication, add a Mobile and desktop application redirect URI: http://localhost
  4. Note the Application (client) ID — no client secret needed for delegated auth

Installation

Recommended — zero install via uvx

uvx meeting-scheduler-mcp setup

This runs the setup wizard without permanently installing anything. Once configured, Claude Desktop launches the server automatically using the same uvx command.

Alternative — pip

pip install meeting-scheduler-mcp
meeting-scheduler setup

Setup wizard

Run the wizard once to configure your accounts and authorise them:

$ uvx meeting-scheduler-mcp setup

Meeting Scheduler — Setup Wizard
==================================================

This wizard will:
  1. Collect your calendar account details
  2. Write ~/.config/meeting-scheduler/config.toml
  3. Open a browser to authorise each account

The wizard asks for each account's email, provider (google/microsoft), and OAuth credentials, then opens a browser window for each one.

After setup, re-authorise a single account at any time:

uvx meeting-scheduler-mcp auth you@company.com

Check that all accounts are connected:

uvx meeting-scheduler-mcp status

Claude Desktop configuration

Add this to your Claude Desktop MCP config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows):

{
  "mcpServers": {
    "meeting-scheduler": {
      "command": "uvx",
      "args": ["meeting-scheduler-mcp"]
    }
  }
}

Restart Claude Desktop. You should see the meeting-scheduler tools available.


Configuration file

The wizard writes ~/.config/meeting-scheduler/config.toml. You can also edit it directly:

[[accounts]]
org           = "Acme Corp"
email         = "you@acme.com"
provider      = "google"
is_primary    = true
client_id     = "YOUR_GOOGLE_CLIENT_ID.apps.googleusercontent.com"
client_secret = "YOUR_GOOGLE_CLIENT_SECRET"

[[accounts]]
org        = "Partner Inc"
email      = "you@partner.com"
provider   = "microsoft"
is_primary = false
client_id  = "YOUR_AZURE_APP_CLIENT_ID"

[rules]
default_duration_minutes      = 30
buffer_before_minutes         = 0
buffer_after_minutes          = 15
default_working_hours_start   = "09:00"
default_working_hours_end     = "17:00"
working_days                  = ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"]
advance_notice_hours          = 24
max_days_ahead                = 30
slot_limit                    = 10

Set MEETING_SCHEDULER_CONFIG to use a different path:

export MEETING_SCHEDULER_CONFIG=/path/to/my-config.toml

Available MCP tools

Tool Description
find_available_slots Find free slots for all participants within a time window
book_meeting Create a calendar event and send invites
reschedule_meeting Move an existing event to a new time
cancel_meeting Delete an event
list_accounts Show configured accounts and connection status
health_check Verify all accounts can authenticate

Token security

Credentials are stored locally and never sent anywhere except the respective calendar provider:

  • Google — refresh token is AES-256-GCM encrypted; the encryption key lives in an ACL-locked macOS Keychain item (or DPAPI-protected blob on Windows) that only this process can read
  • Microsoft — token cache managed by msal-extensions, stored in macOS Keychain (ACL-locked) or a DPAPI-encrypted file on Windows

Development

git clone https://github.com/shathish/meeting-scheduler-mcp
cd meeting-scheduler-mcp
pip install -e ".[dev]"
pytest tests/

To run the server locally against Claude Desktop, point the config at the repo:

{
  "mcpServers": {
    "meeting-scheduler": {
      "command": "python3",
      "args": ["/path/to/meeting-scheduler-mcp/mcp_server.py"]
    }
  }
}

License

MIT — see LICENSE

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

meeting_scheduler_mcp-1.0.4.tar.gz (53.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

meeting_scheduler_mcp-1.0.4-py3-none-any.whl (41.3 kB view details)

Uploaded Python 3

File details

Details for the file meeting_scheduler_mcp-1.0.4.tar.gz.

File metadata

  • Download URL: meeting_scheduler_mcp-1.0.4.tar.gz
  • Upload date:
  • Size: 53.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for meeting_scheduler_mcp-1.0.4.tar.gz
Algorithm Hash digest
SHA256 a95561a8ae9acdc8587d408245da0075895b7944027fe454148af0a9e69c1857
MD5 95e9c5555f4dae5572426f6457172c2f
BLAKE2b-256 184abacd1c65c4986f393fda92d5fbb6d893de4307f37c4da6ca2158a186ea3f

See more details on using hashes here.

File details

Details for the file meeting_scheduler_mcp-1.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for meeting_scheduler_mcp-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 bfb607fbfecb487fd07aab69b527f5feb9f168920615798457d646f53dc3706c
MD5 d9646750725a03ffb0a400f343a458a8
BLAKE2b-256 1122c122130446afa050652dc9b2a0ba539923f2ff059ecd2a6f292339a0ea68

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page