Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LATEX_BASE_PATHNoThe base directory path where the server will manage and access LaTeX files.
LATEX_LOG_LEVELNoThe level of logging detail. Possible values: DEBUG, INFO, WARNING, ERROR.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
list_templatesList 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