Active Directory / LDAP
v0.10.0Active Directory / LDAP MCP server: find users, groups, memberships; read-only security audits.
Values you need
| Variable | What it is | |
|---|---|---|
MSAD_DOMAIN | optional | Default AD domain (section of ~/.msad.toml) when a tool call omits it |
MSAD_HOST | optional | Domain controller host (alternative to ~/.msad.toml) |
MSAD_BASE | optional | LDAP base DN, e.g. dc=example,dc=com |
MSAD_USER | optional | Bind user (user/password auth) |
MSAD_PASSWORD | optional secret | Bind password (user/password auth) |
MCPAD_ALLOW_WRITE | optional | 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.0Add 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
- 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).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: test_connection, whoami, get_rootdse_info, health, find_users, get_user, find_groups, get_group, ….
- 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