Commit Graph

9 Commits

Author SHA1 Message Date
b3nw dc926cc8da feat: add binary file attachment and import tools for Outline LTM system (#1)
Build and Push Outline MCP Docker Image / build (push) Successful in 1m18s
Implement 3 new MCP tools:
- attach_file_to_document(document_id, file_path)
- upload_image_to_document(image_path, document_id, alt_text)
- import_file_to_outline(file_path, collection_id, parent_document_id)

Security:
- Restrict file access to /tmp via _validate_file_path with realpath
- 50MB max file size enforced client-side
- Symlink traversal blocked

Technical:
- Extract shared _upload_attachment() helper
- Stream files to presigned URLs instead of loading into memory
- Add combined lifespan to close OutlineClient on shutdown
- Update CI workflow with modern action versions and PR triggers

Tests:
- Add 28 tests covering path validation, size limits, upload flow,
  error handling, symlink traversal, and multipart imports
2026-05-25 00:37:24 +00:00
b3nw d152162dbf Fix params type: accept Any (string, dict, or None) for flexibility
Build and Push Outline MCP Docker Image / build (push) Successful in 8s
2025-12-30 20:46:02 +00:00
b3nw fcf13b91fa Fix health check: return 200 when server running, include API status in body
Build and Push Outline MCP Docker Image / build (push) Successful in 6s
2025-12-30 20:41:20 +00:00
b3nw cf1d9be24b Fix outline_api_call: handle empty params string
Build and Push Outline MCP Docker Image / build (push) Successful in 6s
2025-12-30 20:38:36 +00:00
b3nw 0293acaaa8 Set allocated port to 8010 for deployment
Build and Push Outline MCP Docker Image / build (push) Successful in 6s
2025-12-30 19:51:42 +00:00
b3nw 2cb4a3adec Fix build: use setuptools and uv, multi-stage Dockerfile
Build and Push Outline MCP Docker Image / build (push) Successful in 15s
2025-12-30 19:47:54 +00:00
b3nw 1ce98488b1 Fix workflow: use docker runner with act container
Build and Push Outline MCP Docker Image / build (push) Failing after 9s
2025-12-30 19:44:16 +00:00
b3nw 5da443cef7 Initial commit: Outline MCP server with hybrid light pattern
Build and Push Docker Image / build (push) Failing after 0s
2025-12-30 19:36:17 +00:00
shuvcode 6089596202 Initial commit 2025-12-30 19:26:11 +00:00