AI connectors · Reference

Connector reference

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_projects List 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.

InputTypeAbout it
searchstringOptional words to find in the title.

list_files List a project's files

Reads only

Lists every file in a project with its size, marking binary files (images, PDFs) and the main document.

InputTypeAbout it
project_id requiredstringThe project's id, from list_projects.

read_file Read 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.

InputTypeAbout it
project_id requiredstringThe project's id, from list_projects.
path requiredstringThe file's path, e.g. main.tex or sections/intro.tex.
start_lineinteger
end_lineinteger

search_project Search a project

Reads only

Finds text in every text file of a project (case-insensitive). Returns path:line and the line.

InputTypeAbout it
project_id requiredstringThe project's id, from list_projects.
query requiredstring

search_all_projects Search 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.

InputTypeAbout it
query requiredstringWords to find, e.g. 'optical wireless'.

fetch Fetch 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.

InputTypeAbout it
id requiredstringA result id from search.

find_references Find 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.

InputTypeAbout it
query requiredstringTitle, author names, keywords, or a DOI.

add_reference Add 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.

InputTypeAbout it
project_id requiredstringThe project's id, from list_projects.
doi requiredstringThe work's DOI.
pathstringThe .tex file where the citation goes; the project's main file if omitted.
cite_afterstringExact 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_file Edit 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.

InputTypeAbout it
project_id requiredstringThe project's id, from list_projects.
path requiredstring
old_text requiredstringExact text to replace, as it is in the file now.
new_text requiredstringThe replacement (may be empty to delete the passage).
replace_allbooleanReplace every occurrence instead of requiring exactly one.

write_file Create 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.

InputTypeAbout it
project_id requiredstringThe project's id, from list_projects.
path requiredstringThe file's path in the project, e.g. sections/method.tex; folders are created as needed.
content requiredstringThe file's complete new text.

add_image Add 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.

InputTypeAbout it
project_id requiredstringThe project's id, from list_projects.
fileobjectA file the person attached in the conversation.
urlstringA public https address of a PNG, JPEG or PDF, when the image is on the web.
pathstringWhere to put it, e.g. figures/results.png. Optional: by default the project's figures folder and the file's own name.

rename_file Rename 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.

InputTypeAbout it
project_id requiredstringThe project's id, from list_projects.
from requiredstring
to requiredstring

delete_file Delete 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.

InputTypeAbout it
project_id requiredstringThe project's id, from list_projects.
path requiredstring

create_project Create 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.

InputTypeAbout it
titlestringThe paper's title. Optional; it can be changed later.
journalstringThe journal or conference it is for, by full name or abbreviation ("IEEE Transactions on Wireless Communications", "TWC"). Optional.
kindstringThe 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.
examplebooleanCreate 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.

compile Compile 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.

InputTypeAbout it
project_id requiredstringThe project's id, from list_projects.

list_stages List 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).

InputTypeAbout it
project_id requiredstringThe project's id, from list_projects.

read_review Read 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.

InputTypeAbout it
project_id requiredstringThe project's id, from list_projects.
roundintegerThe revision round's number; the open round when omitted.
reviewerstringOnly this reviewer's comments, e.g. "Reviewer 2" or "Editor".

write_response Write 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.

InputTypeAbout it
project_id requiredstringThe project's id, from list_projects.
comment requiredstringThe comment's label as read_review shows it, e.g. R2.4, E.1 or AE.1.
response requiredstringThe answer, as LaTeX text for the letter.
changesstringWhere the manuscript changed (section, figure, equation), if the letter has a place for it.

check_responses Check 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.

InputTypeAbout it
project_id requiredstringThe project's id, from list_projects.

suggest_journals Suggest 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.

InputTypeAbout it
project_id requiredstringThe 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.