Skip to main content

Model Context Protocol (MCP) server for automated Outlook Calendar meeting scheduling

Project description

Swapnil MCP Server

PyPI version Python Versions License: MIT

A Model Context Protocol (MCP) server that provides automated Outlook Calendar scheduling.

Features

  • Create and schedule meetings in Microsoft Outlook calendar
  • Set custom meeting properties (subject, location, body)
  • Configure reminder settings and busy status
  • Simple API accessible through MCP clients
  • Retrieve meeting details
  • Cancel scheduled meetings

Installation

pip install swapnil-mcp-server

Requirements

  • Python 3.9 or higher
  • Windows OS (requires Microsoft Outlook and optionally Microsoft Teams)
  • pywin32 package
  • mcp package version 1.2.0 or higher

Usage

Starting the Server

# Run as a command
swapnil-mcp-server

# Or import in your Python code
from mcp_tools.server import mcp
mcp.run()

Using with MCP Clients

This package implements the Model Context Protocol (MCP), allowing AI assistants and other MCP-compatible clients to interact with your Outlook calendar.

Example of how an MCP client might use this tool:

from mcp.client import Client

client = Client()
result = await client.Set_Meeting(
    subject="Team Meeting",
    start_date="2023-10-01T10:00:00",
    end_date="2023-10-01T11:00:00"
)
print(result)  # Meeting with subject 'Team Meeting' set from 2023-10-01T10:00:00 to 2023-10-01T11:00:00.

API Reference

Set_Meeting

Creates and schedules a meeting in Microsoft Outlook.

Parameters:

  • subject (string, required): Meeting subject
  • start_date (string, required): Start date and time in ISO format (e.g., "2023-10-01T10:00:00")
  • end_date (string, required): End date and time in ISO format (e.g., "2023-10-01T11:00:00")

Returns:

  • A confirmation message with the meeting details

get_weather

Retrieves current weather information for a specified city using OpenWeatherMap.

Parameters:

  • city (string, required): Name of the city (any global city)

Returns:

  • Dictionary with location, temperature, humidity, wind, description, and timestamp

Available Tools

Tool Description
Set_Meeting Create and schedule meetings in Outlook
get_weather Get weather information for a city

Development

Project Structure

swapnil-mcp-server/
├── src/
│   └── mcp_tools/
│       ├── __init__.py
│       ├── __main__.py
│       └── server.py
├── LICENSE
├── README.md
└── pyproject.toml

Building and Publishing

python -m build
python -m twine upload dist/*

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

Links

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

swapnil_mcp_server-6.2.1.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

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

swapnil_mcp_server-6.2.1-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file swapnil_mcp_server-6.2.1.tar.gz.

File metadata

  • Download URL: swapnil_mcp_server-6.2.1.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for swapnil_mcp_server-6.2.1.tar.gz
Algorithm Hash digest
SHA256 ee51bd872fc4c5300d7589a60f104b8f561e146a6621f34239219d5c4bdcbcd4
MD5 23342451b752987eae6a183d74aaf15f
BLAKE2b-256 281c3c0dfe2f057c734639354e05b6a236e57e5ac1459fe2838c1d3196d2197e

See more details on using hashes here.

File details

Details for the file swapnil_mcp_server-6.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for swapnil_mcp_server-6.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 95e5f6f3e0fc8e162425ef165776ef485e645b80ea7acf010fa4dd0a3cbe6ade
MD5 951dbf38cdb48db15a0ed4d6ef01e595
BLAKE2b-256 3ba11487606cb5bf87da9aab670c17c64610a0195a87b614aa148c14f55b7c19

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