ms-365-mcp-server logo

ms-365-mcp-server

by softeria

The Microsoft 365 MCP Server is a Model Context Protocol (MCP) server designed to facilitate interactions with Microsoft 365 services via the Graph API. It enables users to perform various tasks, such as managing Excel files, calendars, and emails, through a standardized interface.

View on GitHub

Last updated: N/A

What is ms-365-mcp-server?

The ms-365-mcp-server is a Model Context Protocol (MCP) server that acts as a bridge between applications and Microsoft 365 services. It leverages the Microsoft Graph API to provide a set of tools for interacting with data and services within the Microsoft 365 ecosystem.

How to use ms-365-mcp-server?

To use the server, you typically install it using npx @softeria/ms-365-mcp-server. Authentication is required before using the MCP server, which can be done via the --login flag or through MCP client login tools. Once authenticated, you can use the provided MCP tools to interact with Microsoft 365 services like Excel, Calendar, and Mail.

Key features of ms-365-mcp-server

  • Authentication using Microsoft Authentication Library (MSAL)

  • Excel file operations (update, create, format, sort, read)

  • Calendar management (list, create, update, delete events)

  • Email management (list, get messages)

  • Built on the Model Context Protocol

Use cases of ms-365-mcp-server

  • Automating Excel tasks like updating cell values and creating charts

  • Managing calendar events, including creating, updating, and deleting events

  • Retrieving and managing emails from Outlook

  • Integrating Microsoft 365 services with other applications using the MCP protocol

FAQ from ms-365-mcp-server

How do I authenticate with the server?

You can authenticate by running the server with the --login flag or by using the login tools provided by MCP clients like Claude Code.

What Excel operations are supported?

The server supports updating cell values, creating and managing charts, formatting cells, sorting data, creating tables, reading cell values, and listing worksheets.

How can I list files in OneDrive?

Use the list-files MCP tool to list files and folders in a specified path in OneDrive.

How do I find available meeting times for a set of attendees?

Use the find-meeting-times calendar tool to find available meeting times.

Where are authentication tokens stored?

Authentication tokens are cached securely in your system's credential store, with fallback to file storage if needed.