Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GPTZERO_API_KEYNoEnables the GPTZero detector.
SAPLING_API_KEYNoEnables the Sapling detector.
OVERLEAF_BASE_URLNoBase URL for Overleaf; point at a self-hosted instance.https://www.overleaf.com
OVERLEAF_HOME_DIRNoWhere the session and selection live.~/.overleaf-claude-mcp
OVERLEAF_TREE_TTL_MSNoFile tree cache lifetime.15000
OVERLEAF_SESSION_FILENoPath to the session file.$OVERLEAF_HOME_DIR/session.json
OVERLEAF_COMPILE_TTL_MSNoHow long a compile result is reused before recompiling.120000
OVERLEAF_DETECT_BROWSERNoPlaywright engine: chromium, firefox or webkit.chromium
OVERLEAF_DOC_GREP_LIMITNoAbove this many docs, grep uses the archive.40
OVERLEAF_MAX_READ_CHARSNoPoint at which overleaf_read_file returns an outline instead.60000
OVERLEAF_DETECT_HEADLESSNoSet false to watch the detector pages being driven.true
OVERLEAF_DETECT_MIN_CHARSNoLeast prose a check will accept.200
OVERLEAF_LOGIN_TIMEOUT_MSNoHow long the login window waits.600000
OVERLEAF_DETECT_TIMEOUT_MSNoHow long one detector or page is given to answer.90000
OVERLEAF_SOCKET_TIMEOUT_MSNoSocket timeout in milliseconds.20000

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
overleaf_list_projectsB

List projects on the signed-in Overleaf account.

overleaf_select_projectA

Choose the project every other tool works on. Accepts a project id or part of a project name.

overleaf_current_projectA

Report which Overleaf project is currently selected.

overleaf_list_filesC

List every file and folder in the project.

overleaf_read_fileA

Read a LaTeX or other text file. Long files are truncated; use startLine and endLine to page through them.

overleaf_read_imageA

Fetch an image from the project so it can be viewed directly.

overleaf_download_fileC

Save any project file, including PDFs and images, to a local path.

overleaf_grepA

Regex search across every text file in the project.

overleaf_write_fileA

Create or overwrite a text file in the project. Missing parent folders are created.

overleaf_edit_fileC

Replace an exact string inside a project file.

overleaf_upload_fileB

Upload a local file, such as a figure, into the project.

overleaf_create_folderC

Create a folder, including any missing parents.

overleaf_renameB

Rename a file or folder in place.

overleaf_moveB

Move a file or folder into another folder.

overleaf_deleteB

Delete a file or folder from the project. Requires confirm to be true.

overleaf_compileB

Run a server-side LaTeX compile and report status plus output files.

overleaf_compile_logB

Compile the project and return parsed LaTeX errors and warnings.

overleaf_download_pdfA

Compile the project and save the resulting PDF locally.

overleaf_word_countC

Return the compiled word count for the project.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/MarvelCollin/overleaf-claude-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server