Skip to main content
Glama

Lokka (Microsoft 365 MCP server)

intro.md1.99 kB
--- sidebar_position: 1 title: 🤖 Introduction --- ## What is Lokka? Lokka is a simple yet powerful middleware that connects AI language models (like ChatGPT or Claude) to your Azure and Microsoft 365 tenant using the Azure and Microsoft Graph APIs. This allows you to perform administrative tasks using natural language queries. :::info In technical terms, Lokka is an implementation of the [Model Context Protocol](https://modelcontextprotocol.io/introduction) (MCP) for the Microsoft Graph and Azure APIs. ::: Here's a quick demo. Read on to learn how to set this up on your own machine. <img src="https://github.com/merill/lokka/blob/main/assets/lokka-demo-1.gif?raw=true" alt="Lokka Demo - user create demo" width="500"/> ### Sample queries Here are some examples of queries you can use with Lokka. - `Create a new security group called 'Sales and HR' with a dynamic rule based on the department attribute.` - `Find all the 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` - `What was the most expensive service in Azure last month?` You can ask Lokka to do anything that Microsoft Graph can do which includes support for Entra, Intune, Teams and SharePoint. In addition to graph you can also work with your Azure resources as well. :::note The agent will only be able to perform the actions based on the Graph and Azure permissions you grant it. ::: ## What is MCP? [Model Context Protocol](https://modelcontextprotocol.io/introduction) (MCP) is an open protocol that enables AI models to securely interact with local and remote resources through standardized server implementations. Lokka is an implementation of the MCP protocol for the Microsoft Graph API. ![How does Lokka work?](./assets/how-does-lokka-mcp-server-work.png) ## Getting started Want to try Lokka? It's easy to get started! Check out the [installation guide](./install).

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/merill/lokka'

If you have feedback or need assistance with the MCP directory API, please join our Discord server