mcpbeat Sign in

Aegis MCP Server

local only

Aegis runs on your own machine — the client starts it, so there is no endpoint to ping. 136 installs a week from npm. Last commit 6 Aug 2026.

Credential isolation for AI agents. Inject secrets at the network boundary.

Installs per day peak 71 · avg 12 · +224% w/w
a month agotoday
136
Installs / week
npm · @getaegis/cli
15
Stars
0 open issues
6 Aug 2026
Last commit
2 releases in 90 days
Apache-2.0
License
TypeScript

What the code does

We read the source, 5 d ago · rules 995398eba69f

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

Builds a file path from a variable src/cli/commands/db.ts:46, src/db.ts:37
        ? path.join(config.dataDir, info.dbPath)
Builds a database query by concatenation src/gate/gate.ts:770
            hint: `Update scopes with: aegis vault update --name ${credential.name} --scopes ${scopeList},${reqMethod === 'GET' ? 'read' : 'write'}`,
Runs an external command src/key-storage/key-storage.ts:64
    execFileSync(which, [command], { stdio: 'pipe' });

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add aegis -e 'AEGIS_MASTER_KEY=<AEGIS_MASTER_KEY>' -e 'AEGIS_SALT=<AEGIS_SALT>' -- npx -y @getaegis/cli
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "aegis": {
      "command": "npx",
      "args": [
        "-y",
        "@getaegis/cli"
      ],
      "env": {
        "AEGIS_MASTER_KEY": "<AEGIS_MASTER_KEY>",
        "AEGIS_SALT": "<AEGIS_SALT>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.aegis]
command = "npx"
args = ["-y", "@getaegis/cli"]
env = { AEGIS_MASTER_KEY = "<AEGIS_MASTER_KEY>", AEGIS_SALT = "<AEGIS_SALT>" }
.cursor/mcp.json
{
  "mcpServers": {
    "aegis": {
      "command": "npx",
      "args": [
        "-y",
        "@getaegis/cli"
      ],
      "env": {
        "AEGIS_MASTER_KEY": "<AEGIS_MASTER_KEY>",
        "AEGIS_SALT": "<AEGIS_SALT>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "aegis": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@getaegis/cli"
      ],
      "env": {
        "AEGIS_MASTER_KEY": "<AEGIS_MASTER_KEY>",
        "AEGIS_SALT": "<AEGIS_SALT>"
      }
    }
  }
}

Put your own values in place of <AEGIS_MASTER_KEY> (Master encryption key for the credential vault), <AEGIS_SALT> (Hex-encoded 32-byte salt for key derivation (generated by aegis init)). The author’s registry entry marks them as required.

Optional settings from the registry entry, left out of the block above: AEGIS_DATA_DIR (Directory for vault databases and registry (default: .aegis/)), AEGIS_PORT (Gate proxy port (default: 3100)), AEGIS_LOG_LEVEL (Log verbosity: debug, info, warn, error (default: info)), AEGIS_LOG_FORMAT (Log output format: json or pretty (default: json)), AEGIS_VAULT (Named vault to use (default: default)), AEGIS_REQUIRE_AGENT_AUTH (Require agent authentication on every request (true/false, default: false)), AEGIS_POLICY_MODE (Policy enforcement mode: enforce, dry-run, or off (default: enforce)), AEGIS_POLICIES_DIR (Directory containing YAML policy files), AEGIS_METRICS (Enable Prometheus metrics endpoint (true/false, default: true)).

Alternatives to Aegis

same job, measured the same way
Portunus
by mdostal

Secret broker for agents: reference secrets by name; values injected only at the execution boundary.

local only
TAP
by human

Credential isolation for AI agents: placeholder secrets, policy checks, optional human approval.

answering
Secure Vault
by mdfifty50-boop

Encrypted secrets and credential management for agents

47 installs/wk local only
Shadowgate MCP
by josephibra

Security firewall for AI agents — scans MCP calls for injection, secrets, and risks.

answering
Zn Gate
by usezn

The local security layer for coding agents: secret redaction, injection checks and an MCP proxy.

1 483 installs/wk local only
Declaw AI
by declaw-ai

Secure Firecracker microVM sandboxes for AI agents: network policy, PII & injection guardrails.

29 installs/wk local only
Demipass
by dustforge

Credential custody for agents: use secrets blind (ssh/http/smtp/git/db), never in context.

49 installs/wk local only
Janee
by rsdouglas

Secure secrets proxy for AI agents — manages API keys so agents never see raw credentials.

186 installs/wk local only

Aegis — questions

Answers built from our own checks of this server.

Why is there no uptime for Aegis?
Aegis runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package @getaegis/cli was installed 136 times last week.
How do I connect Aegis?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls @getaegis/cli straight from npm; nothing to host, nothing to sign up for.
How many people use Aegis?
The npm package @getaegis/cli was installed 136 times in the last week. Week over week that is +224%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Aegis open source?
Yes — it is published under the Apache-2.0 licence, written in TypeScript and 15 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.