Aegis MCP server
io.github.getaegis/aegis·v1.0.5·14 starsCredential isolation for AI agents. Inject secrets at the network boundary.
14 stars59 downloads/wk
Reviews
Write oneNobody has reviewed Aegis yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Aegis tools (3)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
aegis_healthCheck the health status of Aegis, including credential and agent counts.
aegis_list_servicesList all available services registered in Aegis. Returns service names, auth types, and allowed domains — never secrets.
aegis_proxy_requestMake an authenticated API call through Aegis. Credentials are injected automatically — you never see them. Provide the service name and API path; Aegis handles authentication.
Public scan report
scanner v0.1.9 · 2026-09-24 · same rubric, same numbers if you re-run it
- Code scan120 source files scanned13/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 49 days ago12/15
- Maintainer identityregistry namespace matches repository owner7/10
Findings (1)
- highShell command built from a string (injection risk)
exec.shell-concatdist/cli/helpers.js: …ate RSA private key (2048 bits) execSync(`openssl genrsa -out "${keyPath}" 2048`, { stdio: 'pipe' }); …
How Aegis compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 58/100
- higher than 13% of 48,255 servers
- Tools
- 3
- the typical server has 7
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 14
- more than 90% of 28,688 servers
- Downloads a week
- 59
- more than 48% of 12,191 servers with a package
What its tools let an agent do: 3 read
Install Aegis in Claude Code, Cursor or VS Code
Runs npx -y @getaegis/cli on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add aegis -- npx -y @getaegis/cli
What the publisher says
From the Aegis repository's README, as published. We do not edit it. Read it on GitHub
Aegis
Stop putting API keys where AI agents can read them.
Aegis is a local-first credential isolation proxy for AI agents. It sits between your agent and the APIs it calls — injecting secrets at the network boundary so the agent never sees, stores, or transmits real credentials.
How It Works
Why?
AI agents (Claude, GPT, Cursor, custom bots) increasingly call real APIs — Slack, GitHub, Stripe, databases. The current pattern is dangerous:
- Agents see raw API keys — one prompt injection exfiltrates them
- No domain guard — a compromised agent can send your Slack token to evil.com
- No audit trail — you can't see what an agent did with your credentials
- No access control — every agent can use every credential
Aegis solves all four. Your agent makes HTTP calls through a local proxy. Aegis handles authentication, enforces domain restrictions, and logs everything.
Quick Start
# Install
npm install -g @getaegis/cli
# Initialize (stores master key in OS keychain by default)
aegis init
# Add a credential
aegis vault add \
--name slack-bot \
--service slack \
--secret "xoxb-your-token-here" \
--domains slack.com
# Start the proxy
aegis gate --no-agent-auth
# Test it — Aegis injects the token, forwards to Slack, logs the request
# X-Target-Host tells Gate which upstream server to forward to (optional if credential has one domain)
curl http://localhost:3100/slack/api/auth.test \
-H "X-Target-Host: slack.com"Production Setup (with agent auth)
# Create an agent identity
aegis agent add --name "my-agent"
# Save the printed token — it's shown once only
# Grant it access to specific credentials
aegis agent grant --agent "my-agent" --credential "slack-bot"
# Start Gate (agent auth is on by default)
aegis gate
# Agent must include its token
curl http://localhost:3100/slack/api/auth.test \
-H "X-Target-Host: slack.com" \
-H "X-Aegis-Agent: aegis_a1b2c3d4..."MCP Integration
Aegis is a first-class MCP server. Any MCP-compatible AI agent can use it natively — no HTTP calls needed.
Before (plaintext key in config):
{
"mcpServers": {
"slack": {
"command": "node",
"args": ["slack-mcp-server"],
"env": { "SLACK_TOKEN": "xoxb-1234-real-token-here" }
}
}
}After (Aegis — no key visible):
{
"mcpServers": {
"aegis": {
"command": "npx",
"args": ["-y", "@getaegis/cli", "mcp", "serve"]
}
}
}Generate the config for your AI host:
aegis mcp config claude # Claude Desktop
aegis mcp config cursor # Cursor
aegis mcp config vscode # VS Code
aegis mcp config cline # Cline
aegis mcp config windsurf # WindsurfThe MCP server exposes three tools:
The MCP server replicates the full Gate security pipeline: domain guard, agent auth, body inspection, rate limiting, audit logging.
Setup Guides
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Aegis: common questions
- Is Aegis MCP server safe?
- With care: it is graded C, so read the findings first (58/100). Read the Aegis safety report
- How do I install Aegis?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Aegis need an API key?
- Yes. The registry entry asks for
AEGIS_MASTER_KEY,AEGIS_SALT. - Is Aegis maintained?
- The last commit was 90 days ago (2026-08-06). The latest release is v1.0.5.
- How does Aegis compare with other MCP servers?
- safety score 58/100 (higher than 13% of 48,255 servers); tools 3 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.