Aerostack
electrical_services

Microsoft Graph MCP Server — Hosted Api Connectors Integration

MCP Server language Hosted language Public

Access Microsoft 365 from one API — Teams messages & chats, Outlook email, Calendar events, OneDrive files, and user directory. 35 tools.

aerostack @aerostack verified
v0.1.0 MIT Updated Jun 28, 2026
robot_2

Use with AI AssistantsMCP

Connect Claude, Cursor, or any MCP-compatible client — then call tools directly

① Add This MCP Server

Paste into your AI client config — then all its tools are available instantly.

.claude/mcp.json
{
  "mcpServers": {
    "microsoft-graph": {
      "url": "https://mcp.aerostack.dev/s/aerostack/mcp-microsoft-graph",
      "headers": {
        "Authorization": "Bearer YOUR_AEROSTACK_TOKEN"
      }
    }
  }
}

Replace YOUR_AEROSTACK_TOKEN with your API token from the dashboard.

② Call a Tool

Ask your AI assistant to call a specific tool, or send raw JSON-RPC:

+30 more

Natural Language Prompt

“Use the _ping tool to verify microsoft graph credentials by calling a lightweight read endpoint. used internally by aerostack to validate credentials

Using a Workspace?

Add this MCP to your Workspace — your team shares one token, secrets are stored securely, and every AI agent in the workspace can call it without per-user setup.

add_circleAdd to Workspace

description Overview

mcp-microsoft-graph — Microsoft 365 MCP Server

Send Teams messages, manage Outlook email, create calendar events, and browse OneDrive files.

Microsoft Graph is the unified API for Microsoft 365 — covering Teams, Outlook, Calendar, and OneDrive from a single token. This MCP server exposes 14 tools across all four services, letting your AI agents operate across your Microsoft 365 environment: posting to Teams channels, reading emails, scheduling meetings, and finding files stored in OneDrive.

Live endpoint: https://mcp.aerostack.dev/s/aerostack/mcp-microsoft-graph


What You Can Do

  • Post messages to Teams channels from automated workflows — send deploy notifications, alerts, or summaries directly into the right channel
  • Read and reply to Outlook emails so AI agents can handle inbox triage, draft responses, or escalate threads
  • Create and update calendar events for meeting scheduling automation that connects with HR, CRM, or project systems
  • Search OneDrive files so agents can locate relevant documents before drafting reports or pulling data

Available Tools

Tool Description
list_teams List all Microsoft Teams the user has joined
list_team_channels List channels in a team
send_teams_message Send a message to a Teams channel (text or HTML)
list_team_messages List recent messages from a Teams channel
send_email Send an email via Outlook (supports multiple recipients and CC)
list_emails List emails from inbox, sent items, or drafts with optional search
get_email Get a full email including body by message ID
reply_to_email Reply to an existing email message
list_calendar_events List calendar events with optional date range filter
create_calendar_event Create a new calendar event with attendees and timezone support
update_calendar_event Update an existing calendar event's details
delete_calendar_event Delete a calendar event by ID
list_drive_files List files and folders in OneDrive root or a specific folder
search_drive_files Search OneDrive files and folders by keyword

Configuration

Variable Required Description How to Get
MICROSOFT_ACCESS_TOKEN Yes Microsoft Graph API OAuth2 access token portal.azure.comAzure Active DirectoryApp registrations → Register app → API permissions → add Microsoft Graph delegated permissions (Team.ReadBasic.All, Mail.ReadWrite, Mail.Send, Calendars.ReadWrite, Files.ReadWrite) → generate token via OAuth2 authorization code flow

Quick Start

Add to Aerostack Workspace
  1. Go to aerostack.dev → Your Project → MCPs
  2. Search for "Microsoft Graph" and click Add to Workspace
  3. Add your MICROSOFT_ACCESS_TOKEN under Project → Secrets

Once added, every AI agent in your workspace can call Microsoft 365 tools automatically — no per-user setup needed.

Example Prompts
"Post a message to the Engineering team's #deployments channel saying the v3.1 release is live"
"Search my Outlook inbox for emails from vendor@supplier.com in the last 7 days and summarize them"
"Schedule a 1-hour kickoff meeting on Thursday at 10am with the whole product team"
Direct API Call
curl -X POST https://mcp.aerostack.dev/s/aerostack/mcp-microsoft-graph \
  -H 'Content-Type: application/json' \
  -H 'X-Mcp-Secret-MICROSOFT-ACCESS-TOKEN: your-oauth-token' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_teams","arguments":{}}}'

License

MIT

terminal Tools (36)

Available tools on this MCP server. Each tool can be called directly from any AI agent.

terminal
_ping #1

Verify Microsoft Graph credentials by calling a lightweight read endpoint. Used internally by Aerostack to validate credentials.

terminal
list_teams #2

List all Microsoft Teams the authenticated user has joined

terminal
list_team_channels #3

List all channels in a Microsoft Teams team

terminal
send_teams_message #4

