MCP Catalogs
首页

OverleafMCP

by mjyoo2·128·综合分 48

一个让AI助手通过Git集成读写Overleaf LaTeX项目的MCP服务器。

developer-toolsproductivityai-llm
24
Forks
1
活跃 Issue
1 个月前
最近提交
2 天前
收录于

概述

OverleafMCP为AI助手提供了与Overleaf LaTeX项目交互的全面接口。它允许列出、读写Overleaf项目中的文件,解析LaTeX文档结构,提取特定章节,并管理多个项目。该服务器与Claude Desktop、Cursor、Windsurf以及其他任何MCP客户端无缝集成,使AI系统能够以自然的方式理解和编辑LaTeX文档。实现包括保护Overleaf Git令牌的安全措施,并提供多种配置选项以适应不同的工作流需求。

试试问 AI

装完之后,这里有 5 个你可以让 AI 做的事:

:AI助手可以直接分析和编辑Overleaf项目中的LaTeX文档
:研究协作中AI帮助整理和格式化学术论文
:基于LaTeX的出版物的自动文档生成和管理
:如何获取Overleaf凭据?
:可以管理多个Overleaf项目吗?

什么时候选它

当您需要 AI 辅助管理 Overleaf 项目中的 LaTeX 文档,特别是需要章节级别编辑的学术论文或技术文档时,选择这个 MCP 服务器。

什么时候不要选它

如果您不使用 Overleaf,需要非 LaTeX 文档支持,或需要超越简单项目令牌且无访问控制的认证方式,请避免使用。

此 server 暴露的工具

从 README 抽取出 8 个工具
  • list_projects

    List all configured projects

  • list_filesextension?, projectName?

    List files in a project (default: .tex files)

  • read_filefilePath, projectName?

    Read a specific file from the project

  • get_sectionsfilePath, projectName?

    Get all sections from a LaTeX file

  • get_section_contentfilePath, sectionTitle, projectName?

    Get content of a specific section

  • status_summaryprojectName?

    Get a comprehensive project status summary

  • write_filefilePath, content, commitMessage, projectName?

    Write the full content of a file to the project

  • write_sectionfilePath, sectionTitle, newContent, commitMessage, projectName?

    Write the content of a specific section to the project

可对比工具

latex-to-mcpgit-mcpdocument-mcp

安装

安装

快速开始(推荐):

**macOS / Linux**

{
  "mcpServers": {
    "overleaf": {
      "command": "npx",
      "args": ["-y", "@mjyoo2/overleaf-mcp"],
      "env": {
        "OVERLEAF_PROJECT_ID": "您的Overleaf项目ID",
        "OVERLEAF_GIT_TOKEN": "您的Overleaf Git令牌"
      }
    }
  }
}

**Windows**

{
  "mcpServers": {
    "overleaf": {
      "command": "cmd",
      "args": ["/c", "npx", "-y", "@mjyoo2/overleaf-mcp"],
      "env": {
        "OVERLEAF_PROJECT_ID": "您的Overleaf项目ID",
        "OVERLEAF_GIT_TOKEN": "您的Overleaf Git令牌"
      }
    }
  }
}

FAQ

如何获取Overleaf凭据?
项目ID在URL中(https://www.overleaf.com/project/[项目ID])。Git令牌在Overleaf→账户设置→Git集成→'创建令牌'中生成。
可以管理多个Overleaf项目吗?
可以。创建包含多个项目配置的projects.json文件,并在工具调用中按名称引用它们。

OverleafMCP 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。