Security and Local File Access
Credentials
Section titled “Credentials”- Prefer browser or headless device login for humans.
- Store CI API keys in a secret manager and pipe them through stdin or expose them only to the required process.
ANYCAP_API_KEYtakes precedence over keyring and file credentials.anycap logoutremoves persistent local credentials but does not revoke a remote key or remove an environment value.
MCP filesystem boundary
Section titled “MCP filesystem boundary”Local media access is limited to the union of command-line roots, ANYCAP_MCP_FILE_ROOTS, and client-advertised roots. When none exist, the process working directory is the fallback.
Before upload, AnyCap canonicalizes paths and rejects:
..traversal- sibling-prefix confusion
- symlink escape
- paths outside every effective root
Grant the narrowest useful directory. A global MCP definition with a permanent absolute root makes that directory available to every session that can invoke the server.
Annotation and Draw servers
Section titled “Annotation and Draw servers”These tools bind to 127.0.0.1 by default. They use protections for write requests but do not implement user authentication.
Share links
Section titled “Share links”Drive and Snapshot links can grant access to uploaded data. Use short expirations, avoid sending links through public channels, and unshare files when collaboration ends.
Snapshot extraction
Section titled “Snapshot extraction”Restore requires an empty or absent destination and rejects absolute paths, traversal, symlinks, hardlinks, and non-regular archive entries. Snapshot creation blocks known sensitive-file matches unless --force is explicitly supplied.