Config Drift Guard MCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Config Drift Guard MCPcompare my dev.yaml and prod.yaml for configuration drifts"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Config Drift Guard MCP
A read-only Model Context Protocol server for comparing environment configuration without exposing detected secrets.
Capabilities
Parse
.env, YAML, JSON, and Java Properties files.Normalize nested configuration into stable key paths.
Detect added, removed, type-changed, value-changed, and secret-changed entries.
Mask likely credentials, private keys, bearer tokens, and credential-bearing URLs.
Restrict file access to explicitly allowed directories.
Run entirely locally without network requests.
Related MCP server: FS Context MCP Server
Tools
inspect_config
Parse one file and return normalized entries, value types, warnings, and protected values.
compare_configs
Compare a baseline file with a target file and return drift items with risk levels.
scan_secrets
Find likely plaintext secrets while returning only masks and SHA-256 fingerprints.
Install
npm install
npm run buildNode.js 20 or later is required.
Configure
Set CONFIG_DRIFT_ALLOWED_ROOTS to one or more directories. Use the operating system path delimiter (; on Windows, : on Linux and macOS).
# Windows PowerShell
$env:CONFIG_DRIFT_ALLOWED_ROOTS='D:\configs\dev;D:\configs\prod'
node dist/index.js# Linux or macOS
CONFIG_DRIFT_ALLOWED_ROOTS=/srv/config/dev:/srv/config/prod node dist/index.jsIf the variable is omitted, only the current working directory is allowed.
MCP Client Configuration
{
"mcpServers": {
"config-drift-guard": {
"command": "node",
"args": ["/absolute/path/config-drift-guard-mcp/dist/index.js"],
"env": {
"CONFIG_DRIFT_ALLOWED_ROOTS": "/absolute/path/configs"
}
}
}
}Example
The repository includes examples/dev.yaml and examples/prod.yaml.
compare_configs({
"baselineFile": "/absolute/path/examples/dev.yaml",
"targetFile": "/absolute/path/examples/prod.yaml"
})The result distinguishes missing keys, type drift, ordinary value drift, and secret fingerprint changes. Detected secret plaintext is never returned.
Paired Skill
skills/config-drift-remediation converts MCP evidence into:
Expected-environment differences.
Prioritized defects.
Secret-rotation recommendations.
Key-level patch guidance.
A post-change verification checklist.
Security Model
Read-only tools.
No network access.
No expression or script execution.
Maximum input file size of 5 MiB.
Allowed-directory enforcement.
Secret masks and one-way fingerprints only.
No configuration plaintext logging.
Development
npm test
npm run build
npm pack --dry-runLicense
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- -license-quality-maintenanceA secure MCP server enabling read-only access and file search capabilities within a specified directory, while respecting .gitignore patterns.Last updated
- Alicense-qualityCmaintenanceA secure, read-only MCP server that enables filesystem scanning, searching with glob patterns and regex, file reading, and batch operations with comprehensive path validation and security protections.Last updated2389MIT
- Alicense-qualityCmaintenanceA secure MCP server for local API credential management using JSON storage and a read-only default mode. It allows users to list, retrieve, and manage credentials via simple command-line tools and environment-based configuration.Last updatedMIT
- AlicenseBqualityDmaintenanceA secure, read-only MCP server for browsing and searching files in a specified directory with path traversal protection and .gitignore support.Last updated3MIT
Related MCP Connectors
Monitor MCP servers, API contracts and AI outputs for schema drift. Alerts on breaking changes.
An MCP server for deep research or task groups
A MCP server built for developers enabling Git based project management with project and personal…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/xiaohuxi/config-drift-guard-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server