# Envark ## Docs - [generate_env_template](https://mintlify.wiki/kstij/Envark/api/generate-env-template.md): Generate a complete .env.example file from codebase analysis - [get_duplicates](https://mintlify.wiki/kstij/Envark/api/get-duplicates.md): Find conflicting definitions and similar variable names - [get_env_graph](https://mintlify.wiki/kstij/Envark/api/get-env-graph.md): Returns the dependency graph of environment variables - [get_env_map](https://mintlify.wiki/kstij/Envark/api/get-env-map.md): Returns the complete environment variable map for the project with optional filtering - [get_env_risk](https://mintlify.wiki/kstij/Envark/api/get-env-risk.md): Returns environment variables sorted by risk score with detailed issue explanations - [get_env_usage](https://mintlify.wiki/kstij/Envark/api/get-env-usage.md): Deep dive into a specific environment variable showing all usage details - [get_missing_envs](https://mintlify.wiki/kstij/Envark/api/get-missing-envs.md): Returns environment variables used in code that will cause runtime crashes - [get_undocumented](https://mintlify.wiki/kstij/Envark/api/get-undocumented.md): Returns environment variables not present in .env.example or lacking documentation - [validate_env_file](https://mintlify.wiki/kstij/Envark/api/validate-env-file.md): Validates a .env file against what the codebase actually needs - [AI Commands](https://mintlify.wiki/kstij/Envark/cli/ai-commands.md): AI-powered analysis and recommendations using OpenAI, Anthropic, Gemini, or Ollama - [CLI Commands](https://mintlify.wiki/kstij/Envark/cli/commands.md): Complete reference for all Envark CLI commands, flags, and arguments - [Configuration](https://mintlify.wiki/kstij/Envark/cli/configuration.md): Configuration options, settings files, and environment variables for Envark - [TUI Commands](https://mintlify.wiki/kstij/Envark/cli/tui-commands.md): Interactive terminal commands for analyzing environment variables - [AI Assistant](https://mintlify.wiki/kstij/Envark/features/ai-assistant.md): Leverage AI to analyze environment variables, get security recommendations, and generate configuration templates - [Interactive TUI](https://mintlify.wiki/kstij/Envark/features/interactive-tui.md): Explore Envark's powerful terminal user interface with command shortcuts, AI chat mode, and provider configuration wizard - [Risk Analysis](https://mintlify.wiki/kstij/Envark/features/risk-analysis.md): Understand how Envark detects security vulnerabilities and configuration issues in your environment variables - [Project Scanning](https://mintlify.wiki/kstij/Envark/features/scanning.md): How Envark scans your codebase to detect environment variable usage across multiple languages and frameworks - [Environment Validation](https://mintlify.wiki/kstij/Envark/features/validation.md): Validate .env files against your codebase requirements to ensure all necessary variables are configured correctly - [Best Practices](https://mintlify.wiki/kstij/Envark/guides/best-practices.md): Recommended patterns and workflows for managing environment variables with Envark - [Caching](https://mintlify.wiki/kstij/Envark/guides/caching.md): Learn how Envark's intelligent caching system speeds up scans and improves performance - [Risk Scoring](https://mintlify.wiki/kstij/Envark/guides/risk-scoring.md): Understand how Envark calculates risk scores and identifies issues in your environment variable usage - [Supported Languages](https://mintlify.wiki/kstij/Envark/guides/supported-languages.md): Complete reference of all programming languages and environments supported by Envark - [Installation](https://mintlify.wiki/kstij/Envark/installation.md): Install Envark globally, run instantly with npx, or build from source - [Introduction](https://mintlify.wiki/kstij/Envark/introduction.md): A production-quality MCP server and interactive TUI that maps, analyzes, and guards environment variables across your entire codebase - [MCP Integration Overview](https://mintlify.wiki/kstij/Envark/mcp/overview.md): Use Envark as an MCP server to give AI assistants deep visibility into your environment configuration - [MCP Setup Guide](https://mintlify.wiki/kstij/Envark/mcp/setup.md): Step-by-step instructions to configure Envark as an MCP server in your IDE - [MCP Tool Reference](https://mintlify.wiki/kstij/Envark/mcp/tools.md): Complete documentation of all MCP tools exposed by Envark - [Quickstart](https://mintlify.wiki/kstij/Envark/quickstart.md): Get started with Envark in minutes - from installation to your first comprehensive environment variable scan