Listed from the MCP registry; nobody on Odel publishes it.
Human approval for AI agents: E2E-encrypted secrets and gated Gmail, GitHub and MCP tools.
Runs on your machine from its package; the steps are below.
At most: moves money, runs code or commands, deletes data, or sends messages for you.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
uvx aisecuritywarden
MCP client config
{
"mcpServers": {
"aisecuritywarden": {
"command": "uvx",
"args": [
"aisecuritywarden"
]
}
}
}The open-source client for aiSecurityWarden, a secrets service with scoped, revocable machine tokens, end-to-end encryption and human approval for AI agents. Built so AI agents (like Hermes Agent) and other unattended services can fetch API keys at startup without ever storing those keys on disk.
All encryption and decryption happens here, in the client. The server only ever receives ciphertext, proofs it keeps only as Argon2id hashes, and wrapped keys, so you can check what leaves your machine by reading this code.
Get an account and see how it works at aisecuritywarden.com.
Tell your agent (Claude Desktop, Claude Code, Hermes Agent, …):
Install the aiSecurityWarden MCP server from https://github.com/SoftDevEng/aiSecurityWarden-client and follow its llms-install.md.
It installs the client, asks you for the one-time setup code from the website, adds itself to the app's MCP
settings with sw-mcp connect (with a backup), and tells you what to restart. Creating the token, typing the code
and approving the first session stay with you. The steps it follows:
llms-install.md. By hand:
pipx install aisecuritywarden, sw-mcp setup --server https://app.aisecuritywarden.com, then
sw-mcp connect claude-desktop (or claude-code, hermes, other).
This repository contains:
securitywarden.client.SecurityWardenClient);swctl, the command-line tool (machines: swctl export / swctl run; admins: swctl admin ...);swadmin, a small desktop admin window;src/securitywarden/crypto.py), the approval-policy and address-list parsers, and the
shared test vectors other implementations are checked against;The aiSecurityWarden server is a separate product.
Status: alpha. The design is deliberately small and reviewable, but it has not had an independent security audit. Read the threat model.
Admin workstation aiSecurityWarden server Agent box (e.g. jarvis)
───────────────── ───────────────────── ───────────────────────
swctl admin ... stores only: sw1.m.<id>.<secret>:<key>
• creates project key ───────▶ • ciphertext (chmod 600 file)
• encrypts secrets • Argon2 hashes │
• wraps project key • wrapped keys ◀── id+secret ─────┤ 1. auth → 5-min JWT
per machine token • audit log ─── ciphertext ──▶ │ 2. fetch
│ 3. decrypt locally with <key>
▼
KEY=VALUE → agent env → tools
A machine token has three parts:
| Part | Sent to server? | Purpose |
|---|---|---|
id | yes | identifies the token |
secret | yes (over TLS) | proves possession; server keeps only an Argon2id hash |
key | never | unwraps the project key, which decrypts the secrets |
So the server can authenticate a token and hand out ciphertext, but it cannot read any secret. A full copy of the server's database is useless without a token key.
Protects against
Does not protect against
swctl from a source you trust.pipx install aisecuritywarden # or: pip install aisecuritywarden (in a virtual environment)
It installs the commands swctl, sw-mcp and swadmin. In Python code (connectors) the package is imported as
securitywarden, e.g. from securitywarden.mcp import Connector.
Coming from 0.6 (installed as securitywarden)? Reinstall once under the new name; your tokens and settings
stay where they are:
pip uninstall securitywarden && pip install aisecuritywarden # same environment as before
Needs Python 3.10+, on Linux, Windows or macOS (all three are tested in CI). swadmin also needs Tkinter:
it ships with the python.org installers for Windows and macOS; on Debian/Ubuntu, sudo apt install python3-tk.
Install Python from python.org (3.10 or newer). Its installer
includes a current Tk, so swadmin works. Avoid Apple's built-in /usr/bin/python3: its Tk is old and
draws windows badly. With Homebrew's Python, also run brew install python-tk.
Install the client in its own virtual environment:
python3 -m venv ~/.venvs/securitywarden
~/.venvs/securitywarden/bin/pip install aisecuritywarden
~/.venvs/securitywarden/bin/swadmin # the admin window; swctl and sw-mcp are next to it
Files live where they do on Linux: ~/.config/securitywarden/ (tokens, the admin credential file if you use
one, swctl's cached 2FA session), each readable by you only.
The website works in Safari too (CI runs it in WebKit, Safari's engine).
sw-mcp update --check # or: swctl update --check
sw-mcp update # installs the newest signed release; never an older one
Or ask your agent: "check for aiSecurityWarden updates" / "update aiSecurityWarden". The agent's
securitywarden_update tool asks you to approve the exact version first. Its result names the program to restart
(the one that actually runs sw-mcp: for Hermes that can be the gateway or dashboard backend, not the desktop app);
the agent tells you and restarts nothing itself. When a
newer client is out, the agent is told once (and every time if the server requires it). Updates are signed with
an offline release key and checked against the key built into the client; see DESIGN.md "Client updates".
From source:
git clone https://github.com/SoftDevEng/aiSecurityWarden-client && cd aiSecurityWarden-client
pip install -e ".[dev]" && pytest
You need the address of an aiSecurityWarden server and, to administer it, its admin credential.
mkdir -p ~/.config/securitywarden
echo 'sw1.a....' > ~/.config/securitywarden/admin.cred && chmod 600 ~/.config/securitywarden/admin.cred
export SW_SERVER_URL=https://vault.example.com
swctl admin project create hermes-bot
swctl admin secret set hermes-bot MYAPP_API_KEY # prompts; value never in argv/history
swctl admin secret set hermes-bot MYAPP_API_SECRET
swctl admin token create hermes-bot --name jarvis --expires-days 180
export SW_SERVER_URL=https://vault.example.com SW_TOKEN_ID=<token id> SW_TOKEN_NAME=jarvis
swctl setup # paste the one-time setup code the website (or --setup-code) shows
swctl export # KEY=VALUE lines
swctl export --format json
swctl run -- python my_bot.py # run a command with secrets in its environment (LD_PRELOAD, PATH, proxies... refused)
aiSecurityWarden is a Hermes secret source: at start-up Hermes loads every secret the machine token may read, on Linux, macOS and Windows. The token stays in swctl; Hermes only gets the secrets.
It's in the official Hermes plugin catalog:
hermes plugins install aisecuritywarden --enable # or search "aisecuritywarden" under Plugins in the desktop app
hermes config set secrets.aisecuritywarden.enabled true
With one token stored that's all. See examples/hermes/ for the settings, approvals at start-up, and the older command-helper setup.
sw-mcp)sw-mcp gives an agent tools for an application, such as Gmail, as an MCP server. Every action goes through
the token's rules in aiSecurityWarden: reading may be allowed outright, while sending an email waits until you
approve exactly that email (on the website, in swadmin, Telegram or ntfy). The agent is told it's waiting and
checks back. The Gmail connector searches, reads (including the text of PDF, Word and text attachments),
organizes, drafts, sends, replies and forwards. It attaches files the agent saves in its outbox folder, and sends
big files as Google Drive links that only the email's recipients can open. See docs/mcp-gmail.md for the Gmail set-up with Hermes, and
DESIGN.md for writing a connector for another application.
sw-mcp tools --connector gmail # the tools, their actions, risks and suggested rules
sw-mcp serve --connector gmail # what Hermes runs (stdio)
sw-mcp call gmail_search query=is:unread limit=5 # try one tool by hand; waits for approval if needed
sw-mcp setup --token-file ~/.config/securitywarden/gmail-token # store the token from a one-time setup code
Other applications get a connector: one Python class whose tools each declare an action and a risk. An AI can
write one: sw-mcp new-connector NAME creates the project (with instructions for the AI in AGENTS.md),
sw-mcp guide prints the rules, and sw-mcp check plus the generated tests confirm it's right. Installed
connector packages are found by name (--connector NAME). See docs/connectors.md.
Connectors can also come from aiSecurityWarden itself: turn a built-in one (Gmail) on for a project on the website,
or upload your own (sw-mcp pack NAME, then Connectors > Upload; encrypted in the browser, account-wide,
versioned with a backup of the version replaced). sw-mcp serve then loads whatever the token's project uses,
with no --connector needed, and picks up new versions as you choose: at once, or on the next restart.
Every agent connected to sw-mcp is told the essentials when it connects: how to wait for an approval, to treat
email and web content as untrusted, to use only setup codes you typed, and to update through
securitywarden_update (never pip or pipx, never killing sw-mcp). Agents that support skills can get the full
guide too:
sw-mcp skill install hermes # Hermes Agent: ~/.hermes/skills/aisecuritywarden/SKILL.md
sw-mcp skill install claude # Claude Code: ~/.claude/skills/aisecuritywarden/SKILL.md
sw-mcp skill zip claude # Claude app: upload the .zip in its Skills settings
Then start a new session in the agent. sw-mcp serve keeps skills it installed up to date after each client update;
a SKILL.md you wrote yourself is never replaced.
| Command | |
|---|---|
| `swctl admin project create | list |
| `swctl admin secret set | get |
swctl admin secret list PROJECT | names only |
swctl admin secret import PROJECT FILE [--only NAME...] [--overwrite] [--dry-run] | move a .env file's secrets into a project (- reads stdin); values are never shown |
swctl admin token create PROJECT --name N [--expires-days D] [--allow-ip ADDR]... | prints the token once; --allow-ip (address or CIDR, repeatable) pins where it may connect from |
swctl admin token set-ips ID --allow-ip ADDR... | --any | replace or remove a token's allowed addresses |
swctl admin token list [PROJECT] | status, expiry, last used, last IP, allowed addresses, approval |
swctl admin token create ... --approval session|every_fetch [--session-ttl 8h] [--channel C]... | require a person to approve the token's use (see below) |
swctl admin token set-approval ID --approval none|session|every_fetch [...] | change or remove it; ends pending requests and approved sessions |
swctl admin token reset-approval-limits ID | let a token that hit its hourly limit ask again now (also in swadmin: Reset approval limit…) |
swctl admin approvals list / approve ID [--match NN] / deny ID | decide pending requests |
swctl admin token revoke ID | immediate |
swctl admin audit [--limit N] | auth, fetch and admin events |
A machine token can require a person to approve it before it gets any secrets: once per
session (--approval session, the session lasts --session-ttl, default 8 h) or for
every fetch (--approval every_fetch). Requests go to the channels you choose:
admin_ui: the Approvals tab in swadmin (or swctl admin approvals);push:telegram and push:ntfy: a phone notification with Approve / Deny buttons.
These work behind an IIS/firewall allowlist, because the server polls Telegram / ntfy
for the answer instead of the phone calling in. They are set up on the server, per project
(the project's Approval setup tab in the web admin).swctl admin token set-approval <token-id> --approval session --session-ttl 8h \
--channel admin_ui --channel push:telegram
The machine prints a two-digit match code while it waits (swctl: waiting for a person to approve this session (match code 47, up to 120 s)...); approve only if the prompt shows
the same code. An approval works once, only for the process and address that asked, and
ends when the token is revoked or its policy changes. Details: docs/DESIGN.md.
sw-scan)An agent that runs as you can read every file you can. sw-scan shows what that means on your machine: API keys
in .env files and their forgotten .bak copies, other tools' sign-in files (cloud CLIs, gh, Docker, agent
sign-ins), private keys without a passphrase, and keys in this terminal's environment, grouped by what to do about
each, with an exposure score out of 100.
sw-scan # the report
sw-scan --json # for scripts; --fail-at 30 exits 1 at a score of 30 or more
It never shows a secret (only its kind, a public prefix such as sk-ant- and the last 4 characters), has no
network code, changes nothing, and is one standard-library file you can also run on its own
(python sw_scan.py). Details and limits: docs/sw-scan.md.
sw-sudo, Linux)Run your AI agent as a limited user and let it ask for root one exact command at a time:
sudo sw-sudo -- apt install -y ffmpeg. You see the command and approve or deny it on your phone or the website;
the agent never gets the root password. Agents connected through sw-mcp get a system_run tool for it, and
--sudo-shim turns a plain sudo COMMAND into a request too. Shells, interpreters, user management and files the
agent could change are refused before anything is asked. Set-up and the full list of guards: docs/sw-sudo.md.
swadmin)If you would rather not use a terminal, swadmin opens a small desktop window that does
the same things as swctl admin: projects, secrets, tokens (create, revoke, allowed
addresses, approval policy), pending approval requests and the activity log. The Approvals
tab checks for new requests every few seconds while you are signed in. It is installed with the client and needs only Tkinter,
which ships with Python on Windows and macOS (sudo apt install python3-tk on Debian/Ubuntu).
swctl uses.All of it lives in src/securitywarden/crypto.py: AES-256-GCM (random
96-bit nonces) with associated data binding every ciphertext to its context, HKDF-SHA256 for key separation,
HMAC-SHA256 for secret-name lookup ids (names are encrypted too) and PBKDF2-SHA256 for account passwords,
all from the cryptography library. There's no custom crypto. The server stores Argon2id hashes of the
proofs clients send. Test vectors: tests/vectors/crypto-v1.json
(regenerate with python -m securitywarden.vectors). Full design: docs/DESIGN.md.
Apache-2.0. See LICENSE. Security reports: see SECURITY.md.