原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 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 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 诊所与健康
  • 你需要填写:LDAP_SERVERS_CONFIG

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: LDAP_SERVERS_CONFIG

你需要

  • PyPI已安装 Python 的 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月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 droideck 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“诊所与健康”中的其他服务器比较i

  • 星标数多于此分类中其他 1022 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 1022 个服务器的 19% 更新
  • 基础检查结果等于或优于此分类中其他 1022 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

LDAP Assistant MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:LDAP_SERVERS_CONFIG

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.5.0)于4个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Mirobody, FHIR MCP Server, Google Health MCP

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况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.0今天更新
安装

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