Feedback

Lokka (Microsoft Graph) MCP Server

@merill Claim

Basic information

Runtime
JavaScript
Version
1.0.0
License
MIT
Transports
stdio
Author
merill
Submitted by
Community
Quality
25
Stars
226

About Lokka (Microsoft Graph) MCP Server

Lokka (Microsoft Graph) — Conversational bridge to manage Microsoft 365 tenants via natural language, no complex API calls required.

Lokka (Microsoft Graph) is a MCP server in the Cloud Infrastructure category listed in the AddMCP.net directory, published by merill. Supported transport: stdio. Runtime: JavaScript. License: MIT. The repository has 226 GitHub stars. Source code is hosted on github.com. Related topics: ai-assistant, cloud-infrastructure, community, developer-tools, mcp-server.

Setup

{
    "mcpServers": {
        "Lokka-Microsoft": {
            "command": "npx",
            "args": [
                "-y",
                "@merill/lokka"
            ],
            "env": {
                "TENANT_ID": "<tenant-id>",
                "CLIENT_ID": "<client-id>",
                "CLIENT_SECRET": "<client-secret>"
            }
        }
    }
}

Lokka (Microsoft Graph) MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "Lokka-Microsoft": {
            "command": "npx",
            "args": [
                "-y",
                "@merill/lokka"
            ],
            "env": {
                "TENANT_ID": "<tenant-id>",
                "CLIENT_ID": "<client-id>",
                "CLIENT_SECRET": "<client-secret>"
            }
        }
    }
}

Lokka (Microsoft Graph) MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Lokka (Microsoft Graph)?

Lokka is a Model Context Protocol (MCP) server for the Microsoft Graph API. It lets you query and manage your Microsoft 365 tenant using natural language through any MCP-compatible client, such as Claude Desktop.

How to use Lokka (Microsoft Graph)?

Install Node.js, clone the Lokka GitHub repository, create an Entra application with appropriate Microsoft Graph application permissions, and generate a client secret. Build the project with npm install and npm run build, then configure your MCP client’s JSON file with the absolute path to build/main.js and the tenant ID, client ID, and client secret environment variables.

Key features of Lokka (Microsoft Graph)

  • Natural language queries to the Microsoft Graph API
  • Works with any MCP‑compatible client (e.g., Claude Desktop)
  • Secure app‑only authentication via Entra ID
  • Customizable permissions per MCP tool
  • Manages users, groups, policies, and Intune devices

Use cases of Lokka (Microsoft Graph)

  • Create and manage security groups with dynamic membership rules
  • Audit conditional access policies for security gaps
  • View and modify user attributes across the tenant
  • Manage Intune device configuration policies assigned to groups

Frequently asked questions

1 What prerequisites are needed to use Lokka?

You need Node.js installed, a local clone of the Lokka repository, an Entra (Azure AD) app registration with Microsoft Graph application permissions, and a client secret.

2 How do I grant Microsoft Graph permissions to the Entra app?

In the Azure portal, open your app registration, go to API permissions, add Microsoft Graph application permissions, then grant admin consent for your organization.

3 How do I configure Lokka with Claude Desktop?

Edit the claude_desktop_config.json file to include a new mcpServers.lokka entry with the command node, args pointing to the absolute path of build/main.js, and environment variables for TENANT_ID, CLIENT_ID, and CLIENT_SECRET.

4 Do I need to restart Claude Desktop after changing the configuration?

Yes. On Windows, make sure to fully quit Claude from the system tray (right‑click and select Quit) before restarting, so the new configuration takes effect.

5 How can I verify that Lokka is working correctly?

After restarting Claude Desktop, look for a hammer icon in the chat window. You can then try sample queries like “Get all users” or “Show me the details for John Doe.”

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