ShareLaTeX MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OVERLEAF_URL | Yes | HTTPS origin of your Overleaf/ShareLaTeX instance, for example https://latex.example.org. | |
| OVERLEAF_COOKIE | Yes | Browser session cookie as name=value, for example overleaf.sid=REPLACE_WITH_YOUR_SESSION. |
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
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_projectsA | List every ShareLaTeX project the logged-in user can see. |
| list_filesA | List the full file tree of one ShareLaTeX project. Read-only. project is a project name or id. Each line is a path inside the project. Folders end with a slash. The bracketed type is folder, doc (an editable text document), or file (an uploaded binary). |
| read_fileA | Read text from one file in a ShareLaTeX project. |
| get_sectionsA | Extract LaTeX section headings from a .tex file. |
| project_outlineA | Summarize a ShareLaTeX project without reading every file. |
| read_sectionA | Read one LaTeX section, including its heading. Read-only. project is a project name or id. title is the heading text inside the braces, such as Introduction. The result runs from that heading through the line before the next heading of the same or higher level. Deeper headings are included. If the title appears more than once, the tool reports the line numbers and does not guess. |
| search_projectA | Search editable documents in one ShareLaTeX project. |
| write_fileA | Create or overwrite a file in a ShareLaTeX project. |
| append_to_fileA | Append text to the end of an existing file in a ShareLaTeX project. |
| replace_in_fileA | Replace one exact occurrence of text in a ShareLaTeX document. |
| compile_projectA | Compile a ShareLaTeX project and return errors and warnings. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 11 tools
The read-side tools have related but distinguishable roles: read_file is line-range based, read_section is heading based, get_sections lists headings, and project_outline aggregates across files. There is mild overlap (read_file with no line bounds could read a section, and get_sections largely duplicates part of project_outline), but descriptions make selection reasonably clear. The three write tools are cleanly separated by intent (create/overwrite, append, single exact replacement).
Nearly all tools follow a predictable verb_noun pattern (list_projects, read_file, search_project, write_file, compile_project). The single exception is project_outline, a noun-only name, which breaks the pattern but remains unambiguous. No mixed casing or verb-style chaos.
11 tools is well within the sweet spot and every tool maps to a distinct capability (discovery, reading at three granularities, searching, three editing modes, compiling). Nothing feels like filler or duplication that should be merged.
The read/search/edit/compile loop is covered, but there are notable lifecycle gaps: no create_project, delete_project, delete_file, or rename/move file, and no way to fetch compiled output (only log errors) or download an uploaded binary. An agent cannot remove a file or start a new project, which are realistic requests.