# Microsoft Agent MCP server

> Enables an AI client to interact with Microsoft 365 services including Outlook, Teams, OneDrive, SharePoint, and Entra ID.

- Repository: https://github.com/Knuckles-Team/microsoft-agent
- Page: https://hostedmcp.org/servers/knuckles-team/microsoft-agent
- Transport: —
- Stars: 0
- License: MIT

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `EMPLOYEE_EXPERIENCETOOL` | no | no |  |
| `MCP_TOOL_MODE` | no | no |  |
| `MICROSOFT_ALLOW_DESTRUCTIVE` | no | no |  |
| `MICROSOFT_ALLOW_DEVICE_CODE` | no | no |  |
| `MICROSOFT_ALLOW_WRITES` | no | no |  |
| `MICROSOFT_AUTHORITY_HOST` | no | no |  |
| `MICROSOFT_AUTH_MODE` | no | no |  |
| `MICROSOFT_ENABLED_TOOL_GROUPS` | no | no |  |
| `MICROSOFT_ENABLE_BROKER` | no | no |  |
| `MICROSOFT_GRAPH_BASE_URL` | no | no |  |
| `MICROSOFT_LOGIN_METHOD` | no | no |  |
| `MICROSOFT_PERMISSION_PROFILES` | no | no |  |
| `MICROSOFT_POWER_AUTOMATE_NAMED_FLOWS_JSON` | no | no |  |
| `MICROSOFT_POWER_PLATFORM_ALLOW_LIFECYCLE_CHANGES` | no | no |  |
| `MICROSOFT_REQUIRE_SECURE_CACHE` | no | no |  |
| `POWER_PLATFORMTOOL` | no | no |  |
| `WINDOWS_COMPANIONTOOL` | no | no |  |

## Tools (200)

