ML

merill/lokka

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

318 stars 83 forks 品質 78 トレンド 9MIT

merill/lokka は、https://github.com/merill/lokka. からインポートされたMCPサーバー候補です。

概要

merill/lokka は、https://github.com/merill/lokka. からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

LokkaはMicrosoft GraphおよびAzure RM API向けのモデル・コンテキスト・プロトコルサーバーで、AIを用いてAzureおよびMicrosoft 365のテナントをクエリ・管理できます。

お気に入りのAIモデルやチャットクライアントでLokkaを使う方法については、ご参照 Lokka.dev をご覧ください。

LokkaはClaude Desktopや他のMCPクライアントを使って、自然言語を使ってAzureやMicrosoft 365のテナントでMicrosoft APIを通じて作業を行えます。

例:

  • 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アプリを使っています。

カスタムアプリによるインタラクティブ認証

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Lokka

Lokka is a model-context-protocol server for the Microsoft Graph and Azure RM APIs that allows you to query and manage your Azure and Microsoft 365 tenants with AI.

Please see Lokka.dev for how to use Lokka with your favorite AI model and chat client.

Lokka lets you use Claude Desktop, or any MCP Client, to use natural language to accomplish things in your Azure and Microsoft 365 tenant through the Microsoft APIs.

e.g.:

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

Authentication Methods

Lokka now supports multiple authentication methods to accommodate different deployment scenarios:

Interactive Auth

For user-based authentication with interactive login, you can use the following configuration:

This is the simplest config and uses the default Lokka app.

{
  "mcpServers": {
    "Lokka-Microsoft": {
      "command": "npx",
      "args": ["-y", "@merill/lokka"]
    }
  }
}

Interactive auth with custom app

If you wish to use a custom Microsoft Entra app, you can create a new app registration in Microsoft Entra and configure it with the following environment variables:

{
  "mcpServers": {
    "Lokka-Microsoft": {
      "command": "npx",
      "args": ["-y", "@merill/lokka"],
      "env": {
        "TENANT_ID": "",
        "CLIENT_ID": "",
        "USE_INTERACTIVE": "true"
      }
    }
  }
}

App-Only Auth

Traditional app-only authentication. You can use either certificate (recommended) or client secret authentication with the following configuration.

See Install Guide for more details on how to create an Entra app.

App-Only Auth with Certificate

GitHub で README 全文を見る

インストール

npx -y @merill/lokka
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "Lokka-Microsoft": { "command": "npx", "args": ["-y", "@merill/lokka"] } } }