mcpAD MCP
A FastMCP server exposing the msad Active Directory / LDAP library as MCP tools. It allows agents to query AD resources including users, groups, computers, and organizational units. The server supports read-only security audits, such as finding inactive users, stale computers, and accounts with security risks like Kerberos pre-auth issues or shadow credentials. Optional write tools for group membership are disabled by default.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Find users by name, mail, or department
- Audit inactive users and stale computers
- List domain trust relationships and FSMO roles
- Identify accounts with security risks like shadow credentials
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
mcpad 0.8.4
{
"version": "0.8.4",
"transport": "stdio",
"identifier": "mcpad",
"runtimeHint": "uvx",
"registryType": "pypi",
"environmentVariables": [
{
"name": "MSAD_DOMAIN",
"format": "string",
"description": "Default AD domain (section of ~/.msad.toml) when a tool call omits it"
},
{
"name": "MSAD_HOST",
"format": "string",
"description": "Domain controller host (alternative to ~/.msad.toml)"
},
{
"name": "MSAD_BASE",
"format": "string",
"description": "LDAP base DN, e.g. dc=example,dc=com"
},
{
"name": "MSAD_USER",
"format": "string",
"description": "Bind user (user/password auth)"
},
{
"name": "MSAD_PASSWORD",
"format": "string",
"description": "Bind password (user/password auth)"
},
{
"name": "MCPAD_ALLOW_WRITE",
"format": "string",
"description": "Set truthy to enable group-membership write tools (default: read-only)"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"mcpad-mcp": {
"command": "uvx",
"args": [
"mcpad==0.8.4"
],
"env": {
"MSAD_DOMAIN": "<YOUR_MSAD_DOMAIN>",
"MSAD_HOST": "<YOUR_MSAD_HOST>",
"MSAD_BASE": "<YOUR_MSAD_BASE>",
"MSAD_USER": "<YOUR_MSAD_USER>",
"MSAD_PASSWORD": "<YOUR_MSAD_PASSWORD>",
"MCPAD_ALLOW_WRITE": "<YOUR_MCPAD_ALLOW_WRITE>"
}
}
}
}Cline
{
"mcpServers": {
"mcpad-mcp": {
"command": "uvx",
"args": [
"mcpad==0.8.4"
],
"env": {
"MSAD_DOMAIN": "<YOUR_MSAD_DOMAIN>",
"MSAD_HOST": "<YOUR_MSAD_HOST>",
"MSAD_BASE": "<YOUR_MSAD_BASE>",
"MSAD_USER": "<YOUR_MSAD_USER>",
"MSAD_PASSWORD": "<YOUR_MSAD_PASSWORD>",
"MCPAD_ALLOW_WRITE": "<YOUR_MCPAD_ALLOW_WRITE>"
}
}
}
}VS Code
{
"servers": {
"mcpad-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"mcpad==0.8.4"
],
"env": {
"MSAD_DOMAIN": "<YOUR_MSAD_DOMAIN>",
"MSAD_HOST": "<YOUR_MSAD_HOST>",
"MSAD_BASE": "<YOUR_MSAD_BASE>",
"MSAD_USER": "<YOUR_MSAD_USER>",
"MSAD_PASSWORD": "<YOUR_MSAD_PASSWORD>",
"MCPAD_ALLOW_WRITE": "<YOUR_MCPAD_ALLOW_WRITE>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"mcpad-mcp": {
"command": "uvx",
"args": [
"mcpad==0.8.4"
],
"env": {
"MSAD_DOMAIN": "<YOUR_MSAD_DOMAIN>",
"MSAD_HOST": "<YOUR_MSAD_HOST>",
"MSAD_BASE": "<YOUR_MSAD_BASE>",
"MSAD_USER": "<YOUR_MSAD_USER>",
"MSAD_PASSWORD": "<YOUR_MSAD_PASSWORD>",
"MCPAD_ALLOW_WRITE": "<YOUR_MCPAD_ALLOW_WRITE>"
}
}
}
}Let your agent find its tools
Find servers like mcpAD MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.