Skip to main content
Glama
fredriksknese

mcp-activedirectory

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AD_HOSTNoDomain controller hostname or IP address
AD_PORTNoLDAP port (636 for LDAPS)389
AD_BASE_DNNoBase DN for all searches, e.g. DC=corp,DC=example,DC=com
AD_BIND_DNNoBind DN, e.g. CN=svc-mcp,OU=Service Accounts,DC=corp,DC=example,DC=com
AD_USE_SSLNoUse LDAPS (true/false)false
AZURE_CLIENT_IDNoApp registration (client) ID
AZURE_TENANT_IDNoAzure AD tenant ID (GUID)
AD_BIND_PASSWORDNoBind account password
AZURE_CLIENT_SECRETNoApp registration client secret
AD_ALLOW_SELF_SIGNEDNoAccept self-signed TLS certificatestrue

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_usersC

List Active Directory or Azure AD users with optional filters. Supports filtering by name, email, or department.

get_userA

Get full details of a specific user. For on-prem AD use sAMAccountName; for Azure AD use UPN or object ID.

get_user_groupsB

List all groups a user is a member of (direct and via memberOf attribute).

search_usersB

Advanced user search by any field: name, email, department, job title, or phone number.

list_groupsB

List Active Directory or Azure AD groups with optional name filter.

get_groupA

Get full details of a specific group including member count. For on-prem AD use CN or sAMAccountName; for Azure AD use display name or object ID.

get_group_membersA

List all members of a group with user details. Supports recursive expansion of nested groups for on-prem AD.

search_groupsC

Search groups by name or description.

list_computersC

List computer accounts in Active Directory with OS, last logon, and OU information.

get_computerB

Get full details of a specific computer account by name.

search_computersC

Search computer accounts by name, operating system, or organizational unit path.

list_ousB

List organizational units (OUs) in Active Directory with their full path and details.

get_ouB

Get details of a specific organizational unit including child object counts.

search_ousC

Search organizational units by name or description.

list_devicesB

List devices registered or joined in Azure AD / Entra ID with OS and compliance status.

get_deviceA

Get full details of a specific Entra ID device by its object ID.

list_service_principalsB

List app registrations and service principals (enterprise applications) in Azure AD / Entra ID.

get_user_sign_in_activityA

Get last sign-in information for a user in Azure AD / Entra ID. Requires AuditLog.Read.All permission.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/fredriksknese/mcp-activedirectory'

If you have feedback or need assistance with the MCP directory API, please join our Discord server