# MS 365-21V MCP Server

> Connect AI clients to 21Vianet Microsoft 365 as the signed-in user.

- **URL**: https://followmcp.com/en/servers/ms-365-21v-mcp-server
- **Category**: Collaboration
- **Origin**: Community
- **Stars**: 91
- **FMRS Score**: 55/100 (Grade C)
- **Source**: https://github.com/mdwsk88/ms-365-21v-mcp-server
- **Transports**: Streamable HTTP
- **Runtimes**: Node.js 22+, Hosted (no local runtime)
- **Auth**: API key / credential required

## Overview
MS 365-21V MCP Server is an MCP gateway for Microsoft 365 operated by 21Vianet. It connects through Microsoft Graph China and provides capabilities for email, calendar, OneDrive, SharePoint, Teams, contacts, organizational users, and Microsoft Search. It uses the current user's delegated permissions and supports controls by module, scope, and App Role. Implemented tools do not mean a tenant has granted access or that every global-cloud API is available in 21Vianet.

## Best for
- Users of 21Vianet Microsoft 365 tenants who want to access work data through an MCP-capable AI client.
- Organizations that want administrators to control modules, scopes, roles, write confirmations, and audit boundaries.

## Not for
- Global Microsoft 365 or personal Outlook accounts.
- Users without a 21Vianet tenant or administrator authorization.

## Required permissions
- Requires a 21Vianet tenant and administrator setup and authorization of an Entra application.
- Uses the current user's delegated permissions; the required Graph permissions, modules, and App Roles depend on enabled features.
- The email-reading example requires Mail.Read and mcp.mail; calendar reading requires Calendars.Read and mcp.calendar; OneDrive search requires Files.Read and mcp.drive.
- Email writing requires additional write permissions; MCP_SEND_MODE=confirm is the recommended setting.

## Risks
- The service does not expand the user's existing data permissions, but data returned by tools is sent to the selected AI client or model service.
- Using Graph China does not by itself guarantee that data stays within China end to end; review client data flows, log retention, model providers, and organizational compliance requirements.
- For remote production deployments, use HTTPS and a Secret Manager, and grant only needed permissions. Do not disable authentication or expose every module to troubleshoot.

## Client config (JSON)
```json
{"mcpServers":{"ms365-21v":{"type":"http","url":"https://your-mcp-host.example.cn/mcp"}}}
```
