Skip to main content
Glama

Overleaf MCP Server

by mjyoo2

read_file

Access and retrieve specific files from Overleaf projects by providing the file path and project details. Enables reading LaTeX files, analyzing document structure, and extracting content via Git integration.

Instructions

Read a file from an Overleaf project

Input Schema

NameRequiredDescriptionDefault
filePathYesPath to the file
gitTokenNoGit token (optional, uses env var)
projectIdNoProject ID (optional, uses env var)
projectNameNoProject name (default, project2, etc.)

Input Schema (JSON Schema)

{ "additionalProperties": false, "properties": { "filePath": { "description": "Path to the file", "type": "string" }, "gitToken": { "description": "Git token (optional, uses env var)", "type": "string" }, "projectId": { "description": "Project ID (optional, uses env var)", "type": "string" }, "projectName": { "description": "Project name (default, project2, etc.)", "type": "string" } }, "required": [ "filePath" ], "type": "object" }
Install Server

Other Tools from Overleaf MCP Server

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/mjyoo2/OverleafMCP'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server