Skip to main content
Glama

AISecretary

AISecretary is a collection of MCP servers designed to automate the tasks of a virtual secretary insede the Outlook suite. Each server handles a specific tool, such as:

  • Outlook Mail

  • Outlook Calendar

  • Outlook Contacts

  • Outlook To Do

  • Outlook Mailbox Settings

  • Categories

Features

  • Modular: Each tool runs as an independent server, so you can start only the ones you need.

  • Easy integration: Compatible with OpenWebUI and other platforms supporting MCP.

  • Extensible: Easily add new servers for additional tools or services.

  • Automation: Handles repetitive tasks like checking emails, managing calendars, and more.

Related MCP server: outlook-mcp

Prerequisites

  • uv installed (Python environment and dependency manager).

  • Python 3.11 or higher.

Getting Started

Follow the instructions below to configure and run the server:

Service Setup

To configure the necessary Microsoft Graph API settings, follow this setup guide:


Running the Server

Run the following command to start the server (replace server.py with your actual server file):

If you have Claude Desktop installed:

uv run mcp install server.py

Other option to install your server in Claude Desktop is to edit the configuration file at: C:\Users\YOUR_USER\AppData\Roaming\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "Server_name": {
      "command": "/Your/path/to/uv",
      "args": [
        "run",
        "--with",
        "mcp[cli]",
        "--with",
        "msal",
        "mcp",
        "run",
        "/your/path/to/server.py"
      ]
    },
  }
}

If you want all the MCP servers you can just also run the script claude_setup.py wity uv.

uv run python claude_setup.py

Alternative: Running with OpenWebUI

If you're using platforms like OpenWebUI:

uvx mcpo --port 9000 -- uv run mcp run server.py

Then open OpenWebUI, go to:

Settings > Tools > [+]

Add the following URL:

http://127.0.0.1:9000

You can now interact with AISecretary through the OpenWebUI interface.

Functionalities

These are the available functionalities for each of the MCP servers:

šŸ“§ Email

Email Management

  • Advanced email search

  • Retrieve conversations

  • Mark as read/unread

  • Retrieve full emails with attachments

  • Delete emails

  • Move or copy emails

  • Manage flags

Email Creation and Sending

  • Create or edit drafts

  • Handle attachments

  • Send drafts

  • Reply to emails

  • Forward emails

Folder Organization

  • View folder structure

  • Create or edit folders

  • Delete folders

  • Navigate folder hierarchy

Mail Rules

  • View existing rules

  • Create or edit rules

  • Delete rules


šŸ·ļø Categories

  • View existing categories

  • Create or edit categories

  • Delete categories

  • Assign categories to emails

  • Assign categories to events

  • Use predefined colors


šŸ“… Calendar

Event Management

  • Retrieve events

  • Create events

  • Update events

  • Delete events

  • Retrieve detailed event information

Invitation Handling

  • Accept invitations

  • Decline invitations

  • Respond tentatively

  • Cancel events

Attachment Management

  • Add attachments

  • Remove attachments

Calendar Management

  • List calendars

  • Retrieve specific calendars

  • Create calendars

  • Update calendars

  • Delete calendars

Calendar Group Management

  • List groups

  • Create groups

  • Update groups

  • Delete groups

Availability Lookup

  • Retrieve free/busy schedule


āœ… Task Management

Task List Management

  • Retrieve lists

  • Create lists

  • Delete lists

Task Management

  • Retrieve tasks

  • Retrieve specific task

  • Create tasks

  • Update tasks

  • Delete tasks


šŸ‘„ Contacts

Contact Folder Management

  • Create folders

  • Delete folders

  • Search folders

Contact Management

  • Search contacts

  • Retrieve detailed contact information

  • Create contacts

  • Update contacts

  • Delete contacts


āš™ļø Mailbox Settings

General Settings Management

  • Retrieve settings

  • Update settings

Supported Settings

  • Automatic replies

  • Time zone

  • Working hours

Adding New Servers

To add support for new tools, create a new Python file following the structure of the existing servers and register the functions you want to expose as MCP tools.

More Information

  • Python original sdk: Explains how to use MCP with different models and tools.

  • OpenWebUI: Detailed guide on integrating MCP servers with OpenWebUI.

  • Anthropic: Detailed guide on integrating MCP servers with Claude Desktop.

License

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

Related MCP Connectors

  • Manage Microsoft 365 email, calendar, contacts and inbox rules via the Graph API with OAuth 2.0.

  • Email infrastructure for AI agents — send, receive, search, and reply to email over MCP.

  • Your agent needs a mailbox of its own — to receive, thread, draft and send, with attachments, without borrowing your personal inbox or your company's SMTP. **What you can ask for** • "Create an inbox for this agent and tell me its address." • "Read the new messages in this thread and draft a reply." • "Send this message with the attachment and wait for the response." • "Search this inbox for everything from that domain." • "Show delivery metrics and the events on this inbox." **How to use it** Point any MCP client at https://mcp.aisa.one/mail/mcp and sign in with OAuth — there is no key to create or paste. 49 tools: create and delete inboxes, list and read messages, raw message bodies, attachments, threads, drafts and draft attachments, send and reply, message search, inbox events, metrics, and list entries — reads and writes. **Why this rather than the source** A real inbox an agent owns, rather than an SMTP credential it borrows from a human. **It is also a door to the rest** The same login reaches 26 sources and 580+ operations. Find the contact elsewhere in the catalogue, then write to them from here — without adding a second server. **What it costs** Finding and inspecting an operation is free. Running one is billed per call at API prices, with no seat and no monthly minimum, and every call takes max_price_usd so an agent cannot overspend by accident. **Where else it reaches** https://mcp.aisa.one/sales/mcp finds the person to write to.

  • Outlook Mail (Microsoft 365) MCP Pack

Related MCP Servers

  • F
    license
    C
    quality
    D
    maintenance
    A powerful MCP server that enables AI assistants to interact with Microsoft Graph API for managing Outlook emails, Calendar events, OneDrive files, and Contacts through natural language commands.
    35
    56
    -
  • A
    license
    A
    quality
    B
    maintenance
    MCP server for Microsoft Outlook via Graph API. 20 consolidated tools for email, calendar, contacts, folders, rules, categories, and settings with safety controls (dry-run preview, rate limiting, recipient allowlists) and MCP annotations on every tool.
    8
    22
    922 npm
    36
    MIT
  • A
    license
    B
    quality
    A
    maintenance
    MCP server that provides 62 tools to manage Outlook mail, calendar, contacts, and tasks for personal Microsoft accounts via Microsoft Graph API.
    62
    978 PyPI
    31
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    Remote MCP server for Microsoft Graph with delegated OAuth support, enabling interaction with Microsoft 365 services like mail, calendar, OneDrive, SharePoint, Teams, and more via natural language.
    -