原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Overleaf for AI agents (olmcp)

作者:nipdep版本 1.0.0-alpha.3i★ –i在你的电脑上运行
注册名称io.github.nipdep/agent-overleaf-connector

安装

概览

作者提供的说明(英文原文)

Overleaf for AI agents: review comments, tracked-change edits, new files and PDFs; no Git needed

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 开发者工具
  • 你需要填写:OVERLEAF_SESSION

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: OVERLEAF_SESSION, OVERLEAF_BASE_URL

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "agent-overleaf-connector": {
      "command": "npx",
      "args": [
        "-y",
        "olmcp",
        "mcp"
      ],
      "env": {
        "OVERLEAF_SESSION": "your-value",
        "OVERLEAF_BASE_URL": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add agent-overleaf-connector --env OVERLEAF_SESSION=your-value --env OVERLEAF_BASE_URL=your-value -- npx -y olmcp mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "agent-overleaf-connector": {
      "command": "npx",
      "args": [
        "-y",
        "olmcp",
        "mcp"
      ],
      "env": {
        "OVERLEAF_SESSION": "your-value",
        "OVERLEAF_BASE_URL": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "agent-overleaf-connector": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "olmcp",
        "mcp"
      ],
      "env": {
        "OVERLEAF_SESSION": "your-value",
        "OVERLEAF_BASE_URL": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • OVERLEAF_SESSION 机密 env
    Your Overleaf session cookie (overleaf_session2). Optional: `olmcp auth` stores it in ~/.config/olmcp instead.
  • OVERLEAF_BASE_URL env
    Only for a self-hosted Overleaf, e.g. https://overleaf.example.edu. Defaults to https://www.overleaf.com.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 nipdep 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“开发者工具”中的其他服务器比较i

  • 星标数多于此分类中其他 1396 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 1396 个服务器的 99% 更新
  • 基础检查结果等于或优于此分类中其他 1396 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Overleaf for AI agents (olmcp) 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:OVERLEAF_SESSION

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.0.0-alpha.3)于今天进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:GitHub, Desktop Commander, Cloudflare MCP

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

GitHub

作者:github

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

电脑或云端★ 34,245MIT4天前更新
安装

Desktop Commander

作者:wonderwhy-er

MCP server for terminal commands, file operations, and process management

在你的电脑上运行★ 10,225MIT16天前更新
安装

Cloudflare MCP

作者:cloudflare

Cloudflare MCP servers

在云端运行★ 4,446Apache-2.014个月前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Agent–Overleaf Connector (olmcp)

olmcp lets an AI agent respond to review comments in an Overleaf project.

You comment in Overleaf. The agent reads the comment and the selected text, proposes an edit as an Overleaf tracked change, and replies in the same thread. You remain the reviewer: you accept or reject the edit and close the thread.

olmcp has no hosted backend: the connector runs on your computer and uses your Overleaf session. Your chosen AI client may still send MCP results to its model provider under that client's own privacy terms.

The workflow

1. You select text and leave a comment in Overleaf.
  1. The agent reads the comment and the live project.
  2. The agent proposes a tracked change and replies in the thread.
  3. You accept, reject, request another version, or resolve the thread.

By default, an edit is a proposal, not a silent replacement. Overleaf shows the original text as a tracked deletion and the proposed text as a tracked insertion.

Project status: 1.0.0-alpha.3. The core review flow has been used on real Overleaf projects; newer features such as pending-suggestion revision and file creation still need real-service testing. Start with a disposable project.

What the MCP can and cannot do

It canIt deliberately cannot
Read comments, threads, selected text, and text files in the projectAccept or reject a tracked change for you
Propose tracked edits in review modeResolve, reopen, close, or delete a comment thread
Apply a plain edit when you explicitly use #directOverwrite or delete an existing file
Reply in a comment threadEdit documents that use Overleaf's unsupported newer history format
Revise its own pending suggestion when you ask for another versionCreate images, PDFs, or other binary project files
Create a new text file and missing foldersWork continuously in the background or watch for new comments
Compile the project on Overleaf and save the PDF locallyGive the agent a separate Overleaf identity; changes use your account

The tool surface enforces these limits. However, an agent with unrestricted shell access could read the stored session cookie and contact Overleaf outside the MCP. See Security and trust.

Quick start

You need Node.js 20 or newer, an Overleaf account, and an MCP-capable agent such as Claude Code or Codex. You do not need Python, TeX, or Overleaf's paid Git integration. The current GitHub-based installation may also need the git command; normal use does not.

1. Install olmcp
npm install -g github:nipdep/agent-overleaf-connector

olmcp --version

2. Sign in to Overleaf

Copy the overleaf_session2 cookie from your browser's developer tools, then run:

olmcp auth --cookie "<cookie value>"

Treat this cookie like a password. Never paste it into an agent chat, issue, or commit. The setup guide shows where to find it and what to do when it expires.

3. Register the MCP server

Choose your agent, then restart it:

# Claude Code

claude mcp add --scope user olmcp -- "$(which olmcp)" mcp

Codex

codex mcp add olmcp -- "$(which olmcp)" mcp

Windows PowerShell commands and other MCP clients are covered in Connect an AI agent.

4. Give the agent your project URL

No project folder or clone is required. After connecting the MCP, paste the Overleaf project URL into the request:

Address the comments in https://www.overleaf.com/project/<project-id>.

If you prefer not to paste the URL each time, you can save the project ID in a working folder with olmcp init. See Choosing a project.

5. Address a comment

In Overleaf, select a sentence and comment “make this clearer.” Then tell your agent:

Address the comments in https://www.overleaf.com/project/<project-id>.

Back in Overleaf, review the tracked edit. Accept or reject it, reply with another request, or resolve the thread yourself.

Everyday controls

When you want to…Do this in Overleaf
Propose a normal reviewable editLeave an ordinary comment; review is the default
Apply an edit without tracked changesAdd #direct to the comment
Keep the agent away from a threadAdd #no-agent
Focus the agent on particular threadsAdd #agent to those comments
Ask for another version of a pending suggestionReply in the same thread, for example “shorter please,” then run the agent again
Add a new section or bibliography fileAsk in a comment; the new file appears immediately, while the \input or bibliography edit is proposed separately
Finish a discussionResolve the thread yourself

Read Using olmcp for examples, modes, tags, file creation, and the complete MCP tool list.

Important safety details

  • Tracked changes are attributed to your Overleaf account because the connector uses your session.
  • A newly created file cannot be a tracked change. It appears immediately; the connector never overwrites or deletes files.
  • #direct changes are immediate. Use Overleaf History if you need to undo one.
  • The interface is unofficial and may break when Overleaf changes it.
  • The session cookie usually expires after a few days. Run olmcp auth again when olmcp doctor reports an expired session.

Documentation

  • Start here: documentation map
  • Install and set up
  • Use comments, proposals, tags, and files
  • Connect and constrain an AI agent
  • Run the alpha test checklist
  • Check verified behavior and current limits
  • Understand the technical design
  • Contribute

Release changes are in the changelog. The retired Python workflow—Git sync, source markers, redline.tex, and GitHub Actions—remains on the python-legacy branch.

Logo files: PNG · SVG

License and credit

Apache 2.0. See LICENSE. The Overleaf protocol handling follows the approach used by olcli by Alexander Loth (MIT); see THIRD_PARTY_NOTICES.md.

问 PopNx