About Attachments
Attachments is an MCP server published by MaximeRivest in the Files category: easiest way to give context to LLMs; Attachments has the ambition to be the general funnel for any files to be transformed into images+text for large language models context by only adding 2 lines to your python code. Conduid read 2 tools from its source: att and att_options. No package is published for it, so it installs from a source checkout.
The repository has 368 stars and 30 forks, is licensed MIT, and its last commit was on 1 Dec 2026. The latest release is v1.1.0 (31 Oct 2026): The server reads web addresses, and no longer reads its own files. It follows v1.0.1 (13 Oct 2026), and the 3 most recent releases go back to v1.0.0 (13 Oct 2026). It passes all 5 static checks Conduid ran on the repository. Its topics include attachments, s3, local-storage, file-transfer, share-links and cli.
Install
git clone https://github.com/MaximeRivest/attachmentsTools (2)
attTurn any source into LLM-ready content — one universal ingestion tool. Sources: local files ("report.pdf"), folders ("docs/" — an overview first: file tree, git branch, what was skipped), patterns ("src/**/*.py"), zip/tar archives, HTTP(S) URLs, and GitHub repos ("github://owner/repo"). Folders skip secrets (.env, keys), dependencies, hidden and .gitignore'd files, and read at most 1000 files / 256 MiB (options: ignore, hidden, glob, max_files, max_size, files: false for the overview only). Format support includes PDF, XLSX/XLS, DOCX, PPTX, old .doc/.ppt (with LibreOffice), HTML, CSV/TSV, images (with OCR), SVG, Jupyter notebooks, audio transcription, and 20+ text/code formats. Options go in the `options` dict (or inline DSL in the source string — "report.pdf[pages: 1-4]" is the same as options={"pages": "1-4"}): - {"pages": "1-4"} PDF page range - {"ocr": true} force OCR on scanned pages/images - {"sheet": "Sales"} one spreadsheet sheet - {"select": "table.data"} CSS selection from HTML - {"links": true} keep link URLs in web pages (main content only by default; {"main": false} = whole page) - {"screenshot": true} add pictures of a rendered web page Call att_options to discover every option per format. Returns extracted text (one "## <source>" block per file, a "[page N]", "[slide N]" or "[sheet Name]" line where each starts) followed by the pictures of those pages when present. Long results come in parts of at most 16000 characters (`max_chars` can lower it, not raise it: longer results get cut by agent clients): a "--- more ---" note then says what was shown and how to get the rest (`start`, or the "pages" option to jump to a page). For a long document, ask for a page range first. Errors never raise: they come back as readable text under "--- notes ---" (e.g. unpack-error, parse-error, missing-dependency with its pip install remedy).| Parameter | Type | Description |
|---|---|---|
| max_chars | integer | |
| options | object | |
| source * | string | |
| start | integer |
att_optionsDiscover per-format options for the att tool. Pass an extension (".pdf", "xlsx") or source prefix ("github://") for one table; omit it for the full catalog. Each option works both as a key in att's `options` dict and inline in the source string as DSL: path[key: value, key2: value2].| Parameter | Type | Description |
|---|---|---|
| extension | string |
Security checks
Static checks derived from the repository 2 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 3.9K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by uv.lock and ts/package-lock.json.
- ✓No dynamic code executionScanned 109 source files and found no eval, dynamic Function or shell execution.
1 check has not been run yet.
What the source scan found
- Transport
- stdiosrc/attachments/mcp_server.py:562
- Starts other programs
- 11 callssrc/attachments/_processors/legacy_office.py:100, src/attachments/_sources/github.py:110, evals/skill/run.py:237
- Outbound network calls
- 12 callssrc/attachments/_sources/http.py:200, src/attachments/service.py:120, src/attachments/service.py:127
- Writes or deletes files
- 20 callssrc/attachments/_processors/legacy_office.py:81, src/attachments/_skill.py:113, src/attachments/_skill.py:115
- Lockfile
- uv.lock and ts/package-lock.json
Pattern matches on the source text of 109 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 3.9K words, fetched 2 days ago. The original in the repository is authoritative.
Read full README