Outlook Email MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| AZURE_CLIENT_ID | Yes | Application (client) ID from Azure App registration | |
| AZURE_TENANT_ID | No | Azure tenant ID: 'common', 'organizations', or specific tenant ID | common |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| auth_loginA | Bắt đầu đăng nhập Microsoft 365 qua Device Code Flow. Tool này trả về URL và mã xác thực — mở URL đó trong trình duyệt, nhập mã, sau đó gọi auth_confirm để hoàn tất. |
| auth_confirmA | Hoàn tất đăng nhập sau khi bạn đã nhập mã xác thực trong trình duyệt. Gọi tool này sau khi đã hoàn thành bước xác thực trên trang Microsoft. |
| auth_statusA | Kiểm tra trạng thái đăng nhập Microsoft 365 hiện tại. |
| auth_logoutA | Đăng xuất — xóa token đã lưu, yêu cầu đăng nhập lại lần sau. |
| list_emailsA | Liệt kê email trong một folder. Args: folder: Tên folder (inbox, drafts, sent, deleted, junk, archive) hoặc tên tùy chỉnh. limit: Số lượng email tối đa (1-50). |
| read_emailA | Đọc nội dung đầy đủ của một email theo ID. Args: message_id: ID của email (lấy từ list_emails hoặc search_emails). mark_as_read: Nếu True, đánh dấu email là đã đọc sau khi xem. |
| search_emailsA | Tìm kiếm email với các điều kiện lọc. Args: query: Từ khóa tìm kiếm tự do (KQL). Ưu tiên hơn các filter khác. folder: Folder để tìm kiếm. from_address: Lọc theo địa chỉ email người gửi. subject: Lọc theo từ khóa trong tiêu đề. unread_only: Chỉ lấy email chưa đọc. has_attachments: Chỉ lấy email có đính kèm. limit: Số kết quả tối đa (1-50). |
| create_draftA | Tạo email nháp mới trong folder Drafts. Args: to: Địa chỉ email người nhận (nhiều địa chỉ cách nhau bằng dấu phẩy). cc: Địa chỉ CC (tùy chọn). bcc: Địa chỉ BCC (tùy chọn). subject: Tiêu đề email. body: Nội dung email (hỗ trợ plain text hoặc HTML). importance: Độ ưu tiên: low, normal, hoặc high. |
| list_draftsB | Liệt kê các email nháp trong folder Drafts. Args: limit: Số lượng nháp tối đa (1-50). |
| update_draftB | Cập nhật nội dung email nháp đang tồn tại. Args: message_id: ID của email nháp cần cập nhật. subject: Tiêu đề mới (bỏ qua nếu không muốn thay đổi). body: Nội dung mới (bỏ qua nếu không muốn thay đổi). to: Người nhận mới (bỏ qua nếu không muốn thay đổi). cc: CC mới (bỏ qua nếu không muốn thay đổi). bcc: BCC mới (bỏ qua nếu không muốn thay đổi). |
| delete_draftA | Xóa vĩnh viễn một email nháp. Args: message_id: ID của email nháp cần xóa. |
| send_draftB | Gửi một email nháp đã có sẵn. Args: message_id: ID của email nháp cần gửi. |
| send_emailA | Soạn và gửi email ngay lập tức (không lưu nháp). Args: to: Địa chỉ email người nhận (nhiều địa chỉ cách nhau bằng dấu phẩy). subject: Tiêu đề email. body: Nội dung email. cc: Địa chỉ CC (tùy chọn). bcc: Địa chỉ BCC (tùy chọn). is_html: True nếu body là HTML, False nếu là plain text. importance: Độ ưu tiên: low, normal, hoặc high. |
| mark_email_as_readA | Đánh dấu email là đã đọc hoặc chưa đọc. Args: message_id: ID của email. is_read: True để đánh dấu đã đọc, False để đánh dấu chưa đọc. |
| list_attachmentsA | Liệt kê tất cả file đính kèm của một email. Args: message_id: ID của email (lấy từ list_emails hoặc search_emails). |
| read_attachmentA | Đọc và trả về nội dung file đính kèm trong email. Hỗ trợ: txt, csv, json, html, xml, md (text), xlsx (Excel), pdf (PDF), docx (Word). Ảnh và định dạng khác trả về thông báo. Args: message_id: ID của email chứa file đính kèm. attachment_id: ID của file đính kèm (lấy từ list_attachments). |
| read_sharepoint_excelB | Đọc nội dung file Excel (.xlsx) từ SharePoint Online. Args: sharepoint_url: URL đầy đủ tới file Excel trên SharePoint. Ví dụ: https://company.sharepoint.com/sites/MySite/Shared Documents/data.xlsx sheet_name: Tên sheet cần đọc. Mặc định đọc sheet đầu tiên. max_rows: Số dòng tối đa trả về (mặc định 100, không tính header). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/nhatho0001/M365-MCP-Server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server