
mdwsk88/ms-365-21v-mcp-server
Developer toolsThis page was translated automatically. Technical details may differ from the original. View the original
MCP gateway for Microsoft 365 operated by 21Vianet — let AI clients use your 21V M365 mail, calendar, OneDrive & SharePoint
Overview
Query emails, schedule appointments, search OneDrive and SharePoint to connect to Microsoft Graph China; Retain user permissions, operation confirmation, and audit boundaries. After the administrator deploys the service and assigns usage permissions, they add the MCP address as the corresponding client and complete OAuth login; There is no need to manually fill in the client ID/secret on the client. : Add the following configuration to the .mcp.json of the project root; Merge the service entries in mcpServers when you already have them: Change the URL to the address given by the administrator, launch Claude Code, run /mcp, and log in as prompted. Official Claude Code explanation : Enter the remote MCP address in , follow the prompts to connect and log in. Do not put the Claude Code JSON directly into the local configuration of Desktop. Remote connections are initiated by Anthropic Cloud, and the service address must be allowed to access it; you cannot enter your computer's localhost. Official Claude Desktop instructions Using WorkBuddy, Qoder Work, Codex, or Dify? See the client integration instructions. Deploy from scratch yourself? See how quickly you get started. Not an official Microsoft or 21Vianet product. Requires Vianet tenant and administrator authorization; not suitable for direct connection to global Microsoft 365 or personal Outlook accounts. The business examples in this article require corresponding modules and permissions; initial configuration only allows personal profile queries. Tools return data for the AI client and do not grant users access to data they did not originally have due to MCP access. Full roles, scope, and tool mappings are available in the tool directory.
Overview (machine translated)
**Let AI clients supporting MCP use 22Vianet Microsoft 365 as yourself. **
Query emails, schedule appointments, search OneDrive and SharePoint to connect to Microsoft Graph China; Retain user permissions, operation confirmation, and audit boundaries.
Quick Start · Full Deployment · Use Cases · Tool Directory · English
One-Click Access (Already Deployed by Administrator)
After the administrator deploys the service and assigns usage permissions, they add the MCP address as the corresponding client and complete OAuth login; There is no need to manually fill in the client ID/secret on the client.
Claude Code: Add the following configuration to the .mcp.json in the project root directory; Merge the service entries in mcpServers when you already have them:
Replace url with the address given by the administrator, launch Claude Code, then run /mcp and log in as prompted. Official Claude Code instructions
Claude Desktop: In Customize→ Connectors → Add custom connector, enter the remote MCP address, and follow the prompts to connect and log in. Do not put the Claude Code JSON above directly into the local configuration of Desktop. Remote connections are initiated by Anthropic Cloud, and the service address must be accessed; you cannot enter your computer’s localhost. Official Claude Desktop Description
Using WorkBuddy, Qoder Work, Codex, or Dify? See the client integration instructions. Deploy from scratch yourself? See how quickly you get started.
Not Microsoft or 21Vianet official products. Requires Vianet tenant and administrator authorization; not suitable for direct connection to global Microsoft 365 or personal Outlook accounts. The business examples in this article require corresponding modules and permissions; initial configuration only allows personal profile queries.
First, see what it can do for you
| What you say to AI | Capability | Enable conditions |
|---|---|---|
| “Get my profile and confirm your current login account.” | Verify OAuth → Graph Link | Default scenario for quick onboarding |
| “List the last 5 emails, showing only the subject and sender.” | Mail Reading | Mail module, Mail.Read, mcp.mail |
| “Check if tomorrow’s meeting has any scheduling conflicts.” | Schedule Conflict Analysis | Calendar + Smart module, corresponding permissions and roles |
| “Find project plans in my OneDrive.” | File Search | OneDrive module, Files.Read, mcp.drive |
| “Organize the reply and let me confirm before sending it.” |
This page was translated automatically. Technical details may differ from the original.
Install
This server does not publish a one-line install command.
Open the repository installation guide New to MCP? Start with the mcpskill.org guide →Configuration
{
"mcpServers": {
"ms365-21v": {
"type": "http",
"url": "https://your-mcp-host.example.cn/mcp"
}
}
}