Lokka (Microsoft 365 MCP server)
洛卡
Lokka 是 Microsoft Graph 和 Azure RM API 的模型上下文协议服务器,允许您使用 AI 查询和管理 Azure 和 Microsoft 365 租户。
请参阅Lokka.dev了解如何将 Lokka 与您最喜欢的 AI 模型和聊天客户端一起使用。
Lokka 允许您使用 Claude Desktop 或任何 MCP 客户端,通过 Microsoft API 使用自然语言在 Azure 和 Microsoft 365 租户中完成任务。
例如:
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 accountShow me all the Intune device configuration policies assigned to the 'Call center' groupWhat was the most expensive service in Azure last month?

入门
有关如何安装和配置 Lokka 的更多信息,请参阅文档。
Related MCP server: ms-teams-mcp
成分
工具
Lokka-Microsoft调用 Microsoft Graph 和 Azure API。支持查询 Azure 和 Microsoft 365 租户。如果提供权限,还支持更新。
输入:
apiType(字符串):要查询的 Microsoft API 类型。选项:Microsoft Graph (Entra) 为“graph”,Azure 资源管理为“azure”。path(字符串):要调用的 Azure 或 Graph API URL 路径(例如“/users”、“/groups”、“/subscriptions”)。method(字符串):要使用的 HTTP 方法(例如,get、post、put、patch、delete)apiVersion(字符串):Azure 资源管理 API 版本(apiType Azure 必需)subscriptionId(字符串):Azure 订阅 ID(用于 Azure 资源管理)。queryParams(字符串):查询参数数组,如 $filter、$select 等。所有参数都是字符串。body(JSON):请求主体(用于 POST、PUT、PATCH)
返回:Azure 或 Graph API 调用的结果。
环境变量
服务器的配置是使用环境变量完成的。需要以下环境变量:
姓名 | 描述 |
| Microsoft Entra 租户的 ID。 |
| 在Microsoft Entra中注册的应用程序的ID。 |
| 在 Microsoft Entra 中注册的应用程序的客户端机密。 |
安装
要将此服务器与 Claude Desktop 应用程序一起使用,请将以下配置添加到claude_desktop_config.json的“mcpServers”部分:
{
"mcpServers": {
"Lokka-Microsoft": {
"command": "npx",
"args": ["-y", "@merill/lokka"],
"env": {
"TENANT_ID": "<tenant-id>",
"CLIENT_ID": "<client-id>",
"CLIENT_SECRET": "<client-secret>"
}
}
}
}确保将<tenant-id> 、 <client-id>和<client-secret>替换为 Microsoft Entra 应用程序中的实际值。(有关如何创建 Entra 应用和配置代理的详细信息,请参阅安装指南。)
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceMCP server for Microsoft 365 via the Microsoft Graph API, providing read-only access to profile, calendar, email, Teams chats, OneDrive files, and meeting transcripts from any MCP client.182MIT
- FlicenseNot gradedqualityBmaintenanceMCP server providing access to Microsoft Teams chats/channels, Outlook emails, calendar events, and SharePoint files via Microsoft Graph API.
- FlicenseNot gradedqualityBmaintenanceA Model Context Protocol (MCP) server for interacting with Microsoft 365 and Microsoft Office services through the Graph API.
Related MCP Connectors
Official Microsoft MCP Server to query Microsoft Entra data using natural language
Read-only MCP server for ClassQuill, a tutoring-business-management platform.
The official MCP Server from Mia-Platform to interact with Mia-Platform Console
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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