Active Directory / LDAP

● Active

io.github.matteoredaelli/active-directory-ldap-mcp

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

Connect this server

One click to install, or copy the config below. Suits: Claude Desktop · Cursor.

Add to Cursor Add to VS CodeClaude Desktop / Claude Code: paste the config below.

Or add it manually — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):

{
  "mcpServers": {
    "active-directory-ldap-mcp": {
      "command": "uvx",
      "args": [
        "mcpad"
      ],
      "env": {
        "MSAD_PASSWORD": "<your MSAD_PASSWORD>"
      }
    }
  }
}
One line, from the terminal
Claude Code
claude mcp add --env MSAD_PASSWORD='<your MSAD_PASSWORD>' --transport stdio active-directory-ldap-mcp -- uvx mcpad
OpenAI Codex CLI
codex mcp add active-directory-ldap-mcp --env MSAD_PASSWORD='<your MSAD_PASSWORD>' -- uvx mcpad
VS Code
code --add-mcp '{"name":"active-directory-ldap-mcp","type":"stdio","command":"uvx","args":["mcpad"],"env":{"MSAD_PASSWORD":"<your MSAD_PASSWORD>"}}'

Syntax from each client's docs (Claude Code: claude mcp add; Codex: codex mcp add; VS Code: code --add-mcp). Placeholders in angle brackets are values you fill in.

Environment variables
  • MSAD_PASSWORDsecretBind password (user/password auth)

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Files & Storage
Version
0.8.4
Registry
active
Published
11/18/2026

On GitHub

read Nov 18, 2026
Stars
1
Forks
0
Last push
Nov 18, 2026
License
GPL-3.0

Python

From the README

mcpAD A FastMCP server that exposes the msad Active Directory / LDAP library as MCP tools. Built with Python 3.14 and uv. It reuses the typed, public msad API (search users/groups, memberships, account status, read-only security audits). All tools are read-only by default; optional group-membership write tools are disabled unless MCPADALLOWWRITE is enabled (see Write tools). Tools The findusers, findgroups, findcomputers and findous tools accept an optional base (a DN, e.g. an OU) to restrict the search to that subtree instead of the whole domain. Tool annotations Every tool advertises standard MCP behavior hints so a client can reason about its risk without parsing the name or docstring. All the tools above are read-only (readOnlyHint: true); the optional write tools (see below) are marked destructiveHint: true (and readOnlyHint: false). Returned attributes By default getuser / findusers return a useful attribute set: identity fields plus manager — the distinguished name (DN) of the user's manager, e.g. CN=Anna Bianchi,OU=Staff,DC=group,DC=example,DC=com — as well as memberOf (direct group DNs), userAccountControl, accountExpires, lastLogonTimestamp and whenCreated. Group lookups include managedBy (the DN of the group's owner), member, groupType and whenCreated. To expand a manager (or any DN-valued field) into a full record, call getbydn with that DN.…

Read the full README on GitHub →

Alternatives to Active Directory / LDAP

Best Files & Storage servers →

The most-starred Files & Storage servers in the index, with their live-check result.

ServerStarsLast pushLive check
MCP Server Filesystem39,602Oct 2026Local / not checked
OmniGet14,491Nov 2026Local / not checked
butterbase-ai MCP3,031Nov 2026Needs sign-in
CloudBase1,165Nov 2026Not an MCP endpoint
ProxmoxMCP-Plus661Nov 2026Local / not checked

Active Directory / LDAP: questions people ask

Is Active Directory / LDAP a remote or a local MCP server?
According to its entry in the official MCP registry, Active Directory / LDAP ships as a local package (PyPI) that your client starts on your machine.
Does Active Directory / LDAP need an API key?
Its registry entry declares one required environment variable: MSAD_PASSWORD. The config on this page shows where each goes.
Is Active Directory / LDAP still maintained?
Active: the repository's last commit today. Last push Nov 18, 2026, 1 GitHub stars, GPL-3.0 licence. Read from GitHub on Nov 18, 2026.
How do I add Active Directory / LDAP to Claude, Cursor or VS Code?
Copy the config in "Connect this server" into your client's MCP config file (claude_desktop_config.json, ~/.cursor/mcp.json or .vscode/mcp.json), or use the one-click Add to Cursor / Add to VS Code buttons and the one-line commands for Claude Code and Codex; then restart the client.
Browse all Files & Storage →

Add the badge to your site

Show visitors that Active Directory / LDAP is listed here — it’s also the link we check for a free listing.

Active Directory / LDAP — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-matteoredaelli-active-directory-ldap-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Active Directory / LDAP — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![Active Directory / LDAP — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-matteoredaelli-active-directory-ldap-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.