Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
DinanathDash avatar

Envault

  • 3 repo stars
  • Updated July 3, 2026
  • DinanathDash/Envault

io.github.DinanathDash/envault is an MCP server that manages secrets through Envault with a Human-In-The-Loop interceptor for agent mutations.

About

io.github.DinanathDash/envault is an MCP server that connects developers’ agents to Envault for centralized secrets instead of scattering keys in local dotfiles. The pitch combines secure retrieval with a Human-In-The-Loop interceptor so autonomous “fix deploy” loops cannot silently rewrite vault entries without your explicit approval—important when one person operates both Claude Code and production. Register it during ship under security after you have an Envault account and an MCP token from Account Settings → Security. Set ENVAULT_BASE_URL to the hosted service and treat ENVAULT_TOKEN as a true secret in host env config, not committed JSON. Agents can then request credentials for integrations, staging deploys, or support tasks while mutations funnel through HITL. This is vault plumbing, not a full SOC2 program: you still own rotation policy, audit review in Envault, and which MCP tools the agent may call. Pair with infra deploy skills once secrets flow from a single audited source.

  • Envault-backed secret management exposed as MCP tools for coding agents
  • Human-In-The-Loop (HITL) interceptor on agent-driven mutations
  • Requires ENVAULT_TOKEN (MCP token) and ENVAULT_BASE_URL (https://www.envault.tech)
  • stdio npm package @dinanathdash/envault-mcp-server, version 1.12.0
  • Reduces .env sprawl while keeping approval on sensitive changes

Envault by the numbers

  • Data as of Jul 7, 2026 (Skillselion catalog sync)
terminal
claude mcp add --env ENVAULT_TOKEN=YOUR_ENVAULT_TOKEN --env ENVAULT_BASE_URL=YOUR_ENVAULT_BASE_URL envault -- npx -y @dinanathdash/envault-mcp-server

Add your badge

Show developers this MCP server is listed on Skillselion. Paste this into your README.

Listed on Skillselion
repo stars3
Package@dinanathdash/envault-mcp-server
TransportSTDIO
AuthRequired
Last updatedJuly 3, 2026
RepositoryDinanathDash/Envault

What it does

Let agents fetch and rotate secrets from Envault while a human-in-the-loop gate blocks risky mutations.

Who is it for?

Best when you use Envault and want MCP agents to pull secrets safely and gate automated changes to vault data.

Skip if: Skip if you're without an Envault account, offline-only.env workflows, or environments that ban cloud secret managers.

What you get

Secrets live in Envault, agents read what you allow, and risky mutations pause for human approval before they land.

  • Agent-accessible secret reads from Envault without copying keys into chat
  • HITL-gated path for vault mutations initiated by automation
  • Centralized credential workflow aligned with ship-phase security checks

By the numbers

  • Server version 1.12.0 on MCP schema 2025-12-11
  • npm package @dinanathdash/envault-mcp-server, stdio transport
  • Required env: ENVAULT_TOKEN (secret), ENVAULT_BASE_URL (https://www.envault.tech)
README.md

Envault

Envault is a secure, modern vault application built with Next.js, Supabase, and Tailwind CSS. It provides a robust authentication system and a sleek user interface for storing and managing sensitive information.

Features

  • Bank-Grade Security: AES-256-GCM encryption with master/data key hierarchy and automatic key rotation.
  • Project Workspaces: Organize secrets into distinct projects for better management.
  • Semantic Routing: Clean, GitHub-style URLs (/[username]/[project-slug]) for easy sharing and navigation.
  • Team Collaboration: Secure project sharing with strict Role-Based Access Control:
    • Owner: Full administrative control (Rename, Delete, Manage Team).
    • Editor: Active contributor (Read/Write secrets, request to Share).
    • Viewer: Read-only access to variables.
  • Secure Authentication: Powered by Supabase Auth for robust user management, including Passkey support for passwordless, biometric login.
  • Modern UI/UX: Built with Tailwind CSS, Shadcn UI, and Framer Motion for a premium experience.
  • Interactive 3D Elements: High-performance 3D visuals powered by React Three Fiber.
  • Keyboard First: Navigate efficiently with fully customizable, conflict-free hotkeys.
  • Responsive Design: Fully responsive layout that works seamlessly on desktop and mobile.
  • Dark Mode Support: Built-in support for light and dark themes.
  • CLI Support: Manage your secrets directly from your terminal, featuring automatic non-blocking background update checks.
  • Native Vercel Integration: Link Vercel projects, map environments, and sync secrets directly into Vercel env storage for serverless runtime compatibility.
  • Real-time System Status: Monitor system health, active incidents, and historical uptime with a dedicated status page.
  • Dedicated Support Page: Integrated support features directly within the app to help users manage troubleshooting options efficiently.
  • Comprehensive Documentation: Integrated docs site with guides, API reference, and CLI documentation.

CLI

Envault natively supports the Model Context Protocol (MCP), so AI coding assistants like Claude Desktop, Cursor, and RooCode/Cline can pull and push your secure environments effortlessly.

# Automatically configure your AI clients (Global & Local Workspaces)
envault mcp install

# Or install strictly for the current workspace
envault mcp install --local

Installation

macOS & Linux (Universal)

curl -fsSL https://raw.githubusercontent.com/DinanathDash/Envault/main/install.sh | sh

macOS (Homebrew)

brew tap DinanathDash/envault
brew install --formula envault

Homebrew cask installs are deprecated. If you installed via cask, migrate with:

brew uninstall --cask dinanathdash/envault/envault
brew install --formula envault

For more details, check out the CLI Documentation.

Local Testing

Envault local development now uses portless with HTTPS hostnames.

npm install -g portless

To use the Envault CLI with the local development server, set the ENVAULT_CLI_URL environment variable:

export ENVAULT_CLI_URL="https://envault.localhost:1355/api/cli"
envault login

For one-command envault run local app startup, prefer hosted API fetch-first behavior by not setting ENVAULT_CLI_URL/ENVAULT_BASE_URL.

Security Architecture

Envault uses a hybrid encryption model to ensure maximum security:

  1. Master Key: A 32-byte key stored in environment variables, used solely to encrypt/decrypt Data Keys.
  2. Data Keys: Unique keys for encrypting actual data. These are stored encrypted in the database.
  3. Key Rotation: Data keys can be rotated. The active key is cached in Redis for high performance without compromising security.
  4. AES-256-GCM: Industry-standard authenticated encryption for all secrets.

Tech Stack

Getting Started

Follow these steps to get the project running locally.

Prerequisites

  • Node.js 18+ installed
  • A Supabase project set up

Installation

  1. Clone the repository

    git clone https://github.com/dinanathdash/envault.git
    cd envault
    
  2. Install dependencies

    npm install
    # or
    yarn install
    # or
    pnpm install
    # or
    bun install
    
  3. Environment Setup

    Copy the example environment file:

    cp .env.example .env.local
    

    Open .env.local and add your Supabase credentials:

    NEXT_PUBLIC_SUPABASE_URL=your-project-url
    NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key
    
    # Generate a secure key: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
    ENCRYPTION_KEY=your-64-char-hex-key
    
    SUPABASE_SERVICE_ROLE_KEY=your-service-role-key
    
    UPSTASH_REDIS_REST_URL=your-upstash-url
    UPSTASH_REDIS_REST_TOKEN=your-upstash-token
    
    # Used for securely signing and verifying frontend API mutations (POST, PUT, DELETE, PATCH)
    NEXT_PUBLIC_API_SIGNATURE_SALT=your-secure-random-hmac-secret
    
  4. Run the development server

    npm run dev
    

    Open https://envault.localhost:1355 with your browser to see the result.

Optional: Native Vercel Integration Setup

If you plan to use native Vercel sync (recommended for Vercel serverless runtimes), add these variables:

VERCEL_CLIENT_ID=your_vercel_oauth_client_id
VERCEL_CLIENT_SECRET=your_vercel_oauth_client_secret
VERCEL_REDIRECT_URI=https://your-domain.com/api/integrations/vercel/callback
VERCEL_WEBHOOK_SECRET=your_vercel_webhook_signing_secret
NEXT_PUBLIC_VERCEL_INTEGRATION_INSTALL_URL=https://vercel.com/<team-or-user>/~/integrations/envault

Use production URLs in production. Do not use ngrok or localhost callback URLs outside local development.

  1. Test Email Configuration (Optional)

    To verify that your Resend API configuration is working, you can send a test email to yourself:

    npm run test:email -- your-email@example.com
    

Monorepo Setup Map

This repository contains multiple publishable/runtime components. Use this map when cloning and contributing.

Folder Purpose Install Common Commands
./ Main Next.js app npm install npm run dev, npm run build, npm run lint, npm run test:all
cli-go/ Go CLI (envault) go mod download go test ./..., go build ./...
src/lib/sdk/ npm SDK package (@dinanathdash/envault-sdk) npm install npm run typecheck, npm run build
mcp-server/ npm MCP package (@dinanathdash/envault-mcp-server) npm install npm run check, npm start
cli-wrapper/ npm wrapper for CLI install/bootstrap npm install node install.js

First-time contributor flow

  1. Clone and install root dependencies:
git clone https://github.com/dinanathdash/envault.git
cd envault
npm install
  1. Copy env file and configure required keys:
cp .env.example .env.local
  1. Install package-local dependencies for publishable subpackages:
cd src/lib/sdk && npm install
cd ../../.. && cd mcp-server && npm install
cd ..
  1. Validate everything in one pass:
npm run lint
npm run test:all
npm run build

Package Publishing + Workflows

npm packages

  • SDK: @dinanathdash/envault-sdk (source: src/lib/sdk/)
  • MCP: @dinanathdash/envault-mcp-server (source: mcp-server/)

GitHub Actions workflows

  • CLI release workflow: .github/workflows/publish.yml
  • SDK publish workflow: .github/workflows/publish-sdk.yml
  • MCP publish workflow: .github/workflows/publish-mcp.yml

Each package versions independently via semantic-release when changes occur in its own folder:

  • CLI tags: v<version>
  • SDK tags: sdk-v<version>
  • MCP tags: mcp-v<version>

This keeps SDK and MCP release streams decoupled from CLI version bumps.

Local prepublish checks

npm run sdk:check
npm run mcp:check

Manual publish commands

npm run sdk:publish
npm run mcp:publish

Version and Update Commands

Use these commands so users can quickly verify what version they are on and update safely.

CLI (envault)

Check installed CLI version:

envault --version

Update via Homebrew formula:

brew update
brew untap dinanathdash/envault || true
brew tap dinanathdash/envault
brew upgrade --formula envault

SDK (@dinanathdash/envault-sdk)

Check installed and latest SDK versions:

npm ls @dinanathdash/envault-sdk
npm view @dinanathdash/envault-sdk version

Update SDK (preferred via Envault CLI):

envault sdk update

Update SDK (npm fallback):

npm install @dinanathdash/envault-sdk@latest

Runtime behavior:

  • SDK prints a warning when a newer SDK version exists.
  • SDK blocks execution when below minimum supported version configured by server.

MCP (@dinanathdash/envault-mcp-server)

Check installed MCP version (standalone MCP package installs):

envault-mcp-server --version

Check MCP update availability (standalone MCP package installs):

envault-mcp-server --check-update

Update MCP integration (preferred via Envault CLI):

envault mcp update

Update MCP globally (npm fallback for standalone installs):

npm install -g @dinanathdash/envault-mcp-server@latest

License

Copyright (c) 2026 Dinanath Dash. All Rights Reserved.

The repository root source code is provided strictly for transparency, security auditing, and education. This is not open-source software.

You may inspect and analyze the code for security purposes. You may not execute, compile, run, deploy, copy, modify, fork, redistribute, sublicense, or provide any service using proprietary repository code without prior explicit written permission.

License scope exception: mcp-server/ and src/lib/sdk/ are distributed under MIT licenses in their respective directories.

See the LICENSE file for the complete legal terms.

Recommended MCP Servers

How it compares

Envault-backed secrets MCP with HITL, not a local-only .env editor skill.

FAQ

Who is envault for?

Developers and small teams on envault.tech who wire Claude Code, Cursor, or similar MCP clients and need governed secret access for agents.

When should I use envault?

Use it during ship and security hardening when agents need production or staging credentials and you want human approval on vault mutations.

How do I add envault to my agent?

Create an MCP token in Envault Account Settings → Security, set ENVAULT_TOKEN and ENVAULT_BASE_URL=https://www.envault.tech in your MCP server env, install @dinanathdash/envault-mcp-server over stdio, and restart your host.

Security & Pentestingsecretscompliance

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.