# giuliohome-org/doc-manager [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/giuliohome-org/doc-manager  
**GitHub Stars:** 1  
**Views:** 4  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/giuliohome-org-doc-manager

## Description
Personal document vault on Azure Blob Storage with a built-in MCP server. Client-side AES-256-GCM zero-knowledge encryption: encrypted docs stay opaque to Claude, plaintext docs are fully readable, writable, and searchable from chat.

## Tools
Capabilities this server exposes over MCP:

- **list_documents** — List every doc with `id`, `title`, `encrypted` flag, attachment info, size
- **get_document** — Fetch one plaintext document by id; refuses encrypted ones
- **search_documents** — Case-insensitive substring search over titles (always) and plaintext content
- **get_attachment** — Fetch the file attached to a doc (filename, bytes, base64, UTF-8 if applicable)
- **create_document** — Create a new plaintext document; returns the new id
- **update_document** — Replace content (and optionally title) of a plaintext document
- **add_attachment** — Attach a file (text or base64-encoded binary) to a doc; replaces any existing
- **delete_document** — Delete a document and all its blobs (main, title, attachment); irreversible
- **delete_attachment** — Delete only the attachment of a document, leaving the document itself intact

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "doc-manager": {
    "url": "https://doc-manager.giuliohome.com/mcp"
  }
}
```

## Documentation

## What giuliohome-org/doc-manager MCP server does

The giuliohome-org/doc-manager MCP server exposes a personal document vault backed by Azure Blob Storage. It runs alongside the vault application and makes document operations available through Model Context Protocol. Plaintext documents can be read, searched, created, edited, and removed from an MCP client. Attachments can also be retrieved, replaced, or deleted.

Documents encrypted in the browser are treated differently. The MCP surface can report their identifiers, titles, encrypted status, attachment details, and size, but it refuses to return their content or accept writes. This preserves the separation between documents intended for chat access and documents kept private to the vault owner.

## How it works

The application exposes a Streamable HTTP MCP endpoint at `/mcp`. Access is opt-in: when OAuth is not configured, the endpoint returns service unavailable. With OAuth enabled, the server uses GitHub as the identity provider, checks the resulting bearer token against GitHub, and restricts access to the GitHub logins listed in its allowlist.

Claude.ai can complete the OAuth 2.1 and PKCE flow when configured as a custom connector. The connector uses the server's public MCP URL and a GitHub OAuth application's client credentials. The server validates requests and caches token validation results for five minutes.

The storage layer uses an Azure Storage account and creates a `documents` container automatically. A document and its title or attachment data are stored as blobs. The frontend performs AES-256-GCM encryption using PBKDF2-SHA256 with 600,000 iterations; the password remains on the client.

## Setup and configuration

Build the frontend from the `frontend` directory with `npm i` followed by `npm run build`, then build or run the supplied Docker image. The deployment can use Azure Container Apps, Docker, or a containerd and Kaniko workflow.

Required runtime settings are `AZURE_STORAGE_ACCOUNT`, `AZURE_STORAGE_ACCESS_KEY`, and `RUST_ROCKET_EXACT_ORIGIN`. To enable the MCP endpoint, set `OAUTH_PROVIDER=github`, provide `OAUTH_PUBLIC_BASE_URL`, and set `OAUTH_ALLOWED_USERS` to one or more comma-separated GitHub usernames. An empty allowlist prevents startup. Set `MCP_READ_ONLY=true`, `1`, or `yes` to hide create and update tools.

For Claude.ai, register a GitHub OAuth App with the callback URL `https://claude.ai/api/mcp/auth_callback`, then add the MCP URL as a custom connector and provide the OAuth client ID and secret in its advanced settings.

## Tools and capabilities

The giuliohome-org/doc-manager MCP server provides these operations:

- List documents with metadata, encryption state, attachment information, and size.
- Fetch plaintext documents and search titles or plaintext content using case-insensitive substring matching.
- Retrieve attachments as filenames, bytes, base64, or UTF-8 when applicable.
- Create documents and replace their content or title.
- Add one attachment to a document, replacing an existing attachment.
- Delete a document and all associated blobs, or delete only its attachment.

Read-only mode permits listing, fetching, searching, and attachment retrieval. Document creation, updates, and deletion operations are not available in that mode.

## Limitations and notes

Encrypted content is never returned to Claude, and encrypted documents cannot be updated through MCP. Document deletion is irreversible. Each document supports an attachment operation that replaces the previous attachment rather than adding another alongside it. GitHub is the currently supported OAuth provider; Auth0 is reserved for future use. The README identifies Claude web, Claude desktop, and Claude Code as usage targets, while the documented connector setup specifically describes Claude.ai.

_Full upstream README: https://allmcps.com/mcp/giuliohome-org-doc-manager/readme_

