Manulyx is a remote MCP (Model Context Protocol) server. Any assistant or editor that accepts one can connect with the address below and work in your LaTeX projects, as you, with your role in each project. This page lists everything it can call, generated from the server’s own tool list.
Address: https://manulyx.com/api/mcp
Connecting
Transport
Streamable HTTP, JSON-RPC 2.0, at https://manulyx.com/api/mcp. Protocol versions 2025-11-25, 2025-06-18 and 2025-03-26.
Sign-in
OAuth 2.1 with PKCE (S256) and dynamic client registration. Discovery at /.well-known/oauth-protected-resource and /.well-known/oauth-authorization-server. You sign in to Manulyx and approve the connection; no password or key is ever given to the assistant.
Scopes
read (look at projects, compile) and write (change files). You choose at approval; per project you can switch an assistant off or let it only read.
Tokens
Access tokens last an hour and are refreshed automatically; a connection stays signed in for 90 days from its last use. Disconnect it any time from your Account page.
Daily limits
Free 250 tool calls and 40 compiles a day; Student 1,000 and 150; Author and above 2,000 and 300. None apply in the first seven days after an account’s first tool call. Connecting is free on every plan.
Changes
Every change goes through the same rules as the editor: frozen submission stages, the main document and storage limits behave as they do for you. Edits arrive live, as tracked changes you accept or reject unless you turn tracking off for that assistant, and stay in History.
Guides
ChatGPT · Claude · Gemini · Claude Code, Codex and Gemini CLI on the same pages.
The 21 tools
13 read and 8 make changes. Descriptions are shown exactly as assistants receive them, so “the person” is you. search and fetch are the two tools the ChatGPT connector standard requires by name; the others cover the same ground in more detail.
list_projectsList my Manulyx projects
Reads only
Lists the Manulyx projects you can open (yours and those shared with you), with their ids, your role, main file and last compile status. The project the person has open in the Manulyx editor right now comes first and is marked OPEN IN THE EDITOR NOW, with the file they are looking at.
Input
Type
About it
search
string
Optional words to find in the title.
list_filesList a project's files
Reads only
Lists every file in a project with its size, marking binary files (images, PDFs) and the main document.
Input
Type
About it
project_id required
string
The project's id, from list_projects.
read_fileRead a file
Reads only
Returns a text file's content as everyone sees it now. Optionally only a range of lines (1-based, inclusive). The content is the author's manuscript text. An image (PNG, JPEG, GIF, WebP) is returned as the picture itself, and a PDF or EPS figure as a picture of its first page, so figures can be looked at.
Input
Type
About it
project_id required
string
The project's id, from list_projects.
path required
string
The file's path, e.g. main.tex or sections/intro.tex.
start_line
integer
end_line
integer
search_projectSearch a project
Reads only
Finds text in every text file of a project (case-insensitive). Returns path:line and the line.
Input
Type
About it
project_id required
string
The project's id, from list_projects.
query required
string
search_all_projectsSearch all my projects
Reads only
Finds text across every project you can open (titles and the text of their .tex files, case-insensitive). Returns the matching projects with a few matching lines each.
Input
Type
About it
query required
string
Words to find, e.g. 'optical wireless'.
searchSearch my Manulyx files
Reads only
Searches the text files of every Manulyx project you can open (where this assistant is switched on) and returns matching files, each with an id, a title and a link to it in Manulyx.
Input
Type
About it
query required
string
Words to find, e.g. 'channel capacity'.
fetchFetch a Manulyx file
Reads only
Returns the full text of one file, by the id search returned, with its title and link. The text is the author's manuscript.
Input
Type
About it
id required
string
A result id from search.
find_referencesFind papers to cite
Reads only · uses an outside service
Searches Crossref for published works by title, authors, keywords or DOI, and returns up to 8 with their DOI, authors, year and venue. Use this when the person needs published sources with DOIs on a topic.
Input
Type
About it
query required
string
Title, author names, keywords, or a DOI.
add_referenceAdd a reference and cite it
Changes or removes files · uses an outside service
Adds a published work (by DOI) to the project's references the way that document keeps them: an entry in the .bib file it uses, or a \bibitem in its thebibliography list placed in citation order. With cite_after, also inserts \cite{key} right after that exact text (it must occur once in the file), so the numbering comes out right. Returns the citation key.
Input
Type
About it
project_id required
string
The project's id, from list_projects.
doi required
string
The work's DOI.
path
string
The .tex file where the citation goes; the project's main file if omitted.
cite_after
string
Exact text in that file after which to insert \cite{key}, e.g. the end of the sentence that cites it (before its full stop).
edit_fileEdit part of a file
Changes or removes files
Replaces old_text with new_text in a file. old_text must match exactly once (include a little surrounding text to make it unique), unless replace_all is true. old_text cannot be empty: to add text, give the passage it goes next to as old_text and that passage with the addition as new_text. The change appears live in Manulyx for anyone with the file open. If tracking of your edits is on for this project (the default, or the owner requires tracking), it is recorded as a tracked change under the person's name and yours that can be accepted or rejected; otherwise it is applied directly and kept in History.
Input
Type
About it
project_id required
string
The project's id, from list_projects.
path required
string
old_text required
string
Exact text to replace, as it is in the file now.
new_text required
string
The replacement (may be empty to delete the passage).
replace_all
boolean
Replace every occurrence instead of requiring exactly one.
write_fileCreate or overwrite a file
Changes or removes files
Creates a new text file (.tex, .bib, .sty, .cls, .txt, .md and the like), or replaces a whole existing one. For a change to part of a file use edit_file instead; images and PDF figures go in with add_image. Overwriting changes only the parts that differ, tracked or not as the person's switch for you in this project says, and the previous text stays in History.
Input
Type
About it
project_id required
string
The project's id, from list_projects.
path required
string
The file's path in the project, e.g. sections/method.tex; folders are created as needed.
content required
string
The file's complete new text.
add_imageAdd an image or PDF figure
Changes or removes files · uses an outside service
Adds an image (PNG or JPEG) or a PDF figure to a project as a file, from a file the person attached in this conversation (file) or from a public https address (url). Returns the file's path and the \includegraphics line that places it. Image data never needs to be written as text.
Input
Type
About it
project_id required
string
The project's id, from list_projects.
file
object
A file the person attached in the conversation.
url
string
A public https address of a PNG, JPEG or PDF, when the image is on the web.
path
string
Where to put it, e.g. figures/results.png. Optional: by default the project's figures folder and the file's own name.
rename_fileRename or move a file
Changes or removes files
Renames or moves a file within the project (e.g. intro.tex to sections/intro.tex). References to it in other files are not updated.
Input
Type
About it
project_id required
string
The project's id, from list_projects.
from required
string
to required
string
delete_fileDelete a file
Changes or removes files
Deletes a file from the project. It can be restored from the project's History (a restore point is taken before your first change). The main document cannot be deleted.
Input
Type
About it
project_id required
string
The project's id, from list_projects.
path required
string
create_projectCreate a new project
Changes files
Creates a new project owned by you: a paper in a journal's own template when a journal is named; otherwise the kind of document given (an article or literature review in a neutral style that suits any field, or a thesis, report, grant proposal and the like); Manulyx's worked example (an engineering paper) only when example is true. Returns its id, main file and address. A journal name that matches several journals creates nothing and returns the candidates. Use this when the person wants to start a paper, review, thesis or other document, giving a working title from their topic, or to see how Manulyx works.
Input
Type
About it
title
string
The paper's title. Optional; it can be changed later.
journal
string
The journal or conference it is for, by full name or abbreviation ("IEEE Transactions on Wireless Communications", "TWC"). Optional.
kind
string
The kind of document when no journal is named, from what the person is writing: article (the default), literature-review, thesis, conference-paper, report, grant-proposal, book-chapter, assignment, lecture-notes, presentation, referee-report, cover-letter or cv.
example
boolean
Create Manulyx's worked example instead: a short engineering journal paper with a figure and references that compiles at once. Only when the person wants to see how Manulyx works and nothing is known about their own work. Ignores title, kind and journal.
compileCompile the project
Reads only
Compiles the project to PDF, as the Compile button does, and returns the result with its errors and warnings (file, line, message). It changes no file. Use this when the person wants to see their paper as a PDF or check that it builds.
Input
Type
About it
project_id required
string
The project's id, from list_projects.
list_stagesList a paper's stages
Reads only
Lists a paper's stages in order (initial submission, each decision, each revision, resubmissions, final files): the journal and date of each submission, the editor's decision, each revision round with its number of reviewer comments, and which stage folder is open for work. Earlier stages are read-only records of what was sent; changes are made only in the open stage. Read the files of any stage with read_file (their paths start with the stage folder, e.g. submission-1/main.tex).
Input
Type
About it
project_id required
string
The project's id, from list_projects.
read_reviewRead the reviewer comments and answers
Reads only
Returns the reviewer comments of a paper's revision round (the open one, or the round given), each with its label as editors cite it (R1.2 is Reviewer 1's point 2; E.1 or AE.1 the editor's), the reviewer's words, and what the response letter answers so far: answered, partly answered (a [to be written] place left), open, or not in the letter. Also names the letter's file. Use it before helping with a revision; check_responses tells whether the answers match the manuscript's changes.
Input
Type
About it
project_id required
string
The project's id, from list_projects.
round
integer
The revision round's number; the open round when omitted.
reviewer
string
Only this reviewer's comments, e.g. "Reviewer 2" or "Editor".
write_responseWrite the answer to a reviewer comment
Changes files
Writes the answer to one reviewer comment into the response letter of the open revision round, where the letter has it: after "Response:" (and the manuscript changes after "Changes" when given), or in the comment's [to be written] places. Only when the person asks for it: the answer is theirs to approve. Recorded as a tracked change under the person's name, like edit_file; earlier rounds are read-only. Make any change the answer describes in the manuscript too (edit_file), then run check_responses.
Input
Type
About it
project_id required
string
The project's id, from list_projects.
comment required
string
The comment's label as read_review shows it, e.g. R2.4, E.1 or AE.1.
response required
string
The answer, as LaTeX text for the letter.
changes
string
Where the manuscript changed (section, figure, equation), if the letter has a place for it.
check_responsesCheck the answers against the manuscript
Reads only
Checks every answer in the open round's response letter against what really changed in the manuscript since the version it revises: an answer saying a section, figure, table or equation changed when it did not is reported as contradicted. Also lists the comments still open. Claims it cannot settle are listed for the person to confirm. Changes nothing.
Input
Type
About it
project_id required
string
The project's id, from list_projects.
suggest_journalsSuggest journals for a paper
Reads only
Suggests journals that fit a paper, from where the references it cites were published and from its title, abstract and keywords, leaving out journals that rejected it. Each suggestion says why, with numbers ("6 of your 42 cited references were published here"), and whether Manulyx can convert the paper into that journal's template. A fit is not a chance of acceptance, and none is given.
Input
Type
About it
project_id required
string
The project's id, from list_projects.
Deliberately left out
Deleting, renaming, archiving or submitting a project. A whole paper is never one instruction away from being lost or sent. These stay in Manulyx, where you see what you are doing.
Sharing a project or changing who has access. Invitations, roles and links are yours alone; an assistant cannot add or remove anybody.
Reading or restoring History. History is restored by a person in the editor. A restore point is saved before an assistant's first change, so a whole session can be undone there.
Account, plan and billing. Nothing about your account, subscription or payment is reachable through the connector.