Skip to main content
Glama
mdwsk88

MS 365-21V MCP Server

by mdwsk88

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MS_CLIENT_IDNoThe Application (client) ID of the MCP API app registration.
MS_TENANT_IDNoThe tenant ID of the Microsoft 365 operated by 21Vianet tenant.
MCP_HTTP_HOSTNoThe host to bind the HTTP server to. Default is 0.0.0.0.0.0.0.0
MCP_HTTP_PATHNoThe path for the Streamable HTTP endpoint. Default is /mcp./mcp
MCP_HTTP_PORTNoThe port for the HTTP server. Default is 3000.3000
MCP_SEND_MODENoSend mode for mail/Teams: confirm or automatic. Default is confirm.confirm
MCP_ADMIN_TOKENNoA long random value for admin endpoints.
MS_CLIENT_SECRETNoThe client secret for the MCP API app, used for OBO.
MS_AUTHORITY_HOSTNoThe Entra authority host for 21V. Use https://login.partner.microsoftonline.cn or https://login.chinacloudapi.cn depending on tenant.
MS_GRAPH_BASE_URLNoThe Microsoft Graph base URL for China, e.g. https://microsoftgraph.chinacloudapi.cn/v1.0
MCP_TOKEN_AUDIENCENoThe expected audience of the access token, e.g. api://<API_CLIENT_ID>
MS_OAUTH_CLIENT_IDNoThe Application (client) ID of the Web login app. Leave empty for single-app mode.
MCP_PUBLIC_BASE_URLNoThe public base URL of the MCP service, without /mcp. e.g. https://mcp.example.cn
MCP_AUDIT_LOG_ENABLEDNoEnable audit logging. Default is true.true
MCP_CONFIRM_OPERATIONSNoComma-separated operations that require confirmation, e.g. delete, create-calendar, etc.
MCP_TOOL_EXPOSURE_MODENoTool exposure mode: direct, discovery, or hybrid. Default is hybrid.hybrid
MS_OAUTH_CLIENT_SECRETNoThe client secret for the Web login app. Leave empty for single-app mode.
MCP_AUTHORIZATION_SCOPESNoThe scope(s) required for MCP API access, e.g. api://<API_CLIENT_ID>/access_as_user
MCP_OAUTH_BRIDGE_ENABLEDNoWhether the OAuth bridge is enabled. Default is true.true
MCP_ROLE_BASED_FILTERINGNoEnable App Role based tool filtering. Default is false.false
MCP_DISABLED_GRAPH_SCOPESNoComma-separated list of Graph scopes to disable for tools.
MCP_REQUIRED_TOKEN_SCOPESNoThe required token scopes, e.g. access_as_user
MCP_OAUTH_BRIDGE_MICROSOFT_CLIENT_TYPENoThe 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

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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