Nexus Docs MCP v2.2.0
Released: 2025-12-17
Location: /opt/mcp-servers/docs/mcp_docs_server.py
Overview
Version 2.2.0 introduces delegate-ready tooling for complete document workflow automation. Any AI (Claude Code, delegates, local AIs) can now research, stage, create PDFs, organize, and share documents using only MCP tools.
New Features
1. Folder Management
create_folder - Create folders with visibility control
{
"user": "chris",
"name": "project-docs",
"visibility": "private" // private|public|shared
}
list_folders - List folder structure with file counts
{
"user": "chris"
}
2. Visibility-Based Routing
The create_pdf tool now accepts a visibility parameter that automatically routes documents:
| Visibility | Destination Folder | Access |
|---|---|---|
| private | documents/ | Owner only |
| public | public/ | Anyone with link |
| shared | shared/ | Password-protected sharing |
{
"user": "chris",
"temp_id": "tmp_abc123",
"filename": "report.pdf",
"visibility": "public"
}
3. Shareable Links
create_share - Create password-protected shareable links
{
"user": "chris",
"path": "public/report.pdf",
"password": true, // Auto-generate password
"expires_minutes": 10080 // 7 days
}
Returns:
- Share URL: https://docs.corlera.com/shr/{key}/filename
- Generated password (if requested)
- Expiration time
delete_share - Revoke a share link
{
"share_url": "https://docs.corlera.com/shr/abc123/report.pdf"
}
Configuration
DOCS_ADMIN_USER = os.getenv('DOCS_ADMIN_USER', 'chris')
DOCS_ADMIN_PASS = os.getenv('DOCS_ADMIN_PASS', 'CodeSvr25')
DOCS_SHARE_PREFIX = os.getenv('DOCS_SHARE_PREFIX', '/shr')
Complete Workflow Example
1. temp.stage(user="chris", content="...", source_type="research")
→ tmp_abc123
2. docs.create_pdf(user="chris", temp_id="tmp_abc123",
filename="report.pdf", visibility="public")
→ public/report.pdf
3. docs.create_share(user="chris", path="public/report.pdf",
password=true, expires_minutes=10080)
→ Share URL + password
CopyParty Requirements
CopyParty config must have sharing enabled:
[global]
shr: /shr
shr-adm: chris
shr-rt: 1440
[/volume]
flags:
shr_who: auth
Docker must have PRTY_UNSAFE_STATE=1 for read-only config mount.