NEXUS DOCS / COPYPARTY DOCUMENTATION
Agent: Louis | Date: January 13, 2026
1. INSTALLATION LOCATION & CONFIG
CopyParty Docker Container:
- Container: nexus-cdn (image: copyparty/ac)
- Port: 6653 (Document Pipeline cluster)
- Config: /data/cdn/system/config/copyparty.conf (mounted read-only to /cfg)
Mounts:
- /data/cdn → /w (main data, read-write)
- /data/cdn/system/config → /cfg (config, read-only)
- /data/cdn/system/hooks → /w/system/hooks (upload hooks, read-only)
Environment Variables: - TZ=America/Denver - PRTY_UNSAFE_STATE=1
2. FOLDER STRUCTURE
/data/cdn/
├── users/chris/ # User home directories
│ ├── books/
│ ├── documents/ # Private documents (nexus-3.0/, uploads/)
│ ├── educational/
│ ├── exports/
│ ├── images/ # Screenshots, Testing, template
│ ├── markdown/ # AI-generated docs
│ ├── metadata/
│ ├── personal/
│ ├── public/ # Public files (anyone with link)
│ │ └── reports/
│ ├── reference/
│ ├── reports/
│ ├── sales/clients/
│ ├── scripts/
│ ├── shared/clients/ # Password-protected sharing
│ ├── test/
│ └── uploads/ # Staging with auto-extraction
│ ├── contracts/
│ ├── books/
│ ├── reports/
│ ├── manuals/
│ ├── research/
│ └── other/
├── home/ # Empty (URL mapping)
├── shared/ # Global shared resources
│ ├── public/
│ └── templates/
├── documents/images/ # System documents
└── system/
├── config/copyparty.conf
├── hooks/extract-to-corpus.sh
└── indexes/ # File indexing DBs
3. AUTHENTICATION
Accounts (from copyparty.conf): - chris: CodeSvr25 (admin with full rwmda access)
Access Levels:
- rwmda: Read, Write, Move, Delete, Admin
- rwmd: Read, Write, Move, Delete
- r: Read only
- *: Anyone (public)
Public Access (no login): - /home/chris/public/ - /public/ - /shared/ - /templates/
4. CREATING NEW USER FOLDERS
- Create directory structure:
mkdir -p /data/cdn/users/{username}/{documents,images,markdown,uploads,public,shared}
- Add to copyparty.conf [accounts]:
{username}: {password}
-
Add volume mounts to copyparty.conf (copy chris pattern)
-
Restart container:
docker restart nexus-cdn
5. SUPPORTED FILE TYPES
Indexed/Searchable: All files via e2dsa flag
Multimedia Indexed: Via e2ts flag
Auto-extraction (uploads/): PDF, DOC, DOCX, TXT, MD, HTML, RTF, ODT, XLS, XLSX, CSV, PPT, PPTX
6. MCP INTEGRATION
Legacy MCP Server: /opt/mcp-servers/archive/docs-copyparty-legacy/mcp_docs_server.py (v2.2.0)
- NOT currently active in Gateway (empty /opt/mcp-servers/docs/)
Available Tools (if activated): - upload, get_url, list, delete, move - user_create, status, extract_document - create_pdf (with templates: professional, minimal, report) - create_folder, list_folders - create_share, list_shares, delete_share
Upload Hook Integration:
- /data/cdn/system/hooks/extract-to-corpus.sh
- Triggers on uploads to /home/chris/uploads/
- Calls PDF-Converter MCP (port 6652) for document extraction
- Auto-sends to Corpus for indexing
CopyParty Sharing:
- Config: shr: /shr, shr-adm: chris, shr-rt: 1440
- Volumes with shr_who: auth can create password-protected shares
- Share URL format: docs.corlera.com/shr/{share_key}/
7. INTEGRATION OPPORTUNITIES
- Activate Docs MCP Server:
- Copy
/opt/mcp-servers/archive/docs-copyparty-legacy/mcp_docs_server.pyto/opt/mcp-servers/docs/ -
Gateway will auto-discover
-
Auto-upload PDFs from other MCP servers:
- Use docs.upload(source_path, destination, user)
-
Or direct file copy to /data/cdn/users/chris/{folder}/
-
PDF Generation Pipeline:
- TEMP staging → docs.create_pdf → public URL
-
Templates: professional, minimal, report
-
Document Extraction Pipeline:
- Upload to /uploads/ → extract-to-corpus.sh → PDF-Converter → Corpus
Note: There's also a separate CDN infrastructure with: - nexus3-cdn-backend (port 8092) - FastAPI backend - nexus3-cdn-varnish (port 8091) - Caching layer - nexus3-cdn-vault/operational (ports 6655/6656) - Redis storage