ad-mcp-server
Verified Safeby andreransom58-coder
Overview
Manage Microsoft Active Directory user accounts (create, modify, enable/disable, delete, reset passwords, search) via a Model Context Protocol (MCP) server.
Installation
npx @modelcontextprotocol/inspector python -m src.mainEnvironment Variables
- AD_SERVER
- AD_PORT
- AD_USE_SSL
- AD_DOMAIN
- AD_BASE_DN
- AD_BIND_DN
- AD_BIND_PASSWORD
- AD_USE_INTEGRATED_AUTH
- AD_TIMEOUT
- AD_CONNECTION_POOL_SIZE
- AD_RECONNECT_ATTEMPTS
- AD_VERIFY_CERT
- AD_CERT_PATH
Security Notes
Strong input validation and LDAP filter escaping (`escape_ldap_filter`) are implemented to prevent LDAP injection. Uses LDAPS by default with certificate verification. The README explicitly warns against hardcoding secrets and recommends least-privilege service accounts configured via the `.env` file. Logging of AD actions is present. No 'eval' or obfuscation detected. A minor note is that dedicated audit logging to a separate file (as suggested by README) isn't explicitly configured in the provided snippets, but actions are logged via standard logging.
Similar Servers
mcphub
An orchestration hub that aggregates, manages, and routes Model Context Protocol (MCP) servers and their tools, providing a centralized interface, user management, OAuth 2.0 authorization server capabilities, and AI-powered tool discovery and routing.
toolhive-studio
ToolHive is a desktop application (Electron UI) for discovering, deploying, and managing Model Context Protocol (MCP) servers in isolated containers, and connecting them to AI agents and clients.
mmcp
Manages Model Context Protocol (MCP) server definitions in a central configuration and applies them to various AI agent tools.
agent-identity-management
A production-ready identity verification and security platform for AI agents and Model Context Protocol (MCP) servers, providing cryptographic identity, access control, and real-time threat detection.