loaditout.ai
SkillsPacksTrendingLeaderboardAPI DocsBlogSubmitRequestsCompareAgentsXPrivacyDisclaimer
{}loaditout.ai
Skills & MCPPacksBlog

LdapDrive

MCP Tool

yotsuda/LdapDrive

PowerShell Provider for LDAP directories. Browse LDAP as a virtual filesystem. Works as a full Read/Write LDAP MCP server via PowerShell.MCP.

Install

$ npx loaditout add yotsuda/LdapDrive

Platform-specific configuration:

.claude/settings.json
{
  "mcpServers": {
    "LdapDrive": {
      "command": "npx",
      "args": [
        "-y",
        "LdapDrive"
      ]
    }
  }
}

Add the config above to .claude/settings.json under the mcpServers key.

About

LdapDrive

PowerShell provider that lets you browse and manage LDAP directories as a virtual filesystem.

PS C:\> Import-LdapConfig            # mount drives from config
PS LDAP:\> dir                       # list entries
PS LDAP:\> cd ou=Users               # navigate
PS LDAP:\ou=Users> cat uid=jdoe      # view attributes (LDIF)
PS LDAP:\ou=Users> mkdir ou=NewTeam  # create entry
Features
  • Filesystem navigation - cd, dir, ls, tree with full tab completion
  • Standard commands - mkdir, ren, move, del for LDAP entry operations
  • Get-Content - View entry attributes in LDIF format
  • Get/Set-ItemProperty - Read and write individual attributes
  • Search-LdapEntry - LDAP filter search with paging, property selection, and pipeline output
  • Pipeline integration - Search-LdapEntry | Set-LdapAttribute for bulk updates
  • Schema browsing - Get-LdapSchema to inspect objectClasses and attributeTypes
  • Tab completion - Attribute names, schema names, and drive names auto-complete from the server
  • Lazy connection - Drives mount instantly; connection is established on first access
  • Cross-platform - Works on Windows and Linux (PowerShell 7.4+)
Requirements
  • PowerShell 7.4 or later (Core edition)
  • On Linux: libldap2 package (sudo apt-get install libldap2)
Installation
From source
git clone https://github.com/yotsuda/LdapDrive.git
cd LdapDrive
dotnet build src/LdapDrive/LdapDrive.csproj -c Release

Copy the build output and module files to your PowerShell modules directory:

$dest = "$env:ProgramFiles\PowerShell\7\Modules\LdapDrive"
New-Item -ItemType Directory -Force $dest
Copy-Item src/LdapDrive/bin/Release/net8.0/LdapDrive.dll $dest
Copy-Item module/* $dest -Recurse
Configuration
Quick start with New-LdapDrive
$cred = Get-Credential
New-LdapDrive -Server ldap.example.com -BaseDn "dc=example,dc=com" -Credential $cred -Au

Tags

active-directorycross-platformldapmcppowershellpsprovider

Reviews

Loading reviews...

Quality Signals

0
Installs
Last updated20 days ago
Security: AREADME

Safety

Risk Levelmedium
Data Access
read
Network Accessnone

Details

Sourcegithub-crawl
Last commit4/1/2026
View on GitHub→

Embed Badge

[![Loaditout](https://loaditout.ai/api/badge/yotsuda/LdapDrive)](https://loaditout.ai/skills/yotsuda/LdapDrive)