Active Directory / LDAP

v0.10.0
io.github.matteoredaelli/active-directory-ldap-mcp Checked 10 hours ago Published 1 day ago

Active Directory / LDAP MCP server: find users, groups, memberships; read-only security audits.

Values you need

VariableWhat it is
MSAD_DOMAINoptional Default AD domain (section of ~/.msad.toml) when a tool call omits it
MSAD_HOSToptional Domain controller host (alternative to ~/.msad.toml)
MSAD_BASEoptional LDAP base DN, e.g. dc=example,dc=com
MSAD_USERoptional Bind user (user/password auth)
MSAD_PASSWORDoptional secret Bind password (user/password auth)
MCPAD_ALLOW_WRITEoptional Set truthy to enable group-membership write tools (default: read-only)

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add active-directory-ldap-mcp -- uvx mcpad==0.10.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "active-directory-ldap-mcp": {
      "args": [
        "mcpad==0.10.0"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "active-directory-ldap-mcp": {
      "args": [
        "mcpad==0.10.0"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "active-directory-ldap-mcp": {
      "args": [
        "mcpad==0.10.0"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.active-directory-ldap-mcp]
command = "uvx"
args = ["mcpad==0.10.0"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: test_connection, whoami, get_rootdse_info, health, find_users, get_user, find_groups, get_group, ….
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json