sci-writer
by ywatanabe1989
Overview
Manages and compiles scientific LaTeX manuscripts, including content creation, document analysis, versioning, and background job processing for AI assistants.
Installation
python -m sciwriter.mcp_serverEnvironment Variables
- SCITEX_WRITER_ENGINE
- SCITEX_WRITER_AUTO_ORDER
- SCITEX_WRITER_DRAFT_MODE
- SCITEX_WRITER_DARK_MODE
- SCITEX_WRITER_CITATION_STYLE
- GIT_AUTO_COMMIT_ENABLED
- GIT_TAG_ENABLED
- GIT_PUSH_ENABLED
- GIT_PUSH_REMOTE
- GIT_PUSH_BRANCH
- GIT_COMMIT_AUTHOR_NAME
- GIT_COMMIT_AUTHOR_EMAIL
- FAIL_ON_GIT_ERROR
- YQ_DEBUG
Security Notes
The server enables LaTeX's `\write18` (shell escape) feature during compilation (`pdflatex -shell-escape` in compilation scripts). This means that any content submitted to section/figure/table handlers by an AI agent (or other client) can potentially execute arbitrary shell commands if it contains `\write18{malicious_command}`. While designed for trusted AI agents creating LaTeX content, this is a severe code execution vulnerability if deployed in an untrusted environment or if the AI agent itself is compromised. Pydantic validation for input content ensures type safety but does not filter for potentially malicious LaTeX commands. Direct `eval` calls in shell scripts are used with internally constructed commands, which reduces direct command injection risk through function arguments, but the `\write18` vector remains. The system also pulls external containers and packages, which introduces supply chain risks.
Similar Servers
paperdebugger
AI-powered academic writing assistant for debugging and improving research papers with intelligent suggestions and Overleaf integration, supporting multi-step reasoning and reviewer-style critique.
AI-Prompt-Guide-MCP
Orchestrates AI agents for project management and development workflows by linking structured markdown specifications and tasks.
ai-skills-hub
Provides AI assistants with access to a team's coding standards, best practices, and knowledge base by dynamically loading Markdown skill files via an MCP server.
data-extractor
A commercial-grade MCP Server designed for robust web page and PDF content extraction and conversion to Markdown, purpose-built for long-term enterprise deployment.