Lokka
MCP server by merill Verified · npm:@iflow-mcp
Lokka is a Model Context Protocol server for the Microsoft Graph and Azure Resource Management APIs. It lets AI assistants query and manage Azure and Microsoft 365 tenants using natural language.
Install Lokka
Built from the published package, never by AI.
claude mcp add lokka -- npx -y @iflow-mcp/lokkaRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"lokka": {
"args": [
"-y",
"@iflow-mcp/lokka"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"lokka": {
"args": [
"-y",
"@iflow-mcp/lokka"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"lokka": {
"args": [
"-y",
"@iflow-mcp/lokka"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add lokka -- npx -y @iflow-mcp/lokka{
"mcpServers": {
"lokka": {
"args": [
"-y",
"@iflow-mcp/lokka"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add lokka npx -y @iflow-mcp/lokkaGemini 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 lokka block.
About
Lokka is a Model Context Protocol server for the Microsoft Graph and Azure RM APIs. It lets you query and manage Azure and Microsoft 365 tenants with AI, using Claude Desktop or any MCP client. You can make requests in natural language, such as creating a security group with a dynamic rule or finding conditional access policies that do not exclude the emergency access account. The package is run with npx as @merill/lokka.
The server supports interactive authentication, app-only authentication with a certificate or client secret, and client-provided access tokens. Configuration is done through environment variables. By default it uses the Graph beta endpoint, and setting USE_GRAPH_BETA to false forces v1.0. It is aimed at people who administer Azure and Microsoft 365 tenants and want to use an AI assistant for those tasks.
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, with updates if permissions are provided.set-access-tokenSets or updates a Microsoft Graph access token in 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
- A Microsoft Entra tenant
- A Microsoft Entra app registration for custom app or app-only authentication
- An MCP client such as Claude Desktop
Try asking
- Create a security group called 'Sales and HR' with a dynamic rule
- What was the most expensive service in Azure last month?
- Show Intune device configuration policies assigned to the 'Call center' group
Good to know
- Updates only work if the required permissions are provided.
- By default Graph calls use the beta version unless USE_GRAPH_BETA is set to false.
- In client-provided token mode, tokens must be refreshed with set-access-token.
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 Lokka
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
Lokka: common questions
Does Lokka work with Claude Desktop?
Yes. The source says you can use Claude Desktop, or any MCP client, to make requests to your Azure and Microsoft 365 tenant through Lokka.
Which authentication methods does Lokka support?
Lokka supports interactive authentication, app-only authentication with a certificate or client secret, and client-provided tokens.
Does Lokka use the beta or v1.0 Microsoft Graph API?
It uses beta by default. Setting USE_GRAPH_BETA to false forces all Graph calls to use the stable v1.0 version.
How do I install Lokka?
In Claude Code run claude mcp add lokka -- npx -y @iflow-mcp/lokka. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Lokka the official server?
Lokka is published by npm:@iflow-mcp from its verified domain in the official MCP Registry.
Is Lokka free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Lokka 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 Lokka?
Similar MCP servers: Azure MCP Server, openstatus, SmartBear MCP, Fettle.
Does Lokka 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.
