Skip to main content
Glama
drifthoundhq

DriftHound MCP Server

Official
by drifthoundhq

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DRIFTHOUND_API_URLYesBase URL of your DriftHound instance
DRIFTHOUND_API_TOKENYesAPI token from DriftHound admin UI

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_projects_with_driftA

List all projects that have environments with drift or error status. Returns project keys, names, repositories, branches, and the number of environments in drift or error state. Use this to discover which projects need attention.

list_environmentsA

List all environments for a specific project with their current status (ok, drift, error, unknown). Optionally filter by status to find only drifting environments. Returns environment keys, names, directories, and last drift check summary.

get_drift_detailsA

Get the latest drift check details for an environment including the full Terraform/Terragrunt plan output (raw_output). This shows exactly what resources will be added, changed, or destroyed. Essential for understanding what needs to be fixed.

get_environment_infoA

Get detailed information about an environment including its GitHub repository URL, branch, and directory path. Use this to know where to find and clone the IaC code for remediation.

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/drifthoundhq/mcp-server'

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