
Aegis
A local proxy that sits between your AI agent and the APIs it calls, injecting credentials at the network boundary so the agent never sees raw tokens. Instead of putting your Slack bot token or GitHub PAT in environment variables where Claude or Cursor can read them, you store credentials in an encrypted vault and route requests through localhost:3100. Aegis enforces domain allowlists (your Slack token can't be sent to evil.com), logs every request, and supports per-agent access control. Exposes three MCP tools: aegis_proxy_request for authenticated API calls, aegis_list_services to see what's available, and aegis_health for status checks. Reach for this when you're shipping AI agents that need to call production APIs and you want defense against prompt injection credential exfiltration.
- GitHub stars
- 16
- tools
- 3
- auth
- Secret needed
- transport
- STDIO
- env vars
- 11
- last updated
- Aug 6, 2026
Tools
3 toolsPublic tool metadata for what this MCP can expose to an agent.
aegis_proxy_requestMake an authenticated API call (provide service + path, Aegis injects credentials)
Make an authenticated API call (provide service + path, Aegis injects credentials)
No parameter schema in public metadata yet.
aegis_list_servicesList available services (names only, never secrets)
List available services (names only, never secrets)
No parameter schema in public metadata yet.
aegis_healthCheck Aegis status
Check Aegis status
No parameter schema in public metadata yet.
Sponsors
Configuration
AEGIS_MASTER_KEY*secretMaster encryption key for the credential vault
AEGIS_SALT*secretHex-encoded 32-byte salt for key derivation (generated by aegis init)
AEGIS_DATA_DIRDirectory for vault databases and registry (default: .aegis/)
AEGIS_PORTGate proxy port (default: 3100)
AEGIS_LOG_LEVELLog verbosity: debug, info, warn, error (default: info)
AEGIS_LOG_FORMATLog output format: json or pretty (default: json)
AEGIS_VAULTNamed vault to use (default: default)
AEGIS_REQUIRE_AGENT_AUTHRequire agent authentication on every request (true/false, default: false)
AEGIS_POLICY_MODEPolicy enforcement mode: enforce, dry-run, or off (default: enforce)
AEGIS_POLICIES_DIRDirectory containing YAML policy files
AEGIS_METRICSEnable Prometheus metrics endpoint (true/false, default: true)
Readme
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.
Aegis demo
How It Works
How Aegis works — agent sends request through Gate, credentials injected at the network boundary
Why?
AI agents (Claude, GPT, Cursor, custom bots) increasingly call real APIs — Slack, GitHub, Stripe, databases. The current pattern is dangerous:
Details
- Repository
- github.com/getaegis/aegis
- Package
@getaegis/cli- Transport
- STDIO
- Auth
- Required
- Registry
- MCP registry, active