Install
$ agentstack add mcp-cloakward-cloak ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ● Environment & secrets Used
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Cloak
Stop pasting API keys into your AI. Cloak lets your agents use your keys without ever seeing them.
An agent using your Stripe key without ever seeing it. The model only handled the name; the value never left Cloak. Watch in HD.
Hand an AI agent an API key and you've handed it to the model: its context, its provider's logs, and anyone who can read them. One prompt injection and the key walks out the door.
Cloak keeps your keys in an encrypted vault on your machine, where your agent can use them but never read them. It asks Cloak to make the call, Cloak attaches the key and returns only the result, and the value never enters the model.
- No
read_secrettool. The agent can list, sign, proxy, and mint. It cannot read a stored value. - Allowlisted by default. A key reaches a host only if you approved it.
- Local only. No account, no cloud, no telemetry.
- Signed releases. macOS-notarized, cosign-signed, SLSA L3-attested.
▶ See the full flow: store a key, then let an agent use it
Quickstart
macOS (arm64/x64) and Linux (x64 glibc):
brew install cloakward/cloak/cloak
cloak setup # creates the vault, starts the daemon, connects your AI clients
cloak import .env # pull every key you already have into the encrypted vault
That works for any secret: an LLM key, a payments key, a cloud credential, a git token. Add them one at a time instead with cloak add OPENAI_API_KEY.
Every secret starts denied. Allow each key to reach a host with one command, applied live with no daemon restart:
cloak allow OPENAI_API_KEY api.openai.com
cloak allow STRIPE_SECRET_KEY api.stripe.com
cloak policy # see what each key can reach
Prefer a file? The same rules live in policy.toml, one [[secrets]] block per secret. Remove a host with cloak deny.
Your agent can now use any of them, in plain English. One worked example:
> You: test my checkout: create a $50 Stripe PaymentIntent with pmcardvisa and confirm it succeeded.
The agent calls proxy_authenticated_http_request. Cloak attaches STRIPE_SECRET_KEY, sends the request to Stripe, and returns only the result. This is a real one, captured in test mode:
proxy_authenticated_http_request → POST https://api.stripe.com/v1/payment_intents
Status 200
{
"id": "pi_3ThFkTKCZ65x2cgg0rzmsrj3",
"amount": 5000,
"amount_received": 5000,
"currency": "usd",
"livemode": false
}
A real $50 charge went through. The STRIPE_SECRET_KEY that authorized it, which can refund every charge and drain the account, appears nowhere in what the model received.
cloak setup connects Claude Desktop, Claude Code, Cursor, Windsurf, Zed, Continue.dev, and Codex that it finds installed. The [quickstart](docs/QUICKSTART.md) covers Linux, Docker, and the Claude Desktop extension.
How it works
Three pieces:
cloak: the CLI you use to add and manage secrets.cloakd: a local daemon that holds the keys and does the privileged work.cloak-mcp: the MCP server your AI client connects to.
Your agent calls a tool on cloak-mcp. cloakd checks your policy, attaches the secret only for the allowed request, and returns the result. The stored key never reaches the agent or model.
What it protects (and what it doesn't)
Cloak stops your long-lived key from leaking. It does not make a hijacked agent harmless: a minted token or a proxied response still goes to the agent, and an agent can still misuse the access you allowlisted. It is built for a single-user machine; root and compromised hosts are out of scope. The [threat model](docs/THREAT_MODEL.md) is honest about the rest.
Documentation
- [Quickstart](docs/QUICKSTART.md)
- [Threat model](docs/THREAT_MODEL.md)
- [Security invariants](docs/SECURITY_INVARIANTS.md)
- [Architecture](docs/ARCHITECTURE.md)
- [MCP tools](docs/spec/mcp-tools.md)
- [FAQ](docs/FAQ.md)
License
Apache-2.0. See [LICENSE](LICENSE).
Source & license
This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: cloakward
- Source: cloakward/cloak
- License: Apache-2.0
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.