MCP Msgraph
MCP server by merill Verified · npm:@99xio
Lokka is an MCP server that lets AI assistants query and manage Azure and Microsoft 365 tenants through the Microsoft Graph and Azure Resource Management APIs. It is aimed at people who administer those tenants and use an MCP client such as Claude Desktop.
Install MCP Msgraph
Built from the published package, never by AI.
claude mcp add mcp-msgraph -- npx -y @99xio/mcp-msgraphRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"mcp-msgraph": {
"args": [
"-y",
"@99xio/mcp-msgraph"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"mcp-msgraph": {
"args": [
"-y",
"@99xio/mcp-msgraph"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"mcp-msgraph": {
"args": [
"-y",
"@99xio/mcp-msgraph"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add mcp-msgraph -- npx -y @99xio/mcp-msgraph{
"mcpServers": {
"mcp-msgraph": {
"args": [
"-y",
"@99xio/mcp-msgraph"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add mcp-msgraph npx -y @99xio/mcp-msgraphGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mcp-msgraph block.
About
Lokka is a model-context-protocol server for the Microsoft Graph and Azure Resource Management APIs. It lets an AI client use natural language to query and manage Azure and Microsoft 365 tenants. The main tool, Lokka-Microsoft, calls Graph or Azure paths with a chosen HTTP method, and it supports updates when the needed permissions are provided.
The server supports interactive login, app-only authentication with a certificate or client secret, and client-provided access tokens. An environment variable controls whether requests use the Graph beta or v1.0 version. The source's example tasks, such as conditional access reviews, Intune policy lookups and Azure cost questions, suggest it suits people who manage Azure and Microsoft 365 tenants.
Written from the project's README and checked against it.
Tools it gives your assistant
Lokka-MicrosoftCalls Microsoft Graph and Azure APIs to query tenants and, with permissions, make updates.set-access-tokenSets or updates a Microsoft Graph access token when using client-provided token mode.get-auth-statusChecks the current authentication mode, readiness status and capabilities of the server.add-graph-permissionRequests additional Microsoft Graph permission scopes interactively.
What you need
- Node.js with npx, as the install commands use npx
- An MCP client such as Claude Desktop
- A Microsoft Entra tenant
- A Microsoft Entra app registration for custom or app-only authentication
Try asking
- Create a new security group called 'Sales and HR' with a dynamic rule on department.
- Find all conditional access policies that haven't excluded the emergency access account.
- Show me all the Intune device configuration policies assigned to the 'Call center' group.
Good to know
- Client-provided token mode needs access tokens to be refreshed with set-access-token.
- Updates are only supported if the required permissions are provided.
- With USE_GRAPH_BETA set to false, all calls use v1.0 even if beta is requested.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to MCP Msgraph
All alternatives →Azure MCP Server bundles all Azure MCP tools into one local MCP server. It connects AI agents to Azure services and can be used alone or with the GitHub Copilot for Azure extension in VS Code.
Manages monitors, status pages, incidents and maintenances in an openstatus workspace from Claude, ChatGPT, or Cursor. It suits teams that run uptime monitoring and status pages and want their AI assistant to update them.
SmartBear MCP gives AI assistants access to SmartBear's testing and monitoring tools, including BugSnag, Reflect, Swagger, PactFlow and QTM4J. It is aimed at teams that already use these products. Products are reached through remote servers or a local npm package.
Lets AI assistants manage Fettle uptime monitoring, including monitors, incidents, heartbeats, maintenance windows and status page incidents. Built for developers and operations teams who use Fettle and want to work from Claude, Cursor or Codex.
Superlog is an open-source agentic telemetry system that ingests traces, logs and metrics and groups noisy signals into incidents. It is aimed at teams debugging production systems with OpenTelemetry data.
Microsoft Learn MCP gives AI assistants direct access to official Microsoft documentation and code samples through a remote MCP endpoint. It is for developers who use MCP-compatible clients and want answers based on current Microsoft docs.
Compare with Azure MCP Server, openstatus or SmartBear MCP
MCP Msgraph: common questions
Which APIs does Lokka call?
Lokka calls the Microsoft Graph API and the Azure Resource Management API. The apiType input selects between them.
What authentication methods does Lokka support?
The source describes interactive auth, app-only auth with a certificate or client secret, and client-provided tokens. Each mode is set with its own environment variables.
Does Lokka use the beta or v1.0 Graph version?
By default it uses the beta version. Setting USE_GRAPH_BETA to false forces all Graph calls to use v1.0.
How do I install MCP Msgraph?
In Claude Code run claude mcp add mcp-msgraph -- npx -y @99xio/mcp-msgraph. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is MCP Msgraph the official server?
MCP Msgraph is published by npm:@99xio from its verified domain in the official MCP Registry.
Is MCP Msgraph free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is MCP Msgraph safe to use?
It scores 78 of 100. Grades: maintenance B, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to MCP Msgraph?
Similar MCP servers: Azure MCP Server, openstatus, SmartBear MCP, Fettle.
Does MCP Msgraph work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
