MCP, MCP server
ActiveDirectoryMCP
A Model Context Protocol (MCP) server that exposes Active Directory (LDAP) administration and auditing to MCP clients such as Claude Desktop, Claude Code and Cursor.
Compatibility: Not stated.
Grade B
Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV PERMISSION_SHELL_DECLARED SECRETS_ENV_READ OBFUSCATION_FILE_OVER_READ_CAP
Why this grade
- NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
scripts/run_tests_with_ldap.sh, line 76
with socket.create_connection((HOST, PORT), timeout=1): - SECRETS_PATH_DOTENV Low
Mentions a .env file.
start_http_server.sh, line 19
# Load environment variables from .env, if present (see .env.example) - PERMISSION_SHELL_DECLARED Note
Runs shell commands, and the manifest or description says so.
scripts/ai_residue_scan.py, line 54
out = subprocess.run( - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
src/active_directory_mcp/config/loader.py, line 160
vault_url = os.getenv("AZURE_KEYVAULT_URL") - OBFUSCATION_FILE_OVER_READ_CAP Note
A file was over the read cap and was not fully read.
uv.lock, line 1
version = 1
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Note
requests shell access. The manifest names this permission.
PERMISSION_SHELL_DECLARED
scripts/ai_residue_scan.py, line 54
out = subprocess.run(
scripts/ai_residue_scan.py, line 93
out = subprocess.run(
scripts/ai_residue_scan.py, line 124
out = subprocess.run(
Show more
scripts/secret_scan.py, line 117
def _git(repo: Path, *args: str) -> subprocess.Popen: # type: ignore[type-arg]
scripts/secret_scan.py, line 119
return subprocess.Popen(
scripts/secret_scan.py, line 167
out = subprocess.run(
scripts/secret_scan.py, line 238
images = subprocess.run(
scripts/secret_scan.py, line 265
res = subprocess.run(cmd, capture_output=True, check=False)
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
scripts/run_tests_with_ldap.sh, line 76
with socket.create_connection((HOST, PORT), timeout=1):
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
start_http_server.sh, line 19
# Load environment variables from .env, if present (see .env.example)
start_http_server.sh, line 20
if [ -f ".env" ]; then
src/active_directory_mcp/config/loader.py, line 160
vault_url = os.getenv("AZURE_KEYVAULT_URL")
Show more
start_http_server.sh, line 21
echo "Loading environment variables from .env"
start_http_server.sh, line 23
source .env
start_server.sh, line 19
# Load environment variables from .env, if present (see .env.example)
start_server.sh, line 20
if [ -f ".env" ]; then
start_server.sh, line 21
echo "Loading environment variables from .env"
start_server.sh, line 23
source .env
src/active_directory_mcp/config/loader.py, line 161
username_secret_name = os.getenv("AZURE_KEYVAULT_SECRET_USERNAME")
src/active_directory_mcp/config/loader.py, line 162
password_secret_name = os.getenv("AZURE_KEYVAULT_SECRET_PASSWORD")
src/active_directory_mcp/config/loader.py, line 196
env_password = os.getenv("AD_PASSWORD")
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Note
a file was over the read cap and was not fully read.
OBFUSCATION_FILE_OVER_READ_CAP
uv.lock, line 1
version = 1
Licence
Pass
A licence file is present (LICENSE).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit 7abada2db243. requests shell access. The manifest names this permission. can reach a host that is not written as a fixed address. reads a credential or environment file. a file was over the read cap and was not fully read.
Date and source
Date checked:
github.com
Commit graded: 7abada2db243ead748f0ca8c36dd033757f40cad
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.