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.
Install Lokka
Built from the published package, never by AI.
claude mcp add lokka -- npx -y @bugroger/lokkaRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"lokka": {
"args": [
"-y",
"@bugroger/lokka"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"lokka": {
"args": [
"-y",
"@bugroger/lokka"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"lokka": {
"args": [
"-y",
"@bugroger/lokka"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add lokka -- npx -y @bugroger/lokka{
"mcpServers": {
"lokka": {
"args": [
"-y",
"@bugroger/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 @bugroger/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 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
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 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.