Send a message to a Microsoft Teams channel

terminal
list_team_messages #5

List recent messages from a Microsoft Teams channel

terminal
send_email #6

Send an email via Outlook / Microsoft 365

terminal
list_emails #7

List emails from an Outlook mailbox folder

terminal
get_email #8

Get a specific email by ID including its full body

terminal
reply_to_email #9

Reply to an Outlook email message

terminal
list_calendar_events #10

List calendar events from the user's Outlook calendar

terminal
create_calendar_event #11

Create a new event in the user's Outlook calendar

terminal
update_calendar_event #12

Update an existing event in the user's Outlook calendar

terminal
delete_calendar_event #13

Delete a calendar event from the user's Outlook calendar

terminal
list_drive_files #14

List files and folders in OneDrive (root or a specific folder)

terminal
search_drive_files #15

Search for files and folders in OneDrive by keyword

terminal
get_drive_item #16

Get metadata for a specific OneDrive file or folder by ID

terminal
create_folder #17

Create a new folder in OneDrive

terminal
delete_drive_item #18

Delete a file or folder from OneDrive

terminal
share_drive_item #19

Create a sharing link for a OneDrive file or folder

terminal
create_team_channel #20

Create a new channel in a Microsoft Teams team

terminal
reply_to_teams_message #21

Reply to a specific message in a Microsoft Teams channel

terminal
list_chats #22

List all 1:1 and group chats for the authenticated user in Microsoft Teams

terminal
list_chat_messages #23

List recent messages from a Microsoft Teams 1:1 or group chat

terminal
send_chat_message #24

Send a message to a Microsoft Teams 1:1 or group chat

terminal
list_team_members #25

List all members of a Microsoft Teams team

terminal
forward_email #26

Forward an Outlook email message to one or more recipients

terminal
mark_email_read #27

Mark an Outlook email as read or unread

terminal
delete_email #28

Delete an Outlook email message

terminal
create_draft #29

Create a draft email in Outlook without sending it

terminal
list_contacts #30

List contacts from the user's Outlook contacts

terminal
get_calendar_event #31

Get full details of a specific calendar event by ID

terminal
respond_to_event #32

Accept, decline, or tentatively accept a calendar event invitation

terminal
list_calendars #33

List all calendars in the user's Outlook account

terminal
get_current_user #34

Get the profile of the currently authenticated Microsoft 365 user

terminal
list_org_users #35

List users in the Microsoft 365 organization directory

terminal
get_user #36

Get the profile of a specific Microsoft 365 user by user ID or email

Details

upgrade Version 0.1.0
gavel License MIT
wifi Transport streamable-http
lock Access Public
category Category API Connectors
terminal Tools 36

language Live Endpoint

https://mcp.aerostack.dev/s/aerostack/mcp-microsoft-graph

Sub-50ms globally · Zero cold start

Publisher

aerostack
@aerostack verified

Pre-built functions for the most common MCP tool patterns. Clone, extend, and deploy.

Tags

Browse more servers

More in API Connectors

Browse API Connectors MCPs →

Frequently asked questions

What is the Microsoft Graph MCP server and what can it do? +

The Microsoft Graph MCP server is hosted on Aerostack and exposes these tools to your AI agent: `_ping`, `list_teams`, `list_team_channels`, `send_teams_message`, `list_team_messages`. You get one hosted URL — no self-hosting — that works from Claude, Cursor, ChatGPT, Gemini, VS Code, or any MCP-compatible client, and you can share it with your team or combine it with other MCP servers in a workspace.

Is the Microsoft Graph MCP server hosted, or do I have to run it myself? +

It's hosted on Aerostack's edge infrastructure — you don't deploy or maintain anything. Add it to a workspace and you get one authenticated URL, with secrets encrypted, that any AI agent or editor can connect to. Use it solo or share the same URL across your whole team.

Which AI agents and editors can use the Microsoft Graph MCP server? +

Any MCP client: Claude and Claude Code, Cursor, ChatGPT, Gemini, Windsurf, Cline, VS Code, and custom agents. Because it's one hosted URL, the same Microsoft Graph MCP server works everywhere — and you can compose it with other MCP servers, skills, and functions behind a single workspace URL.

How do I install the Microsoft Graph MCP server in Claude Desktop? +

Add the following to your Claude Desktop config (`claude_desktop_config.json`): ```json { "mcpServers": { "@aerostack/mcp-microsoft-graph": { "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-microsoft-graph"] } } } ``` Then restart Claude Desktop and the tools will appear automatically.

How do I use the Microsoft Graph MCP server in Cursor? +

In Cursor, open **Settings → MCP** and add: ```json { "name": "@aerostack/mcp-microsoft-graph", "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-microsoft-graph"] } ``` Save and reload Cursor. The MCP tools will be available in Agent mode.

Does Microsoft Graph MCP require authentication? +

Yes. Microsoft Graph requires authentication. Check the MCP's documentation for the required credentials.