MCP servers · Microsoft 365 · MCP server
Connect Gemini CLI to Microsoft 365
One line gives Gemini CLI your Microsoft 365 account as tools: 20 endpoints, mail, events, teams, called with your own connection. No key in the prompt, a receipt for every call, revoke Gemini CLI's access alone any time.
Three steps
- Create a free 0n3 account and connect Microsoft 365. Paste a key or sign in; it lands in your vault, encrypted.
- Install 0n3 into Gemini CLI. Google's terminal agent. One command at user scope.
- Ask Gemini CLI: whoami. Then: "Send a mail in Microsoft 365".
Install (user scope)
gemini mcp add --scope user --transport http 0n3 https://0n3.app/mcp -H "Authorization: Bearer <your 0n token>"
The line above carries a placeholder; 0n3.app/install mints a real key named for Gemini CLI and fills it in.
What Gemini CLI can then do in Microsoft 365
Mail · Send and manage Outlook email1
Send a mail
POST /me/sendMailEvents · Manage Outlook calendar events4
List events
GET /me/eventsCreate an event
POST /me/eventsUpdate an event
PATCH /me/events/{eventId}Delete an event
DELETE /me/events/{eventId}Teams · Send Teams messages and list channels3
List teams
GET /me/joinedTeamsList channels
GET /teams/{teamId}/channelsSend a channel message
POST /teams/{teamId}/channels/{channelId}/messagesUsers · View organization users1
Get an user
GET /meFiles · OneDrive and SharePoint files, including items shared by link from another user's drive0
OneDrive and SharePoint files, including items shared by link from another user's drive
More · Everything else this app exposes.11
List messages
GET /me/messagesGet a message
GET /me/messages/{messageId}Delete a message
DELETE /me/messages/{messageId}List drive items
GET /me/drive/root/childrenGet a drive item
GET /me/drive/items/{itemId}Search drive
GET /me/drive/root/search(q='{query}')Resolve share
GET /shares/{encodedUrl}/driveItemList shared with me
GET /me/drive/sharedWithMeGet an item content
GET /drives/{driveId}/items/{itemId}/contentGet a site
GET /sites/{hostname}:/sites/{sitePath}List site items
GET /sites/{siteId}/drive/root/childrenMicrosoft 365 in other AI clients
Claude Code + Microsoft 365MCP server + skillClaude (desktop & claude.ai) + Microsoft 365connectorChatGPT + Microsoft 365connector · GPT actionCodex CLI + Microsoft 365MCP serverCursor + Microsoft 365MCP serverVS Code (Copilot) + Microsoft 365MCP serverWindsurf + Microsoft 365MCP server
