Microsoft Graph MCP Server for Cloudflare Workers
Test Microsoft 365 tools directly in your browser. Select a tool and provide inputs to see the results.
Create a free account to test Microsoft 365 tools interactively. No credit card required.
microsoft_list_my_planner_tasksList all Planner tasks assigned to me.
microsoft_list_planner_plansList Planner plans for a group. Args: - groupId: Group/Team ID
microsoft_get_planner_planGet a Planner plan. Args: - planId: Plan ID
microsoft_move_messageMove a message to a different folder. Args: - messageId: Message ID - destinationFolderId: Destination folder ID
microsoft_delete_messageDelete an email message. Args: - messageId: Message ID to delete
microsoft_get_meGet the current user's profile information. Returns the authenticated user's profile including name, email, job title, and other details.
microsoft_get_userGet a user's profile by ID or UPN. Args: - userId: User ID or userPrincipalName (email)
microsoft_list_usersList users in the organization. Args: - top: Number of users to return (max 999) - filter: OData filter expression - select: Comma-separated list of properties to return
microsoft_get_managerGet a user's manager. Args: - userId: User ID (optional, defaults to current user)
microsoft_list_direct_reportsList a user's direct reports. Args: - userId: User ID (optional, defaults to current user)
microsoft_list_mail_foldersList mail folders (Inbox, Sent, Drafts, etc.).
microsoft_list_messagesList email messages, optionally filtered by folder. Args: - folderId: Mail folder ID (optional, defaults to all messages) - top: Number of messages to return - filter: OData filter expression - orderby: OData orderby expression
microsoft_get_messageGet a specific email message by ID. Args: - messageId: Message ID
microsoft_send_mailSend an email message. Args: - to: Array of recipient email addresses - subject: Email subject - body: Email body content - cc: Array of CC recipients (optional) - bcc: Array of BCC recipients (optional) - importance: Message importance (low, normal, high) - bodyType: Body content type (text, html) - saveToSentItems: Whether to save to Sent Items
microsoft_reply_to_messageReply to an email message. Args: - messageId: Message ID to reply to - comment: Reply text - replyAll: Whether to reply all (default: false)
microsoft_forward_messageForward an email message. Args: - messageId: Message ID to forward - to: Array of recipient email addresses - comment: Optional comment to include
microsoft_update_messageUpdate message properties (mark as read, add categories). Args: - messageId: Message ID - isRead: Mark as read/unread - categories: Categories to assign
microsoft_list_attachmentsList attachments for a message. Args: - messageId: Message ID
microsoft_create_mail_folderCreate a new mail folder. Args: - displayName: Folder name - parentFolderId: Parent folder ID (optional)
microsoft_list_calendarsList user's calendars.
microsoft_list_eventsList calendar events. Args: - calendarId: Calendar ID (optional, defaults to primary calendar) - startDateTime: Start of date range (ISO 8601) - endDateTime: End of date range (ISO 8601) - top: Number of events to return
microsoft_get_eventGet a specific calendar event. Args: - eventId: Event ID
microsoft_create_eventCreate a calendar event. Args: - subject: Event subject - startDateTime: Start date/time (ISO 8601) - startTimeZone: Start time zone - endDateTime: End date/time (ISO 8601) - endTimeZone: End time zone - attendees: Array of attendee emails - location: Event location - body: Event description - isOnlineMeeting: Create as Teams meeting
microsoft_update_eventUpdate a calendar event. Args: - eventId: Event ID - subject: New subject - startDateTime/startTimeZone: New start - endDateTime/endTimeZone: New end - location: New location - body: New description
microsoft_delete_eventDelete a calendar event. Args: - eventId: Event ID
microsoft_respond_to_eventRespond to a calendar event invitation. Args: - eventId: Event ID - response: accept, tentativelyAccept, or decline - comment: Optional comment
microsoft_get_schedule_availabilityGet free/busy availability for users. Args: - schedules: Array of email addresses to check - startTime: Start of time range (ISO 8601) - endTime: End of time range (ISO 8601) - timeZone: Time zone
microsoft_get_my_driveGet the current user's OneDrive information.
microsoft_list_drive_itemsList files and folders in OneDrive. Args: - driveId: Drive ID (optional, defaults to user's drive) - folderId: Folder ID (optional, defaults to root) - top: Number of items to return
microsoft_delete_pageDelete a OneNote page. Args: - pageId: Page ID
microsoft_get_drive_itemGet a file or folder by ID. Args: - itemId: Item ID - driveId: Drive ID (optional)
microsoft_get_drive_item_by_pathGet a file or folder by path. Args: - path: Path relative to root (e.g., "Documents/report.docx") - driveId: Drive ID (optional)
microsoft_search_driveSearch for files in OneDrive. Args: - query: Search query - driveId: Drive ID (optional)
microsoft_create_folderCreate a folder in OneDrive. Args: - name: Folder name - parentId: Parent folder ID (optional, defaults to root) - driveId: Drive ID (optional)
microsoft_upload_fileUpload a file to OneDrive (max 4MB for simple upload). Args: - filename: File name - content: File content (text) - parentId: Parent folder ID (optional) - driveId: Drive ID (optional)
microsoft_download_fileDownload a file's content. Args: - itemId: Item ID - driveId: Drive ID (optional)
microsoft_delete_drive_itemDelete a file or folder. Args: - itemId: Item ID - driveId: Drive ID (optional)
microsoft_copy_drive_itemCopy a file or folder. Args: - itemId: Item ID to copy - destinationParentId: Destination folder ID - newName: New name (optional) - driveId: Drive ID (optional)
microsoft_move_drive_itemMove a file or folder. Args: - itemId: Item ID to move - destinationParentId: Destination folder ID - newName: New name (optional) - driveId: Drive ID (optional)
microsoft_create_share_linkCreate a sharing link for a file or folder. Args: - itemId: Item ID - type: Link type (view or edit) - scope: Link scope (anonymous or organization) - driveId: Drive ID (optional)
microsoft_list_permissionsList sharing permissions for a file or folder. Args: - itemId: Item ID - driveId: Drive ID (optional)
microsoft_list_joined_teamsList teams the current user has joined.
microsoft_get_teamGet team details. Args: - teamId: Team ID
microsoft_list_channelsList channels in a team. Args: - teamId: Team ID
microsoft_list_channel_messagesList messages in a channel. Args: - teamId: Team ID - channelId: Channel ID - top: Number of messages to return
microsoft_send_channel_messageSend a message to a channel. Args: - teamId: Team ID - channelId: Channel ID - content: Message content - contentType: Content type (text or html)
microsoft_reply_to_channel_messageReply to a channel message. Args: - teamId: Team ID - channelId: Channel ID - messageId: Message ID to reply to - content: Reply content - contentType: Content type
microsoft_list_chatsList user's chats.
microsoft_list_chat_messagesList messages in a chat. Args: - chatId: Chat ID - top: Number of messages to return
microsoft_send_chat_messageSend a message in a chat. Args: - chatId: Chat ID - content: Message content - contentType: Content type
microsoft_create_online_meetingCreate a Teams online meeting. Args: - subject: Meeting subject - startDateTime: Start date/time (ISO 8601) - endDateTime: End date/time (ISO 8601) - attendees: Array of attendee emails
microsoft_list_contactsList Outlook contacts.
microsoft_get_contactGet a contact by ID. Args: - contactId: Contact ID
microsoft_create_contactCreate a new Outlook contact. Args: - givenName: First name - surname: Last name - emailAddress: Email address - businessPhone: Business phone - mobilePhone: Mobile phone - companyName: Company name - jobTitle: Job title
microsoft_update_contactUpdate a contact. Args: - contactId: Contact ID - givenName, surname, etc.: Fields to update
microsoft_delete_contactDelete a contact. Args: - contactId: Contact ID
microsoft_list_contact_foldersList contact folders.
microsoft_list_task_listsList To Do task lists.
microsoft_create_task_listCreate a new task list. Args: - displayName: List name
microsoft_delete_task_listDelete a task list. Args: - listId: List ID
microsoft_list_tasksList tasks in a task list. Args: - listId: Task list ID - top: Number of tasks to return
microsoft_get_taskGet a task by ID. Args: - listId: Task list ID - taskId: Task ID
microsoft_create_taskCreate a new task. Args: - listId: Task list ID - title: Task title - body: Task body/notes - importance: low, normal, high - dueDateTime: Due date (ISO 8601) - dueTimeZone: Time zone
microsoft_update_taskUpdate a task. Args: - listId: Task list ID - taskId: Task ID - title, body, importance, status, dueDateTime: Fields to update
microsoft_delete_taskDelete a task. Args: - listId: Task list ID - taskId: Task ID
microsoft_list_checklist_itemsList checklist items for a task. Args: - listId: Task list ID - taskId: Task ID
microsoft_create_checklist_itemCreate a checklist item. Args: - listId: Task list ID - taskId: Task ID - displayName: Item name
microsoft_update_checklist_itemUpdate a checklist item. Args: - listId: Task list ID - taskId: Task ID - itemId: Checklist item ID - displayName: New name - isChecked: Checked state
microsoft_list_planner_tasksList tasks in a Planner plan. Args: - planId: Plan ID
microsoft_get_planner_taskGet a Planner task. Args: - taskId: Task ID
microsoft_create_planner_taskCreate a Planner task. Args: - planId: Plan ID - title: Task title - bucketId: Bucket ID (optional) - dueDateTime: Due date (ISO 8601, optional)
microsoft_update_planner_taskUpdate a Planner task. Args: - taskId: Task ID - etag: ETag for concurrency (from task's @odata.etag) - title, percentComplete, dueDateTime, bucketId: Fields to update
microsoft_delete_planner_taskDelete a Planner task. Args: - taskId: Task ID - etag: ETag for concurrency
microsoft_list_planner_bucketsList buckets in a plan. Args: - planId: Plan ID
microsoft_create_planner_bucketCreate a bucket in a plan. Args: - planId: Plan ID - name: Bucket name
microsoft_get_planner_task_detailsGet task details including description and checklist. Args: - taskId: Task ID
microsoft_get_root_siteGet the organization's root SharePoint site.
microsoft_get_siteGet a SharePoint site by ID. Args: - siteId: Site ID or path (e.g., "contoso.sharepoint.com:/sites/team")
microsoft_search_sitesSearch for SharePoint sites. Args: - query: Search query
microsoft_list_site_listsList SharePoint lists in a site. Args: - siteId: Site ID
microsoft_get_listGet a SharePoint list. Args: - siteId: Site ID - listId: List ID
microsoft_list_list_itemsList items in a SharePoint list. Args: - siteId: Site ID - listId: List ID - top: Number of items to return
microsoft_get_list_itemGet a SharePoint list item. Args: - siteId: Site ID - listId: List ID - itemId: Item ID
microsoft_create_list_itemCreate a SharePoint list item. Args: - siteId: Site ID - listId: List ID - fields: JSON object with field values
microsoft_update_list_itemUpdate a SharePoint list item. Args: - siteId: Site ID - listId: List ID - itemId: Item ID - fields: JSON object with field values to update
microsoft_delete_list_itemDelete a SharePoint list item. Args: - siteId: Site ID - listId: List ID - itemId: Item ID
microsoft_get_site_driveGet the document library drive for a site. Args: - siteId: Site ID
microsoft_list_notebooksList OneNote notebooks.
microsoft_get_notebookGet a OneNote notebook. Args: - notebookId: Notebook ID
microsoft_create_notebookCreate a OneNote notebook. Args: - displayName: Notebook name
microsoft_list_sectionsList sections in a notebook. Args: - notebookId: Notebook ID
microsoft_get_sectionGet a OneNote section. Args: - sectionId: Section ID
microsoft_create_sectionCreate a section in a notebook. Args: - notebookId: Notebook ID - displayName: Section name
microsoft_list_section_groupsList section groups in a notebook. Args: - notebookId: Notebook ID
microsoft_list_pagesList pages in a section. Args: - sectionId: Section ID - top: Number of pages to return
microsoft_get_pageGet a OneNote page metadata. Args: - pageId: Page ID
microsoft_get_page_contentGet the HTML content of a OneNote page. Args: - pageId: Page ID
microsoft_create_pageCreate a OneNote page. Args: - sectionId: Section ID - title: Page title - htmlContent: HTML content for the page body
microsoft_list_my_planner_tasks{
"format": "example_format"
}microsoft_list_planner_plans{
"format": "example_format",
"groupId": "example_groupId"
}microsoft_get_planner_plan{
"format": "example_format",
"planId": "example_planId"
}