AISecretary

AISecretary

A modular collection of MCP servers for automating virtual secretary tasks within Microsoft Outlook, including email management, calendar operations, contacts, tasks, and mailbox settings through Microsoft Graph API.

Category
Visit Server

README

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.

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):

Recommended: Using Claude Desktop

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.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured