MS 365-21V MCP Server
by mdwsk88
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MS_CLIENT_ID | No | The Application (client) ID of the MCP API app registration. | |
| MS_TENANT_ID | No | The tenant ID of the Microsoft 365 operated by 21Vianet tenant. | |
| MCP_HTTP_HOST | No | The host to bind the HTTP server to. Default is 0.0.0.0. | 0.0.0.0 |
| MCP_HTTP_PATH | No | The path for the Streamable HTTP endpoint. Default is /mcp. | /mcp |
| MCP_HTTP_PORT | No | The port for the HTTP server. Default is 3000. | 3000 |
| MCP_SEND_MODE | No | Send mode for mail/Teams: confirm or automatic. Default is confirm. | confirm |
| MCP_ADMIN_TOKEN | No | A long random value for admin endpoints. | |
| MS_CLIENT_SECRET | No | The client secret for the MCP API app, used for OBO. | |
| MS_AUTHORITY_HOST | No | The Entra authority host for 21V. Use https://login.partner.microsoftonline.cn or https://login.chinacloudapi.cn depending on tenant. | |
| MS_GRAPH_BASE_URL | No | The Microsoft Graph base URL for China, e.g. https://microsoftgraph.chinacloudapi.cn/v1.0 | |
| MCP_TOKEN_AUDIENCE | No | The expected audience of the access token, e.g. api://<API_CLIENT_ID> | |
| MS_OAUTH_CLIENT_ID | No | The Application (client) ID of the Web login app. Leave empty for single-app mode. | |
| MCP_PUBLIC_BASE_URL | No | The public base URL of the MCP service, without /mcp. e.g. https://mcp.example.cn | |
| MCP_AUDIT_LOG_ENABLED | No | Enable audit logging. Default is true. | true |
| MCP_CONFIRM_OPERATIONS | No | Comma-separated operations that require confirmation, e.g. delete, create-calendar, etc. | |
| MCP_TOOL_EXPOSURE_MODE | No | Tool exposure mode: direct, discovery, or hybrid. Default is hybrid. | hybrid |
| MS_OAUTH_CLIENT_SECRET | No | The client secret for the Web login app. Leave empty for single-app mode. | |
| MCP_AUTHORIZATION_SCOPES | No | The scope(s) required for MCP API access, e.g. api://<API_CLIENT_ID>/access_as_user | |
| MCP_OAUTH_BRIDGE_ENABLED | No | Whether the OAuth bridge is enabled. Default is true. | true |
| MCP_ROLE_BASED_FILTERING | No | Enable App Role based tool filtering. Default is false. | false |
| MCP_DISABLED_GRAPH_SCOPES | No | Comma-separated list of Graph scopes to disable for tools. | |
| MCP_REQUIRED_TOKEN_SCOPES | No | The required token scopes, e.g. access_as_user | |
| MCP_OAUTH_BRIDGE_MICROSOFT_CLIENT_TYPE | No | The type of the Microsoft OAuth client. Default is confidential_web. | confidential_web |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mdwsk88/ms-365-21v-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server