Labsco
wmoto-ai logo

MCP Outlook Tools

โ˜… 13

from wmoto-ai

Interact with Microsoft Outlook for calendar management, email operations, and search functionality.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeAdvanced setup

MCP Outlook Tools

A Model Context Protocol (MCP) server implementation that enables AI assistants to interact with Microsoft Outlook for calendar management, email operations, and search functionality.

Features

  • ๐Ÿ“… Calendar Management

    • Get calendar items within a date range
    • Add new appointments with full details
    • Support for categories and busy status
  • ๐Ÿ“ง Email Operations

    • Send emails with To/CC recipients
    • Display confirmation before sending
    • Full body formatting support
  • ๐Ÿ” Email Search

    • Search emails by date and keyword
    • Extract user information from addresses
    • Japanese text encoding support

Project Structure

Copy & paste โ€” that's it
mcp-outlook-tools/
โ”œโ”€โ”€ src/
โ”‚   โ””โ”€โ”€ outlook_tools/
โ”‚       โ”œโ”€โ”€ __init__.py
โ”‚       โ”œโ”€โ”€ server.py           # MCP server implementation
โ”‚       โ”œโ”€โ”€ calendar_service.py # Calendar operations
โ”‚       โ””โ”€โ”€ search_service.py   # Email search operations
โ”œโ”€โ”€ test/                       # Test files
โ”œโ”€โ”€ pyproject.toml             # Project configuration
โ””โ”€โ”€ README.md                  # This file

Development

Running Tests

Copy & paste โ€” that's it
pytest test/

Type Checking

Copy & paste โ€” that's it
pyright src/

Linting

Copy & paste โ€” that's it
ruff check src/

Security Notes

  • This tool requires access to your local Outlook installation
  • Emails are displayed before sending for user confirmation
  • No credentials are stored in the code
  • All operations use Windows COM interface with existing Outlook authentication

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

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

Acknowledgments

  • Built with FastMCP framework
  • Uses pywin32 for Outlook COM interface