fly233338/dsh-overleaf
通过OverleafMCP和MCP工具将Overleaf项目连接到DeepSeek Harness(DSH)。
项目介绍Project Overview
dsh-overleaf 是一款 DSH 插件,通过 @fly233338/overleaf-mcp 在 MCP stdio 下连接多个 Overleaf 项目。它能浏览和读取项目文件、检查章节内容、通过 Git 回写文件或章节,并复用宿主提供的 DSH MCP 客户端。适用于理解整个 LaTeX 项目、自动修复编译错误、统一术语符号等场景。配置需 DSH 0.1.0-rc5、Node.js 22.19.0 及 Overleaf Git 集成令牌。需注意:当前版本不编译文档、不审查 PDF,也不自动化浏览器操作。
dsh-overleaf is a DSH plugin that connects multiple Overleaf projects via the @fly233338/overleaf-mcp package over MCP stdio. It browses and reads project files, inspects document sections, and writes files or sections back through Git, using the host DSH MCP client. Use it for understanding a full LaTeX project, automatically fixing compilation errors, and unifying terminology and symbols. It requires DSH 0.1.0-rc5, Node.js 22.19.0, and an Overleaf Git integration token. Caveat: it does not compile documents, review PDFs, or automate a browser.
请帮我了解并安装插件:【dsh-overleaf】【https://github.com/fly233338/dsh-overleaf】
把上面这条消息直接发给当前会话里的 DSH,让它帮你了解并安装。安装命令不一定准确,发给 DSH 更稳。Send this message to DSH in your current session. CLI install commands may not be accurate across systems — DSH will figure it out for you.
或使用命令行安装(适合开发者)Or use CLI install (for developers)
命令行安装CLI Install
dsh plugin --profile web add dsh-overleaf
把 fly233338/dsh-overleaf 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-overleaf
Connect multiple Overleaf projects to DeepSeek Harness (DSH) through @fly233338/overleaf-mcp.
dsh-overleaf installs @fly233338/overleaf-mcp 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.5or a compatible release. - Node.js
22.19.0or newer. - An Overleaf Git integration token.
Install
If the DSH CLI is installed and available on PATH:
dsh plugin --profile web add dsh-overleaf
dsh web
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
pnpm dsh web
The npm installation command becomes available after this package is published.
Configure
The plugin stores dsh-overleaf.config.json under $DSH_HOME/dsh-overleaf/. If DSH_HOME is not set, it uses ~/.dsh/dsh-overleaf/. The directory and file are created on startup when missing. Fill in one shared token and one project ID per line:
{
"gitToken": "your-overleaf-git-token",
"projectIds": [
"project-id-a",
"project-id-b"
]
}
Get project IDs from the <id> in the Overleaf project URL. Create the Git token under Overleaf Account Settings → Git Integration.
Restart DSH after editing the file. The plugin reads it once at startup and generates the internal .dsh-overleaf.projects.json OverleafMCP project configuration in the same directory. Do not edit the generated file.
The plugin does not read .env and does not require Overleaf environment variables.
Use with the model
Tell the model which project to handle:
Please work on Overleaf project project-id-a and read its main.tex.
The model first calls mcp__overleaf__list_projects, then passes the selected ID as projectName to subsequent Overleaf tools. Write operations require an explicit commitMessage and push a Git commit to Overleaf.
Keep the token out of public source repositories and published package contents.
Scope
The current version supports multiple Overleaf projects through one MCP tool group. It does not compile documents, review PDFs, or automate a browser.
Links
- Project repository
- @fly233338/overleaf-mcp (npm)
- DSH plugin guide
- insert:
- id: dsh-overleaf name: dsh-overleaf
ruvnet/ruflo
amruthpillai/reactive-resume
volcengine/OpenViking
Molunerfinn/PicGo
titanwings/colleague-skill
nocobase/nocobase
Tencent/WeKnora