Skip to main content
Glama
merill

Lokka (Microsoft 365 MCP server)

by merill

洛卡

npm 版本

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 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?

Lokka 如何工作?

入门

有关如何安装和配置 Lokka 的更多信息,请参阅文档。

Related MCP server: ms-teams-mcp

成分

工具

  1. 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 调用的结果。

环境变量

服务器的配置是使用环境变量完成的。需要以下环境变量:

姓名

描述

TENANT_ID

Microsoft Entra 租户的 ID。

CLIENT_ID

在Microsoft Entra中注册的应用程序的ID。

CLIENT_SECRET

在 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 应用和配置代理的详细信息,请参阅安装指南。)

A
license - permissive license
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
57dResponse time
Release cycle
Releases (12mo)
Commit activity
Issues opened vs closed

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

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Appeared in Searches

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