- `activate_power_automate_flow`
- `add_powerpoint_slide_in_office`
- `cancel_power_automate_desktop_flow_run`
- `create_office_pairing`
- `deactivate_power_automate_flow`
- `delete_powerpoint_slide_in_office`
- `generate_and_upload_powerpoint_presentation`
- `generate_and_upload_word_document`
- `generate_powerpoint_presentation`
- `generate_word_document`
- `get_document_capabilities`
- `get_intune_configuration`
- `get_intune_managed_device`
- `get_office_command_result`
- `get_power_automate_desktop_flow_outputs`
- `get_power_automate_desktop_flow_run`
- `get_power_automate_desktop_flow_schema`
- `get_power_automate_flow`
- `get_power_platform_configuration`
- `get_windows_action_result`
- `get_windows_companion_configuration`
- `get_windows_device_health`
- `get_word_selection_from_office`
- `insert_powerpoint_text_box_in_office`
- `list_intune_detected_apps`
- `list_intune_managed_devices`
- `list_microsoft_ingestion_projection`
- `list_office_sessions`
- `list_power_automate_desktop_flows`
- `list_power_automate_flows`
- `list_powerpoint_slides_in_office`
- `login_power_platform`
- `login_windows_companion`
- `microsoft_admin`
- `microsoft_agreements`
- `microsoft_applications`
- `microsoft_audit`
- `microsoft_auth`
- `microsoft_calendar`
- `microsoft_chat`
- `microsoft_communications`
- `microsoft_connections`
- `microsoft_contacts`
- `microsoft_devices`
- `microsoft_directory`
- `microsoft_domains`
- `microsoft_education`
- `microsoft_employee_experience`
- `microsoft_files`
- `microsoft_groups`
- `microsoft_identity`
- `microsoft_mail`
- `microsoft_meta`
- `microsoft_notes`
- `microsoft_organization`
- `microsoft_places`
- `microsoft_policies`
- `microsoft_print`
- `microsoft_privacy`
- `microsoft_reports`
- `microsoft_search`
- `microsoft_security`
- `microsoft_sites`
- `microsoft_solutions`
- `microsoft_storage`
- `microsoft_subscriptions`
- `microsoft_tasks`
- `microsoft_teams`
- `microsoft_user`
- `reboot_intune_device`
- `remote_lock_intune_device`
- `replace_word_placeholders_in_office`
- `run_power_automate_desktop_flow`
- `run_power_automate_flow`
- `scan_intune_device_with_defender`
- `shut_down_intune_device`
- `submit_windows_action`
- `sync_intune_device`
- `write_word_selection_in_office`
- `microsoft_add_application_password`
- `microsoft_add_group_member`
- `microsoft_add_mail_attachment`
- `microsoft_create_agreement`
- `microsoft_create_application`
- `microsoft_create_booking_appointment`
- `microsoft_create_calendar_event`
- `microsoft_create_conditional_access_policy`
- `microsoft_create_domain`
- `microsoft_create_draft_email`
- `microsoft_create_excel_chart`
- `microsoft_create_external_connection`
- `microsoft_create_file_storage_container`
- `microsoft_create_group`
- `microsoft_create_invitation`
- `microsoft_create_onenote_page`
- `microsoft_create_online_meeting`
- `microsoft_create_outlook_contact`
- `microsoft_create_planner_task`
- `microsoft_create_print_document_upload_session`
- `microsoft_create_print_job`
- `microsoft_create_role_assignment`
- `microsoft_create_service_principal`
- `microsoft_create_specific_calendar_event`
- `microsoft_create_subject_rights_request`
- `microsoft_create_subscription`
- `microsoft_create_todo_task`
- `microsoft_delete_agreement`
- `microsoft_delete_application`
- `microsoft_delete_calendar_event`
- `microsoft_delete_conditional_access_policy`
- `microsoft_delete_device`
- `microsoft_delete_domain`
- `microsoft_delete_external_connection`
- `microsoft_delete_group`
- `microsoft_delete_mail_attachment`
- `microsoft_delete_mail_message`
- `microsoft_delete_onedrive_file`
- `microsoft_delete_online_meeting`
- `microsoft_delete_outlook_contact`
- `microsoft_delete_service_principal`
- `microsoft_delete_specific_calendar_event`
- `microsoft_delete_subscription`
- `microsoft_delete_todo_task`
- `microsoft_dismiss_risky_user`
- `microsoft_download_onedrive_file_content`
- `microsoft_find_meeting_times`
- `microsoft_format_excel_range`
- `microsoft_get_access_review`
- `microsoft_get_admin_consent_policy`
- `microsoft_get_admin_sharepoint`
- `microsoft_get_agreement`
- `microsoft_get_application`
- `microsoft_get_authorization_policy`
- `microsoft_get_booking_business`
- `microsoft_get_calendar_event`
- `microsoft_get_calendar_view`
- `microsoft_get_call_record`
- `microsoft_get_channel_message`
- `microsoft_get_chat`
- `microsoft_get_chat_message`
- `microsoft_get_conditional_access_policy`
- `microsoft_get_delegated_admin_relationship`
- `microsoft_get_device`
- `microsoft_get_directory_audit`
- `microsoft_get_directory_object`
- `microsoft_get_directory_role`
- `microsoft_get_domain`
- `microsoft_get_drive_root_item`
- `microsoft_get_education_class`
- `microsoft_get_education_school`
- `microsoft_get_email_activity_report`
- `microsoft_get_excel_range`
- `microsoft_get_excel_table`
- `microsoft_get_excel_workbook`
- `microsoft_get_excel_worksheet`
- `microsoft_get_external_connection`
- `microsoft_get_file_storage_container`
- `microsoft_get_group`
- `microsoft_get_learning_provider`
- `microsoft_get_mail_attachment`
- `microsoft_get_mail_message`
- `microsoft_get_mailbox_usage_report`
- `microsoft_get_managed_device`
- `microsoft_get_me`
- `microsoft_get_my_presence`
- `microsoft_get_office365_active_users`
- `microsoft_get_onedrive_usage_report`
- `microsoft_get_onenote_page_content`
- `microsoft_get_online_meeting`
- `microsoft_get_org_branding`
- `microsoft_get_organization`
- `microsoft_get_outlook_contact`
- `microsoft_get_place`
- `microsoft_get_planner_plan`
- `microsoft_get_planner_task`
- `microsoft_get_presence`
- `microsoft_get_printer`
- `microsoft_get_risk_detection`
- `microsoft_get_risky_user`
- `microsoft_get_role_assignment`
- `microsoft_get_role_definition`
- `microsoft_get_security_alert`
- `microsoft_get_security_incident`
- `microsoft_get_sensitivity_label`
- `microsoft_get_service_health`
- `microsoft_get_service_health_issue`
- `microsoft_get_service_principal`
- `microsoft_get_service_update_message`
- `microsoft_get_shared_mailbox_message`
- `microsoft_get_sharepoint_activity_report`
- `microsoft_get_sharepoint_site_by_path`
- `microsoft_get_sharepoint_site_list_item`
- `microsoft_get_sharepoint_sites_delta`
- `microsoft_get_sign_in_log`
- `microsoft_get_site`
- `microsoft_get_site_drive_by_id`
- `microsoft_get_site_item`
- `microsoft_get_site_list`
- `microsoft_get_specific_calendar_event`
- `microsoft_get_subject_rights_request`

## FAQ

### Where are authentication tokens stored?

Tokens are stored using OS-backed secure storage only; if unavailable, they remain in memory and are never written to plaintext files.
