Skip to main content

MCP server for Overleaf projects

Project description

Overleaf MCP Server

MCP server that lets compatible clients (e.g., Claude Desktop, Cursor, VS Code) interact with Overleaf projects via tools and resources.

Features

  • List projects and files.
  • Read files.
  • Safe, read-only mode.

Adjust to match your implementation.

Requirements

  • Python 3.10+
  • An Overleaf account (or session cookie)

Configure a client

Claude Desktop

Edit claude_desktop_config.json:

{
  "mcpServers": {
    "overleaf": {
      "command": "uv",
      "args": [
        "run",
        "mcp",
        "run",
        "/Volumes/Life/Python/Overleaf/overleaf_mcp/__main__.py"
      ],
      "env": {
        "PROJECT_ID": "<YOUR_PROJECT_ID>",
        "OVERLEAF_TOKEN": "<YOUR_OVERLEAF_TOKEN>"
      },
      "timeout": 120000
    }
  }
}

If you have a console script, set "command": "overleaf-mcp" and remove "args".

Cursor (settings.json)

{
  "mcpServers": {
    "overleaf": {
      "command": "uv",
      "args": [
        "run",
        "mcp",
        "run",
        "/Volumes/Life/Python/Overleaf/overleaf_mcp/__main__.py"
      ],
      "env": {
        "PROJECT_ID": "<YOUR_PROJECT_ID>",
        "OVERLEAF_TOKEN": "<YOUR_OVERLEAF_TOKEN>"
      }
    }
  }
}

VS Code MCP (.vscode/mcp.json)

{
  "servers": {
    "my-mcp-server-overleaf": {
      "type": "stdio",
      "command": "uv",
      "args": [
        "run",
        "mcp",
        "run",
        "/Volumes/Life/Python/Overleaf/overleaf_mcp/__main__.py"
      ],
      "env": {
        "PROJECT_ID": "<YOUR_PROJECT_ID>",
        "OVERLEAF_TOKEN": "<YOUR_OVERLEAF_TOKEN>"
      }
    }
  },
  "inputs": []
}

Tools

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

overleaf_mcp-0.1.3.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

overleaf_mcp-0.1.3-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file overleaf_mcp-0.1.3.tar.gz.

File metadata

  • Download URL: overleaf_mcp-0.1.3.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.7

File hashes

Hashes for overleaf_mcp-0.1.3.tar.gz
Algorithm Hash digest
SHA256 ea7913592d5a04b763b8554d70bd63d5b17b3d95b82d43373d96340b41bc65da
MD5 af257c31b6b3e68a41633774dcf75480
BLAKE2b-256 c38a540fd61a7460ad609e59f610a76c0ae036de5d650ae62ce82d95a3ce744b

See more details on using hashes here.

File details

Details for the file overleaf_mcp-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for overleaf_mcp-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 010cde77791285d4d60c8fc7c26fb2262d780be553d5dfa1c47ad5a68210e476
MD5 dad65aa0b44d7b98c16e5500e9fced32
BLAKE2b-256 3d3dd454feb1c117a86f9fb09da19a88a5c21ef8c3b54cc93d1fc2e589162879

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page