
Inclusio Mcp
io.github.sebastienrousseauv0.0.8更新于 Oct 4, 2026
Inclusio MCP server for accessibility-first LaTeX publishing (PDF/UA-2, WTPDF, PDF/A-4f).
概览
让助手列出、渲染并审计 LaTeX 文档,生成符合无障碍规范的 PDF 及其他格式。
- 功能
- 提供四个工具:list_docs 与 doc_count 枚举内容树中的文档,render 从 LaTeX 源文件构建带标签的 PDF(以及 HTML5、JATS XML 或 EPUB3),audit_pdf 执行 veraPDF 无障碍审计。另有三个只读资源,分别暴露项目清单、最新审计报告和引擎版本。它是 Inclusio 无障碍优先出版引擎的 MCP 接口。
- 适用场景
- 适合让助手驱动 LaTeX 出版流程:生成符合 PDF/UA-2、WTPDF 与 PDF/A-4f 的输出、检查无障碍合规性,或从同一源文件导出 HTML、JATS 与 EPUB。适用于需要带标签、可审计 PDF 的文档、简历与论文工作流。
- 运行要求
- 通过 pip 安装本地 Python 包并启用 mcp 附加组件;需要 Python 3.11 或更高版本,以及 PATH 中的 LuaLaTeX 工具链。支持 Linux、macOS 与 WSL。可选外部工具可扩展功能:veraPDF 用于严格审计关卡,pandoc 3.0 或更高版本用于多格式导出,c2patool 用于 C2PA 凭证,pyhanko 用于 PAdES 签名。内容目录通过 INCLUSIO_CONTENT_DIR 或 --content-dir 指定。
安装
在 SourceWeft 中
- 打开 控制台中的 Inclusio Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Inclusio
Publishing that includes everyone.
Accessibility-first publishing engine for LaTeX, packaged as a Python CLI. PDF/UA-2 + WTPDF + PDF/A-4f triple-conformance, C2PA + PAdES + SLSA provenance, multi-format emission (HTML5 / JATS / EPUB3), LLM-augmented judges, and an MCP server for agent integration.
[Engine Validation] [veraPDF Audit] [Glama MCP server score] [Python >= 3.11] [PDF/UA-2 · WTPDF · PDF/A-4f] [Apache-2.0 OR MIT licence]
Contents
- Install —
pip, optional extras, source - Quick Start — first tagged PDF in 60 seconds
- Features — what the engine ships
- Usage — common Python + CLI recipes
- Tools — the MCP tool and resource surface
- Architecture — the engine's package layout
- Examples — six runnable scenarios
- Documentation — quickstart, tutorials, reference
- Publishing against an external content tree
- Development — local validation gate
- Security — signed commits, provenance, audit
- License
Install
Requires Python ≥ 3.11 and a LuaLaTeX toolchain on PATH. Linux, macOS, and WSL are supported (native Windows works for the Python surface; the LaTeX gate needs WSL or a TeX Live install).
Build from source
Quick Start
A complete worked example you can paste into a fresh directory:
That single make produces build/hello.pdf (PDF/UA-2 + WTPDF +
PDF/A-4f triple-conformance), runs veraPDF over it, and exits
non-zero if any flavour fails.
Drive the same surface from Python:
Features
- Tagged PDF, by default. Every build emits a PDF/UA-2 +
WTPDF + PDF/A-4f triple-conforming artefact via the LaTeX
kernel's
tagpdfintegration. The veraPDF audit gate is wired into CI and exits non-zero on any FAIL. - Multi-format emission. The same LaTeX source produces HTML5 (WCAG-clean), JATS XML (1.3, JATS4R-ready), and EPUB3 via Pandoc.
- LLM-augmented judges. ATS (Workday / Greenhouse / Lever
heuristic), citation grounding, and JD-to-CV fit — local
llama.cppor BYO-key cloud (Anthropic / OpenAI), with heuristic-only fallback when the LLM is unreachable. - Content provenance. C2PA Content Credentials (via
c2patool), PAdES B-T / B-LT / B-LTA signatures (viapyhanko), and SLSA L3 build attestation (viaactions/attest-build-provenance). - MCP server.
inclusio-mcpexposeslist_docs,audit_pdf,render, anddoc_countso Claude Code, Cursor, Continue, or any other MCP client can drive the engine. - JSON Resume importer.
inclusio import-resumeconverts a jsonresume.org v1 document into the engine's CV YAML schema. - Brief-driven CV tailoring. ATS-clean variants tailored against a job description with British-English cleanup and consistency lint.
Usage
Build, audit, judge a registered document
Score a CV against a job description
Drive the engine over MCP
Wire into Claude Code via ~/.claude/claude_desktop_config.json:
Embed C2PA Content Credentials
Tools
The inclusio-mcp server exposes four MCP tools:
list_docs— Enumerate documents registered in the content treedoc_count— Quick count of available documentsrender— Build a tagged, conformant PDF (and other formats) for a documentaudit_pdf— Accessibility audit of a PDF (veraPDF)
Plus three read-only resources:
inclusio://meta— Project manifest (meta.yaml)inclusio://audit/latest— Latest audit reportinclusio://version— Engine version card
Architecture
External consumers supply their own content tree (LaTeX sources,
YAML metadata, brand assets) and point the engine at it through
INCLUSIO_CONTENT_DIR or --content-dir. The repo's own src/
and data/ directories double as the public-engine self-test
fixtures.
Examples
Each folder has its own Makefile (make help lists targets) and
a README.md with the why + the how.
Documentation
- Quickstart — five-minute walkthrough.
- Tutorials — four end-to-end walkthroughs paired 1 : 1 with the examples.
- Architecture — public-engine vs content-repo boundary, sprint history, decision log.
- Tagged PDF — the conformance stack.
- Multi-format — HTML / JATS / EPUB.
- Judges — ATS, citations, JD-fit, LLM rerank contract.
- Provenance — C2PA, PAdES, SLSA.
- MCP server — tool + resource surface.
Publishing against an external content tree
The content repo supplies its own data/meta.yaml (document
registry) and src/**.tex (LaTeX sources). The engine reads no
state from outside INCLUSIO_CONTENT_DIR once it's set.
Development
All commits to main are squash-merged via PR. Branch protection
requires Lint (ruff) + Public Engine Checks (py3.11 / 3.12 / 3.13) + the Signed-commit gate to pass. See
CONTRIBUTING.md.
Security
- SSH-signed commits. Every commit on
mainis GitHub-verified. - Signed tags. Release tags are ED25519-signed.
- SLSA L3 build provenance (gated on the repo being public or on a paid GitHub plan).
- PyPI Trusted Publishing wiring (
pypa/gh-action-pypi-publish) inrelease.yml; flipvars.PYPI_TRUSTED_PUBLISHING=trueonce the PyPI publisher is configured. - Cloud LLM keys are env-var only —
inclusionever auto- discovers credentials from disk.
Report vulnerabilities per SECURITY.md.
Related MCP Servers
Sibling MCP servers by the same author — each targets a different agent workflow:
MCP Registry
mcp-name: io.github.sebastienrousseau/inclusio-mcp
Install the MCP server with pip install 'inclusio[mcp]' (the mcp extra pulls in mcp[cli]>=1.27.0). Run with inclusio-mcp — stdio transport, exposes accessibility-publishing tools to Claude Desktop, Cursor, and other MCP clients.
License
Licensed under either of:
at your option. © 2026 Sebastien Rousseau.
来源:README.md,提交 59e0d40
工具
0版本历史
1- v0.0.8最新Oct 4, 2026

