Skip to content

fly233338/dsh-overleaf

70Last commit Aug 14, 2026

dsh-overleaf DSH plugin

dsh-overleaf is a DSH plugin that installs OverleafMCP as an npm dependency and exposes its tools to DSH through MCP stdio. It allows the model to browse, read, and write files in Overleaf projects using Git commits. The plugin is designed for scenarios like understanding entire LaTeX projects, fixing compilation errors, and unifying terminology.

How to install the dsh-overleaf DSH plugin

dsh plugin --profile web add /path/to/dsh-overleaf

Copying does not run this command. Review the repository and version before installing the dsh-overleaf DSH plugin.

dsh-overleaf DSH plugin data source

dsh-overleaf DSH plugin snapshot date: Aug 16, 2026

discovered

What the dsh-overleaf DSH plugin can do

  • Browse and read files from multiple Overleaf projects
  • Inspect document sections and section content
  • Write files or sections back to Overleaf through Git commits
  • Use DSH MCP Client provided by the host for interaction

Where the dsh-overleaf DSH plugin fits

  • Understanding an entire LaTeX project structure and content
  • Automatically fixing LaTeX compilation errors with model assistance
  • Unifying terminology and symbols throughout a document
  • Editing multiple Overleaf projects from a single DSH session

Who the dsh-overleaf DSH plugin is for

  • LaTeX users who work with Overleaf and want AI-assisted editing
  • Developers integrating DeepSeek Harness with Overleaf project management

dsh-overleaf DSH plugin limitations

  • Requires DSH 0.1.0-rc.5 or newer and Node.js 22.19.0+
  • Needs an Overleaf Git integration token, which must be kept out of public repositories
  • Does not compile documents, review PDFs, or automate a browser
  • Configuration file is read only at startup; changes require restarting DSH

dsh-overleaf DSH plugin: from the repository README

Quoted from the fly233338/dsh-overleaf README, the upstream source of the dsh-overleaf DSH plugin. Copyright remains with the original authors.

Connect multiple Overleaf projects to [DeepSeek Harness (DSH)](https://github.com/deepseek-ai/deepseek-harness) through [OverleafMCP](https://github.com/mjyoo2/overleafmcp). `dsh-overleaf` installs OverleafMCP as an npm dependency, starts it through MCP stdio, and exposes its tools to DSH. The OverleafMCP source is not copied into this project. ## Features Browse and read files from multiple Overleaf projects, inspect document sections and section content, write files or sections back to Overleaf through Git, and use the DSH MCP Client provided by the host. **Based on my experience, it is especially useful in the following scenarios: understanding an entire LaTeX project, automatically fixing LaTeX compilation errors, and unifying terminology and symbols throughout the document.** ## Requirements - DSH `0.1.0-rc.5` or a compatible release. - Node.js `22.19.0` or newer. - An Overleaf Git integration token. ## Install From a DSH source checkout: ``` cd /path/to/deepseek-harness pnpm install pnpm run build pnpm dsh plugin --profile web add /path/to/dsh-overleaf ``` If the DSH CLI is installed and available on `PATH`: ``` dsh plugin --profile web add dsh-overleaf dsh web ```

Read the full READMERepository license: MIT

dsh-overleaf DSH plugin questions

How do I install dsh-overleaf?

You can install it from a DSH source checkout by running `cd /path/to/deepseek-harness && pnpm install && pnpm run build && pnpm dsh plugin --profile web add /path/to/dsh-overleaf`. If the DSH CLI is on your PATH, simply run `dsh plugin --profile web add dsh-overleaf`. The plugin will be available after the npm package is published.

What configuration is required?

The plugin creates a `dsh-overleaf.config.json` file next to its `index.js` on first startup. You need to fill in your Overleaf Git integration token (`gitToken`) and a list of project IDs (`projectIds`). Project IDs can be found in the Overleaf project URL. The Git token is created under Overleaf Account Settings → Git Integration. After editing the file, restart DSH for changes to take effect.

How do I tell the model which Overleaf project to work on?

You can instruct the model with a prompt like "Please work on Overleaf project project-id-a and read its main.tex." The model will first call `mcp__overleaf__list_projects` to get available projects, then pass the selected ID as `projectName` to subsequent tools. Write operations require an explicit `commitMessage` and will push a Git commit to Overleaf.

Does dsh-overleaf compile LaTeX or review PDFs?

No, the current version does not compile documents, review PDFs, or automate a browser. It focuses on browsing, reading, and writing files in Overleaf projects through Git. Compilation errors can be fixed by the model if you provide the error output, but the plugin itself does not perform compilation.

Can I use multiple Overleaf accounts with one plugin instance?

The current version uses a single `gitToken` for all projects. If you need to access projects from different Overleaf accounts, you would need to run separate plugin instances or configure multiple tokens. The project IDs are all under the same token. The plugin does not support multiple tokens in one configuration file.