Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Lokka

MCP server by merill Verified · npm:@bugroger

Lokka is a Model Context Protocol server that lets AI assistants query and manage Microsoft Graph and Azure Resource Manager APIs. It is aimed at people who administer Azure and Microsoft 365 tenants.

  • Score 78
  • 317 stars
  • 14 a week
  • MIT
  • Updated

Install Lokka

Built from the published package, never by AI.

claude mcp add lokka -- npx -y @bugroger/lokka

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Lokka in Claude Code

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 an AI client, such as Claude Desktop or any MCP client, use natural language to query and manage an Azure and Microsoft 365 tenant. The source gives examples such as creating a dynamic security group, finding conditional access policies, and checking the most expensive Azure service last month.

Lokka runs through npx as the package @merill/lokka. It supports interactive login, app-only authentication with a certificate or client secret, and client-provided access tokens. Its main tool, Lokka-Microsoft, sends HTTP requests to Graph or Azure paths. The server defaults to the Graph beta endpoint, and USE_GRAPH_BETA=false forces v1.0. It is intended for administrators and developers working with Microsoft Entra, Intune, and Azure.

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.
  • add-graph-permissionRequests additional Microsoft Graph permission scopes interactively.

What you need

  • A Microsoft Entra tenant
  • Microsoft Entra app registration for custom or app-only auth
  • Node.js to run npx
  • An MCP client such as Claude Desktop

Try asking

  • Create a new security group called Sales and HR with a dynamic rule
  • Find all conditional access policies that exclude the emergency access account
  • Show me all Intune device configuration policies assigned to a group

Good to know

  • Graph calls default to the beta endpoint unless USE_GRAPH_BETA=false is set.
  • Updates to the tenant only work if the required permissions are provided.

Security check

A

No 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 microsoft
100

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.

AAA Local 261k/wk
openstatus openstatusHQ
98

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.

ACA Remote 9.3k
SmartBear MCP SmartBear
97

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.

AAC Local and remote 17k/wk
Fettle fettlesh
97

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.

AAC Local and remote 22k/wk
Superlog superloglabs
95

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.

AAA Remote 1.5k
Microsoft Learn MCP MicrosoftDocs
94

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.

ACA Remote 2k

Compare with Azure MCP Server, openstatus or SmartBear MCP

Lokka: common questions

Does Lokka work with Azure as well as Microsoft 365?

Yes. The Lokka-Microsoft tool supports apiType graph for Microsoft Graph and azure for Azure Resource Management.

Which authentication methods does Lokka support?

The source lists interactive auth, app-only auth with a certificate or client secret, and client-provided tokens.

Is Lokka free?

The source says Lokka is free and ad-free, with no investors behind it, and invites sponsorship on GitHub.

How do I install Lokka?

In Claude Code run claude mcp add lokka -- npx -y @bugroger/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:@bugroger 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.

Add to stack

Loading.