Microsoft 365 Admin
About
Microsoft 365 administration via Graph API application permissions (read-only by default).
Use this server
Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.
Transportstdio (runs a local command)
Env vars
MS365_ADMIN_MCP_TENANT_ID MS365_ADMIN_MCP_CLIENT_ID MS365_ADMIN_MCP_CLIENT_SECRET MS365_ADMIN_MCP_KEYVAULT_URL MS365_ADMIN_MCP_CLOUD_TYPE MS365_ADMIN_MCP_MAX_TOP READ_ONLY ENABLED_TOOLSClaude Code
claude mcp add --env MS365_ADMIN_MCP_TENANT_ID= --env MS365_ADMIN_MCP_CLIENT_ID= --env MS365_ADMIN_MCP_CLIENT_SECRET= --env MS365_ADMIN_MCP_KEYVAULT_URL= --env MS365_ADMIN_MCP_CLOUD_TYPE= --env MS365_ADMIN_MCP_MAX_TOP= --env READ_ONLY= --env ENABLED_TOOLS= ms-365-admin -- npx @okapi-ca/ms-365-admin-mcp-server
Cursor
If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.
VS Code
code --add-mcp '{"name":"ms-365-admin","command":"npx","args":["@okapi-ca/ms-365-admin-mcp-server"],"env":{"MS365_ADMIN_MCP_TENANT_ID":"","MS365_ADMIN_MCP_CLIENT_ID":"","MS365_ADMIN_MCP_CLIENT_SECRET":"","MS365_ADMIN_MCP_KEYVAULT_URL":"","MS365_ADMIN_MCP_CLOUD_TYPE":"","MS365_ADMIN_MCP_MAX_TOP":"","READ_ONLY":"","ENABLED_TOOLS":""}}'
JSON
{
"mcpServers": {
"ms-365-admin": {
"command": "npx",
"args": [
"@okapi-ca/ms-365-admin-mcp-server"
],
"env": {
"MS365_ADMIN_MCP_TENANT_ID": "",
"MS365_ADMIN_MCP_CLIENT_ID": "",
"MS365_ADMIN_MCP_CLIENT_SECRET": "",
"MS365_ADMIN_MCP_KEYVAULT_URL": "",
"MS365_ADMIN_MCP_CLOUD_TYPE": "",
"MS365_ADMIN_MCP_MAX_TOP": "",
"READ_ONLY": "",
"ENABLED_TOOLS": ""
}
}
}
}
Environment variables are listed by name only — fill in your own values. Entries never carry secrets.