Skip to main content
Glama

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 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 的更多信息,请参阅文档。

成分

工具

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

-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Lokka 是 Microsoft Graph API 的 MCP 服务器,可用于查询和更新 Microsoft 365 租户中的所有资源。

此 MCP 服务器支持所有 Microsoft Graph API,包括更新操作(受您授予应用程序的权限限制)。

  1. 入门
    1. 成分
      1. 工具
      2. 环境变量
    2. 安装

      Related MCP Servers

      • A
        security
        F
        license
        A
        quality
        A Model Context Protocol server that connects AI assistants to Bloom Growth's GraphQL API, enabling them to query data and execute operations against the Bloom Growth platform.
        Last updated -
        4
        Python
      • -
        security
        A
        license
        -
        quality
        Enables management of Azure Cloud PCs using the Microsoft Graph API, allowing users to list available Cloud PCs in their tenant through Claude Desktop.
        Last updated -
        Python
        MIT License
      • -
        security
        A
        license
        -
        quality
        A server that enables AI models to access Kakao Map features (place search, address lookup, route finding) and Daum search services (web, image, blog, cafe) through Model Context Protocol.
        Last updated -
        3
        TypeScript
        MIT License
      • A
        security
        A
        license
        A
        quality
        A Model Context Protocol server for querying and analyzing Azure resources at scale using Azure Resource Graph, enabling AI assistants to explore and monitor Azure infrastructure.
        Last updated -
        1
        5
        TypeScript
        MIT License
        • Linux
        • Apple

      View all related MCP servers

      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