Skip to main content
Glama

Microsoft MCP

by elyxlz

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
list_accounts

List all signed-in Microsoft accounts

authenticate_account

Authenticate a new Microsoft account using device flow authentication

Returns authentication instructions and device code for the user to complete authentication. The user must visit the URL and enter the code to authenticate their Microsoft account.
complete_authentication

Complete the authentication process after the user has entered the device code

Args: flow_cache: The flow data returned from authenticate_account (the _flow_cache field) Returns: Account information if authentication was successful
list_emails

List emails from specified folder

get_email

Get email details with size limits

Args: email_id: The email ID account_id: The account ID include_body: Whether to include the email body (default: True) body_max_length: Maximum characters for body content (default: 50000) include_attachments: Whether to include attachment metadata (default: True)
create_email_draft

Create an email draft with file path(s) as attachments

send_email

Send an email immediately with file path(s) as attachments

update_email

Update email properties (isRead, categories, flag, etc.)

delete_email

Delete an email

move_email

Move email to another folder

reply_to_email

Reply to an email (sender only)

reply_all_email

Reply to all recipients of an email

list_events

List calendar events within specified date range, including recurring event instances

get_event

Get full event details

create_event

Create a calendar event

update_event

Update event properties

delete_event

Delete or cancel a calendar event

respond_event

Respond to event invitation (accept, decline, tentativelyAccept)

check_availability

Check calendar availability for scheduling

list_contacts

List contacts

get_contact

Get contact details

create_contact

Create a new contact

update_contact

Update contact information

delete_contact

Delete a contact

list_files

List files and folders in OneDrive

get_file

Download a file from OneDrive to local path

create_file

Upload a local file to OneDrive

update_file

Update OneDrive file content from a local file

delete_file

Delete a file or folder

get_attachment

Download email attachment to a specified file path

search_files

Search for files in OneDrive using the modern search API.

search_emails

Search emails using the modern search API.

search_events

Search calendar events using the modern search API.

search_contacts

Search contacts. Uses traditional search since unified_search doesn't support contacts.

unified_search

Search across multiple Microsoft 365 resources using the modern search API

entity_types can include: 'message', 'event', 'drive', 'driveItem', 'list', 'listItem', 'site' If not specified, searches across all available types.

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/elyxlz/microsoft-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server