MagicTeX-mcpSAFE
Edit LaTeX documents with AI agents using this Model Context Protocol server.
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
Please visit the release page to download
MagicTeX brings a modern interface to your academic writing. It connects your documents to AI assistants like Claude, allowing you to focus on your research while the software handles the formatting. You no longer need to install complex local TeX systems or manage difficult software environments. MagicTeX does the heavy lifting for you through an automated connection.
🚀 Getting Started
Follow these steps to set up MagicTeX on your Windows computer.
- Prepare your computer: Ensure you have an active internet connection. You need roughly 200 MB of free storage space for the application files.
- Visit the website: Go to the official MagicTeX download page.
- Choose the file: Locate the most recent version in the list. Look for the file ending in
.exethat fits your Windows system. - Download: Click the filename to save the installer to your computer.
- Run the file: Open the folder where you saved the installer. Double-click the file to start the installation process. Follow the instructions on your screen.
- Open the app: Once finished, look for the MagicTeX icon on your desktop or in your start menu. Click the icon to launch the software.
🛠 Features
MagicTeX provides tools to simplify how you write and edit research papers.
Live PDF Preview 🖼
You see your changes in real time. As you type code or interact with the visual interface, the PDF updates on the right side of your screen. This removes the need to constantly compile your document.
PDF Comments 💬
You can leave comments directly on your PDF preview. The AI agent reads these comments and applies the requested changes to the underlying LaTeX code. If you want to change a section or update a reference, simply highlight the area and type your note.
Visual Editing Mode 🎨
If you
74c6db13f55eOBSERVED · 2026-10-12Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.
claude mcp add magictex-mcp -- npx -y [email protected]
Trust audit
SAFEgrade B · trust 87/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- declared (1 observation(s))
- Network
- declared (5 observation(s))
- Shell
- none-observed
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (17)
v1.8.zip
.mcp.json.example
writeFileSync(join(outside, 'id_rsa'), 'PRIVATE KEY\n');
for (const bad of ['../secrets/id_rsa', '..\\secrets\\id_rsa', '/etc/passwd', 'C:\\Windows\\win.ini', '.']) {if (!trySymlink(join(outside, 'id_rsa'), join(root, 'notes.tex'), 'file')) {if (!trySymlink(join(outside, 'id_rsa'), join(root, 'notes.tex'), 'file')) {assert.equal(readFileSync(join(outside, 'id_rsa'), 'utf8'), 'PRIVATE KEY\n');
const DIR = fileURLToPath(new URL('../../assets/fallback-styles', import.meta.url));for (const bad of ['../outside.tex', '..\\outside.tex', '', '.', 'a/../../b.tex']) {http://127.0.0.1:52042/app
http://127.0.0.1:52042/app
http://127.0.0.1:52042/app
http://127.0.0.1:52042/app
http://127.0.0.1:52042/app
const b64ToBytes = (b64) => Uint8Array.from(atob(b64), (c) => c.charCodeAt(0));
@modelcontextprotocol/sdk, adm-zip, chokidar, diff2html, katex, open, pdfjs-dist, playwright
Gates applied: no_behavioural_pass.
74c6db13f55efull audit observations/trust-audit/mcp-server/still-chowline394__magictex-mcp.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-12 | 74c6db13f55e | SAFE | B | 87 | first audit |
Questions
What is the MagicTeX-mcp MCP server?
Edit LaTeX documents with AI agents using this Model Context Protocol server.
Is MagicTeX-mcp safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (87/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does MagicTeX-mcp need?
No credential environment variables were found in its source, so it appears to need none.
How does MagicTeX-mcp run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as magictex-mcp at 0.1.10.
How current is this page?
The grade is for one exact copy of the source (74c6db13f55e), read on 2026-10-12. The repository is watched and re-audited when it changes.