SuperAPI AI Directory

doc-manager

Personal document vault on Azure Blob Storage: read, write and search plaintext docs, while client-side AES-256-GCM encrypted docs stay opaque.

Open website

About this tool

doc-manager is a zero-knowledge document vault based on Azure Blob Storage, with a built-in MCP (Model Context Protocol) server, enabling you to add, read, and search documents directly in a Claude conversation.

In terms of purpose, it is mainly used for secure storage and sharing of personal documents: you can encrypt documents and attachments in the browser, and passwords never leave the client; at the same time, plaintext documents can be managed conversationally through Claude. The project is described as "cloud copy-paste content sharing."

Main capabilities include:

  1. Zero-knowledge design: documents and attachments are encrypted client-side in the browser using AES-256-GCM (key derivation uses PBKDF2-SHA256, 600,000 iterations), and passwords are never sent to the server. Encrypted documents appear opaque to Claude (encrypted: true); Claude can discover them by title, but the server refuses to return their contents or accept writes, thereby maintaining the zero-knowledge guarantee: encrypted means "private to me only," plaintext means "shareable with Claude."
  2. Converse with documents through Claude: Claude (web, desktop, Claude Code) can list, fetch, search, create, and update plaintext documents through the MCP endpoint. You can create a document in chat and see it immediately in the vault.
  3. A single Rust binary: the backend is based on Rocket, the frontend is based on React 19 / Vite 8, and it can be deployed to Azure Container Apps, plain Docker, or in a homelab using containerd + Kaniko.

Usage:

  • The MCP endpoint is located at /mcp and exposes a Streamable-HTTP MCP server, gated by an OAuth 2.1 flow with an upstream identity provider (currently GitHub; Auth0 is reserved for future rounds, and the code is already written in a provider-shaped way).
  • To connect it in Claude, you need to register a GitHub OAuth App: GitHub → Settings → Developer settings → OAuth Apps → New OAuth App, set the Authorization callback URL to https://claude.ai/api/mcp/auth_callback,复制 Client ID and generate a Client Secret.
  • Configure the server environment variables: export OAUTH_PROVIDER=github; export OAUTH_PUBLIC_BASE_URL="https://doc-manager.giuliohome.com;export OAUTH_ALLOWED_USERS=giuliohome (comma-separated GitHub login names, required; an empty allowlist will refuse to start, preventing misconfiguration from letting any GitHub user in); optionally export MCP_READ_ONLY=true to disable the create/update tools.
  • Add a connector in Claude.ai: Settings → Connectors → Add custom connector, with the URL set to https://doc-manager.giuliohome.com/mcp,然后在 In Advanced settings, paste the GitHub OAuth App's Client ID and Client Secret. The first request triggers the OAuth flow: Claude.ai sees /mcp return 401 + WWW-Authenticate, fetches well-known metadata, guides you through github.com/login/oauth/authorize, and forwards the bearer on every subsequent call. The server validates every request by calling https://api.github.com/user (5-minute cache, token keys use SHA-256 hashes).
  • If OAUTH_PROVIDER is not set, the endpoint returns 503 Service Unavailable, so the MCP interface is entirely opt-in.

Use cases: Suitable for users who want to store personal documents in the cloud in a zero-knowledge way while also conveniently managing plaintext documents through Claude conversations. It is also suitable for developers who want to self-host a document vault in a homelab or on Azure.

Limitations: The contents and writes of encrypted documents are rejected by the server, so encrypted documents cannot be accessed or modified through Claude, and only their titles can be seen. Using MCP features requires configuring a GitHub OAuth App and the corresponding environment variables. The project uses Azure Blob Storage as backend storage.

The project also includes instructions for frontend build, Docker run, containerd + Kaniko deployment, configuration reference, and end-to-end testing, but detailed steps are not provided for now.