Microsoft Graph MCP Server — Hosted Api Connectors Integration
MCP Server language Hosted language PublicAccess Microsoft 365 from one API — Teams messages & chats, Outlook email, Calendar events, OneDrive files, and user directory. 35 tools.
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.
{
"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:
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.
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.com → Azure Active Directory → App 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
- Go to aerostack.dev → Your Project → MCPs
- Search for "Microsoft Graph" and click Add to Workspace
- Add your
MICROSOFT_ACCESS_TOKENunder 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.
_ping #1 Verify Microsoft Graph credentials by calling a lightweight read endpoint. Used internally by Aerostack to validate credentials.
list_teams #2 List all Microsoft Teams the authenticated user has joined
list_team_channels #3 List all channels in a Microsoft Teams team
send_teams_message #4 Send a message to a Microsoft Teams channel
list_team_messages #5 List recent messages from a Microsoft Teams channel
send_email #6 Send an email via Outlook / Microsoft 365
list_emails #7 List emails from an Outlook mailbox folder
get_email #8 Get a specific email by ID including its full body
reply_to_email #9 Reply to an Outlook email message
list_calendar_events #10 List calendar events from the user's Outlook calendar
create_calendar_event #11 Create a new event in the user's Outlook calendar
update_calendar_event #12 Update an existing event in the user's Outlook calendar
delete_calendar_event #13 Delete a calendar event from the user's Outlook calendar
list_drive_files #14 List files and folders in OneDrive (root or a specific folder)
search_drive_files #15 Search for files and folders in OneDrive by keyword
get_drive_item #16 Get metadata for a specific OneDrive file or folder by ID
create_folder #17 Create a new folder in OneDrive
delete_drive_item #18 Delete a file or folder from OneDrive
share_drive_item #19 Create a sharing link for a OneDrive file or folder
create_team_channel #20 Create a new channel in a Microsoft Teams team
reply_to_teams_message #21 Reply to a specific message in a Microsoft Teams channel
list_chats #22 List all 1:1 and group chats for the authenticated user in Microsoft Teams
list_chat_messages #23 List recent messages from a Microsoft Teams 1:1 or group chat
send_chat_message #24 Send a message to a Microsoft Teams 1:1 or group chat
list_team_members #25 List all members of a Microsoft Teams team
forward_email #26 Forward an Outlook email message to one or more recipients
mark_email_read #27 Mark an Outlook email as read or unread
delete_email #28 Delete an Outlook email message
create_draft #29 Create a draft email in Outlook without sending it
list_contacts #30 List contacts from the user's Outlook contacts
get_calendar_event #31 Get full details of a specific calendar event by ID
respond_to_event #32 Accept, decline, or tentatively accept a calendar event invitation
list_calendars #33 List all calendars in the user's Outlook account
get_current_user #34 Get the profile of the currently authenticated Microsoft 365 user
list_org_users #35 List users in the Microsoft 365 organization directory
get_user #36 Get the profile of a specific Microsoft 365 user by user ID or email
Details
language Live Endpoint
https://mcp.aerostack.dev/s/aerostack/mcp-microsoft-graph
Sub-50ms globally · Zero cold start
Publisher
Pre-built functions for the most common MCP tool patterns. Clone, extend, and deploy.
More in API Connectors
Browse API Connectors MCPs →Aerostack Registry
by @aerostack
Discover and invoke any MCP, Function, or Skill published to the Aerostack marketplace — the universal AI capability hub.
Algolia
by @aerostack
Search indexes, manage records, browse data, and configure ranking in Algolia — AI-native instant search access.
Arangodb
by @aerostack
Query documents, run AQL, traverse graphs, and manage collections in your ArangoDB database — AI-native multi-model database access.
Ayrshare
by @aerostack
Post, schedule, and analyze social media across 13 platforms — Facebook, Instagram, X, LinkedIn, TikTok, Bluesky, Threads, Reddit, Pinterest, YouTube, Telegram, Snapchat, Google Business.
Basecamp
by @aerostack
Manage projects, to-dos, messages, schedules, and campfire chats in Basecamp — AI-native project management.
Bigquery
by @aerostack
Run SQL queries, list datasets and tables, inspect schemas, and export results from Google BigQuery — AI-native data warehouse access.
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.