@aauth/proxy
v0.3.1
Published
The user's AAuth agent in MCP form — discovery, identity, interaction relay
Readme
@aauth/proxy
MCP stdio server that represents you as an agent in the AAuth protocol. The LLM sees a fixed eight-tool surface; new resources and operations are surfaced through the same tools, regardless of how many you add.
Your AAuth signing key is bound to this machine via @aauth/local-keys — non-extractable when a Secure Enclave, TPM, or YubiKey is available; software-backed otherwise. The agent proxy holds no upstream service credentials.
Design and protocol details: design.md.
Prerequisites
- Node ≥ 22.
- An AAuth identity on this machine. If none exists, the agent proxy's MCP server still starts; the first tool call returns a bootstrap prompt that points the LLM at
@aauth/bootstrap. The agent proxy picks the identity up on the next call — no restart.
npx @aauth/bootstrap setupInstall
Claude Code
{
"mcpServers": {
"aauth-proxy": { "command": "npx", "args": ["-y", "@aauth/proxy"] }
}
}Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"aauth-proxy": { "command": "npx", "args": ["-y", "@aauth/proxy"] }
}
}Cursor
Settings → MCP → Add new server, then add:
{
"aauth-proxy": { "command": "npx", "args": ["-y", "@aauth/proxy"] }
}Other MCP hosts
Any stdio MCP host: npx -y @aauth/proxy.
CLI flags
| Flag | Purpose |
|---|---|
| --log | Tee JSON-RPC frames to ~/.aauth/proxy/logs/<ISO>.jsonl for debugging. |
Environment variables
All optional; sensible defaults come from @aauth/local-keys.
| Var | Default | Purpose |
|---|---|---|
| PROXY_REGISTRY_URL | https://registry.aauth.dev | AAuth resource registry |
| PROXY_PS_URL | from local-keys | Person Server URL |
| PROXY_AGENT_URL | first configured | Agent provider URL |
| PROXY_AGENT_TOKEN + PROXY_AGENT_PRIVATE_JWK (or PROXY_AGENT_KEY_FILE) | — | Test-only software-identity override that bypasses local-keys |
License
MIT
