MCP LaTeX Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LATEX_BASE_PATH | No | The base directory path where the server will manage and access LaTeX files. | |
| LATEX_LOG_LEVEL | No | The level of logging detail. Possible values: DEBUG, INFO, WARNING, ERROR. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| create_latex_fileC | Create a new LaTeX document with specified content and structure. |
| create_from_templateB | Create a LaTeX document from a bundled template file. |
| edit_latex_fileB | Edit an existing LaTeX file by replacing, inserting, or appending content. |
| read_latex_fileB | Read and return the contents of a LaTeX file. |
| list_latex_filesB | List all .tex files in a directory. |
| validate_latexB | Perform LaTeX syntax validation (structure, braces, environments, references). |
| get_latex_structureA | Extract document structure: class, title, author, packages, and section hierarchy. |
| compile_latexB | Compile a LaTeX file to PDF using the specified engine. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| list_templates | List available LaTeX templates. |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/RobertoDure/mcp-latex-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server