プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

LDAP Assistant MCP

作者:droideckバージョン 0.5.0i★ –iパソコンで動く
レジストリ名io.github.droideck/ldap-assistant-mcp

インストール

概要

作者による説明(英語の原文)

MCP server for 389 Directory Server health diagnostics, log analysis, and SOS-report investigation

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: クリニック・健康
  • 入力が必要なもの:LDAP_SERVERS_CONFIG

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • 自分で入力するもの: LDAP_SERVERS_CONFIG

必要なもの

  • PyPIPythonのuvのインストール(uvxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "ldap-assistant": {
      "command": "uvx",
      "args": [
        "ldap-assistant-mcp"
      ],
      "env": {
        "LDAP_SERVERS_CONFIG": "your-value"
      }
    }
  }
}

ターミナルでこれを実行します

claude mcp add ldap-assistant --env LDAP_SERVERS_CONFIG=your-value -- uvx ldap-assistant-mcp

動かす前に、空欄の値を入力してください。

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "ldap-assistant": {
      "command": "uvx",
      "args": [
        "ldap-assistant-mcp"
      ],
      "env": {
        "LDAP_SERVERS_CONFIG": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "ldap-assistant": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "ldap-assistant-mcp"
      ],
      "env": {
        "LDAP_SERVERS_CONFIG": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • LDAP_SERVERS_CONFIG 必須 env
    Absolute path to the servers.json file describing the LDAP servers, offline instances, or SOS-report archives to analyze

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント droideck で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

クリニック・健康のほかのサーバーとの比較i

  • このカテゴリのほかの871件のうち0%よりスターが多い
  • このカテゴリのほかの871件のうち21%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの871件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

LDAP Assistant MCPは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

入力が必要なもの:LDAP_SERVERS_CONFIG

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(0.5.0)がレジストリに届いたのは4 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。

代わりに使えるものは?

同じカテゴリには:Mirobody, FHIR MCP Server, Google Health MCP

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Mirobody

作者:thetahealth

Lab results to LOINC codes and UCUM units, symptoms and diagnoses to ICPC-3. Offline, no API key.

パソコンで動く★ 1,408Apache-2.06 日前更新
インストール

FHIR MCP Server

作者:wso2

MCP server providing seamless access to FHIR APIs for AI tools and healthcare applications

パソコンで動く★ 137Apache-2.09 日前更新
インストール

Google Health MCP

作者:davidmosiah

Privacy-first unofficial Google Health API v4 MCP server for health, sleep, activity, HR agents

パソコンで動く★ 79MIT4 か月前更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

LDAP Assistant MCP

Beta — read-only 389 Directory Server diagnostics, suitable for evaluation and internal troubleshooting. Tool schemas, output formats, and configuration fields may still change before 1.0.0.

LDAP Assistant MCP turns your AI assistant into a 389 Directory Server support engineer. Point it at live servers, stopped instances, or an SOS report from a customer case, and ask:

  • *"What's wrong with my directory servers?"*
  • *"Summarize this SOS report before I open the case."*
  • *"Replication looks broken between these servers — why?"*

It answers with prioritized findings (severity, impact, remediation) from 42 read-only diagnostic tools built on lib389, the official 389 DS administration library. Privacy mode is on by default: DNs, hostnames, and IPs are redacted before anything reaches the LLM.

Supported provider: 389 Directory Server. (OpenLDAP provider code exists experimentally behind an opt-in flag, with no privacy guarantees, and is not part of the support contract — see Environment Variables.)

Install

Prerequisites
  • Linux (primary) or macOS. Windows is not supported natively (python-ldap has no official Windows wheels) — use WSL2 (see the install playbook)
  • Python 3.11+ (3.13 is what CI tests against)
  • uv package manager
  • MCP client (Claude Desktop, Claude Code, Cursor, Gemini CLI, etc.)
  • System development libraries (needed to build python-ldap):

Fedora / RHEL / CentOS:

  sudo dnf install python3-devel openldap-devel cyrus-sasl-devel openssl-devel gcc

Ubuntu / Debian:

  sudo apt install python3-dev libldap2-dev libsasl2-dev libssl-dev gcc

macOS (Homebrew):

  brew install openldap

export LDFLAGS="-L$(brew --prefix openldap)/lib" export CPPFLAGS="-I$(brew --prefix openldap)/include"

Anything failing during install? → Installation troubleshooting playbook

From PyPI (recommended)

No clone needed — your MCP client runs the published package via uvx. Skip ahead to Configure your servers, then use this client configuration (Claude Desktop: ~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{

"mcpServers": { "ldap-assistant-mcp": { "command": "uvx", "args": ["ldap-assistant-mcp"], "env": { "LDAP_SERVERS_CONFIG": "/absolute/path/to/servers.json" } } } }

Use an absolute path for LDAP_SERVERS_CONFIG — relative paths resolve against the MCP client's working directory, which is usually not where you think.

From source (development)
git clone https://github.com/droideck/ldap-assistant-mcp.git

cd ldap-assistant-mcp uv venv && source .venv/bin/activate uv pip install -e .[dev]

Register with your MCP client via FastMCP:

fastmcp install claude-desktop fastmcp.json # or: fastmcp install claude-code fastmcp.json

Then set LDAP_SERVERS_CONFIG in the generated client entry as above. See the Development Guide for test containers and architecture.

Configure your servers

Create a servers.json with your LDAP server(s). Note: the name field is never redacted in privacy mode — it is passed as-is to AI agents so they can reference servers across tool calls. Do not put hostnames, IPs, or other private information in server names.

{

"servers": [ { "name": "local-ds", "ldap_url": "ldap://localhost:389", "base_dn": "dc=example,dc=com", "bind_dn": "cn=Directory Manager", "bind_password": "your-password", "provider_type": "389ds", "is_local": true, "serverid": "localhost" }, { "name": "remote-ds", "ldap_url": "ldap://ldap.example.com:389", "base_dn": "dc=example,dc=com", "bind_dn": "cn=Directory Manager", "bind_password": "your-password", "provider_type": "389ds" }, { "name": "stopped-ds", "ldap_url": "ldap://localhost:389", "base_dn": "dc=example,dc=com", "bind_dn": "cn=Directory Manager", "bind_password": "unused-in-offline-mode", "provider_type": "389ds", "is_local": true, "serverid": "localhost", "is_offline": true }, { "name": "sos-report", "provider_type": "389ds", "is_archive": true, "archive_path": "/path/to/sosreport-host-2025/", "instance_name": "slapd-instance" } ] }

Note: serverid is the instance name *without* the slapd- prefix (e.g. localhost for the instance slapd-localhost).

The four server modes
ModeConfigWhat you get
Remoteldap_url onlyHealth, replication, performance, config, and entry tools over LDAP. No log/disk/cert access
Local+ is_local: true, serveridEverything above plus log analysis, disk monitoring, certificate checks, process metrics
Offline+ is_offline: trueA stopped local instance, analyzed via dse.ldif and log files — no LDAP connection. For post-mortems and instances that won't start
Archiveis_archive: true, archive_pathAn SOS report or config/log extract from any machine (tarball or directory, auto-detected layout). No LDAP, no local instance required

Tools that need a live connection tell you so — the error names the tools that *do* work in that server's mode, so the investigation continues instead of dead-ending.

Remote LDAPS certificate verification: remote ldaps:// servers verify the server certificate by default ("tls_verify": true, or the LDAP_TLS_VERIFY environment variable for env-based config). To connect to a server with a self-signed or otherwise untrusted certificate, set "tls_verify": false on that server entry — this disables certificate verification entirely, so use it only for trusted lab environments. Local instances (is_local: true) instead use the instance's own NSS certificate directory.

After editing the client config or servers.json, restart your MCP client, then verify: ask *"Which LDAP servers are configured?"*

Privacy mode

By default, privacy mode is enabled — sensitive data (DNs, hostnames, IPs, user details) is redacted from tool outputs. Tools that expose individual entries (get_user_details, ldap_search) are disabled; list tools return counts only. Diagnostic metrics (counts, ratios, percentages) remain visible.

To enable full data access in trusted environments only:

{

"env": { "LDAP_MCP_EXPOSE_SENSITIVE_DATA": "true" } }

Important: Only enable this with local models, private cloud LLM instances, or when working with test/sample data. Avoid enabling with public LLMs when connected to production directories — your directory information could be included in their training data or logs.

When privacy mode is enabled (default):

  • Hostnames, DNs, IP addresses, and suffixes are anonymized
  • Configuration values are redacted
  • Sensitive tools are disabled
  • Diagnostic metrics (counts, ratios, percentages) remain visible
  • Server names (the name field in servers.json) are never redacted — they are user-chosen labels that must remain stable across tool calls. Do not put hostnames, IPs, or other private information in server names.
Data handling
  • No telemetry. The server collects nothing and phones home to no one.
  • Everything runs locally. Directory data is read from your LDAP servers, local instances, or archive files and returned only to your MCP client — which forwards tool results to whatever LLM you have configured. Privacy mode (on by default) redacts sensitive values before they leave the server process.
  • Credentials stay in your local servers.json / environment variables; they are never included in tool output and tool errors are sanitized.

First questions to ask

You wantAsk / useBehind it
A health overview of everything*"What's wrong with my directory servers?"*first_look
An SOS report summarized*"Analyze the sos-report archive"* or the archive_investigation promptanalyze_archive → archive playbook
To know which tool fits a goalthe tool_navigator prompttool map for a stated goal
Guided replication triagethe diagnose_replication promptreplication tool sequence
Guided performance triagethe performance_investigation promptperformance tool sequence
A morning ops reviewthe daily_health_check prompthealth + monitoring sweep

Playbooks (symptom → tools → what they can't know → how to verify by hand):

  • Summarize an SOS report before opening the case
  • Installation troubleshooting

Tools by group

42 read-only tools — full reference with parameters in TOOLS.md.

GroupToolsHighlights
Healthfirst_look, run_healthcheck, list_healthchecks, server_healthMulti-server overview; full dsctl healthcheck equivalent
Replicationget_replication_status, get_replication_topology, check_replication_lag, list_replication_conflicts, get_agreement_statusRUV/CSN analysis, topology mapping, conflict entries
Performanceget_performance_summary, cache/connection/operation/thread/resource statisticsBottleneck detection and tuning recommendations
Indexeslist_indexes, analyze_index_configuration, find_unindexed_searchesAccess-log-driven unindexed search hunting
Configurationget_server_configuration, compare_server_configurations, list_plugins, get_backend_configurationLive and offline (dse.ldif) paths
Logsanalyze_access_log / analyze_error_log / analyze_audit_log (stats, privacy-safe), parse_*_log (full entries, requires sensitive-data mode)Traditional and JSON log formats
Archive / SOSanalyze_archive, validate_configuration, compare_dse_configsInventory, offline config lint, full dse.ldif diff
Users & Groupslist/search/inspect users, active/locked filters, groupsCount-only in privacy mode
Advancedldap_search, run_monitor, list_servers, cn=config resourcesGeneric search (sensitive-data mode only)

Environment Variable Reference

VariableDefaultPurpose
LDAP_SERVERS_CONFIG–Absolute path to servers.json (multi-server config; preferred)
LDAP_PROVIDERdirsrvServer implementation. Only dirsrv (389 DS) is supported; openldap requires the opt-in flag below
LDAP_MCP_EXPERIMENTAL_OPENLDAPfalseOpt in to the experimental OpenLDAP provider (two tools, no privacy guarantees)
LDAP_MCP_EXPOSE_SENSITIVE_DATAfalseDisable privacy mode (see Privacy Mode)
LDAP_MCP_DEBUGfalseEnable debug logging and tracebacks in tool errors
LDAP_MCP_TOOL_TIMEOUT30Per-tool-call timeout in seconds
LDAP_MCP_MAX_TOOL_TIMEOUT120Timeout ceiling for heavy tools (first_look, archive comparison, …)
LDAP_CONNECT_TIMEOUT30LDAP network/operation timeout in seconds (prevents hangs on unreachable servers)

Single-server fallback (used only when LDAP_SERVERS_CONFIG is not set):

VariableDefaultPurpose

| LDAP_URL | – | Full LDAP URL (alternative to hos

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く