Skip to main content
Glama
MCP Active Directory Server

MCP Active Directory Server

by AlexLiAtDuo

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AD_DCYesDomain Controller hostname or IP.
AD_DOMAINNoDomain name (auto-detected if omitted).
AD_PASSWORDYesAD password.
AD_USERNAMEYesAD username (UPN or DOMAIN\user format).
AD_ENABLE_RUN_COMMANDNoEnable ad_run_command tool (disabled by default).false
AD_SKIP_CERT_VALIDATIONNoSkip TLS cert validation (self-signed certs only).

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
ad_get_dc_infoB

Get basic info about the Domain Controller (hostname, OS, uptime, services)

ad_ldap_queryC

Run an LDAP query against the DC. Returns matching objects with specified attributes.

ad_test_kerberos_authC

Test Kerberos authentication by requesting a TGT for a user. Returns success/failure and ticket info.

ad_test_ldap_bindC

Test LDAP simple bind authentication. Returns success/failure.

ad_get_user_groupsA

Get all groups a user is a direct member of (does not recurse nested groups)

ad_list_service_accountsB

List service accounts (gMSAs and accounts with "svc" in name)

ad_get_security_eventsB

Get recent Windows Security events related to authentication (4624, 4625, 4768, 4769, 4776)

ad_diagnose_winrmA

Diagnose WinRM configuration on target (listeners, firewall rules, network profile, service status). Use to troubleshoot connectivity issues.

ad_run_commandA

Run an arbitrary PowerShell command on the target DC. WARNING: DANGEROUS - disabled by default. Set AD_ENABLE_RUN_COMMAND=true to enable. All executions are audit logged.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 9 tools

Disambiguation4/5

Most tools have clearly distinct purposes: Kerberos testing, LDAP bind testing, group lookup, service-account listing, security-event retrieval, WinRM diagnosis, command execution, DC info, and generic LDAP query. The main overlap is that ad_ldap_query can be used to retrieve users, groups, or service accounts, making it somewhat interchangeable with ad_get_user_groups and ad_list_service_accounts.

Naming Consistency5/5

All tool names use the same ad_ prefix followed by a readable verb_noun or verb_resource pattern. The convention is consistent across test, get, list, diagnose, run, and query operations.

Tool Count5/5

Nine tools is a well-scoped set for an AD diagnostics and administration server. Each tool covers a distinct operational area without excessive fragmentation.

Completeness3/5

The surface covers diagnostics, authentication testing, read-only directory queries, and emergency command execution. However, common AD lifecycle operations such as creating/disabling users, resetting passwords, unlocking accounts, and modifying group membership are missing from the safe tool surface, leaving ad_run_command as the only write path.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues