Overleaf Web MCP
An MCP server that allows AI agents to read, edit, compile, and review Overleaf LaTeX projects via a user's signed-in web session. It supports project management, file synchronization, tracked changes, and compilation without requiring Git integration or a premium plan.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Create, list, and manage Overleaf projects
- Compile LaTeX documents and report errors
- Review and reply to comment threads
- Sync local folders with remote projects
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
overleaf-web-mcp 0.8.0
{
"version": "0.8.0",
"transport": "stdio",
"identifier": "overleaf-web-mcp",
"runtimeHint": "npx",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"packageArguments": [
{
"type": "positional",
"value": "serve",
"description": "Run the MCP server over stdio. Sign in once first with `npx overleaf-web-mcp login`."
}
],
"environmentVariables": [
{
"name": "OVERLEAF_BASE_URL",
"format": "string",
"default": "https://www.overleaf.com",
"description": "Overleaf origin to use, for a self-hosted instance. Use the same value for login and serve."
},
{
"name": "OVERLEAF_COOKIE_JAR_FILE",
"format": "filepath",
"description": "Where the saved session is read from, if not the platform configuration directory."
},
{
"name": "OVERLEAF_ALLOWED_PROJECTS",
"format": "string",
"description": "Comma-separated project ids the server may touch. Unset allows every project."
},
{
"name": "OVERLEAF_LOCAL_READ_ROOTS",
"format": "string",
"description": "Absolute folders local reads must stay inside, separated by : (; on Windows). Unset allows any."
},
{
"name": "OVERLEAF_LOCAL_WRITE_ROOTS",
"format": "string",
"description": "Absolute folders local writes must stay inside, separated by : (; on Windows). Unset allows any."
},
{
"name": "OVERLEAF_ALLOWED_EFFECTS",
"format": "string",
"description": "Comma-separated kinds of change operations may make, such as overleaf-read. Unset allows all."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"overleaf-web-mcp": {
"command": "npx",
"args": [
"-y",
"overleaf-web-mcp@0.8.0",
"serve"
],
"env": {
"OVERLEAF_BASE_URL": "<YOUR_OVERLEAF_BASE_URL>",
"OVERLEAF_COOKIE_JAR_FILE": "<YOUR_OVERLEAF_COOKIE_JAR_FILE>",
"OVERLEAF_ALLOWED_PROJECTS": "<YOUR_OVERLEAF_ALLOWED_PROJECTS>",
"OVERLEAF_LOCAL_READ_ROOTS": "<YOUR_OVERLEAF_LOCAL_READ_ROOTS>",
"OVERLEAF_LOCAL_WRITE_ROOTS": "<YOUR_OVERLEAF_LOCAL_WRITE_ROOTS>",
"OVERLEAF_ALLOWED_EFFECTS": "<YOUR_OVERLEAF_ALLOWED_EFFECTS>"
}
}
}
}Cline
{
"mcpServers": {
"overleaf-web-mcp": {
"command": "npx",
"args": [
"-y",
"overleaf-web-mcp@0.8.0",
"serve"
],
"env": {
"OVERLEAF_BASE_URL": "<YOUR_OVERLEAF_BASE_URL>",
"OVERLEAF_COOKIE_JAR_FILE": "<YOUR_OVERLEAF_COOKIE_JAR_FILE>",
"OVERLEAF_ALLOWED_PROJECTS": "<YOUR_OVERLEAF_ALLOWED_PROJECTS>",
"OVERLEAF_LOCAL_READ_ROOTS": "<YOUR_OVERLEAF_LOCAL_READ_ROOTS>",
"OVERLEAF_LOCAL_WRITE_ROOTS": "<YOUR_OVERLEAF_LOCAL_WRITE_ROOTS>",
"OVERLEAF_ALLOWED_EFFECTS": "<YOUR_OVERLEAF_ALLOWED_EFFECTS>"
}
}
}
}VS Code
{
"servers": {
"overleaf-web-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"overleaf-web-mcp@0.8.0",
"serve"
],
"env": {
"OVERLEAF_BASE_URL": "<YOUR_OVERLEAF_BASE_URL>",
"OVERLEAF_COOKIE_JAR_FILE": "<YOUR_OVERLEAF_COOKIE_JAR_FILE>",
"OVERLEAF_ALLOWED_PROJECTS": "<YOUR_OVERLEAF_ALLOWED_PROJECTS>",
"OVERLEAF_LOCAL_READ_ROOTS": "<YOUR_OVERLEAF_LOCAL_READ_ROOTS>",
"OVERLEAF_LOCAL_WRITE_ROOTS": "<YOUR_OVERLEAF_LOCAL_WRITE_ROOTS>",
"OVERLEAF_ALLOWED_EFFECTS": "<YOUR_OVERLEAF_ALLOWED_EFFECTS>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"overleaf-web-mcp": {
"command": "npx",
"args": [
"-y",
"overleaf-web-mcp@0.8.0",
"serve"
],
"env": {
"OVERLEAF_BASE_URL": "<YOUR_OVERLEAF_BASE_URL>",
"OVERLEAF_COOKIE_JAR_FILE": "<YOUR_OVERLEAF_COOKIE_JAR_FILE>",
"OVERLEAF_ALLOWED_PROJECTS": "<YOUR_OVERLEAF_ALLOWED_PROJECTS>",
"OVERLEAF_LOCAL_READ_ROOTS": "<YOUR_OVERLEAF_LOCAL_READ_ROOTS>",
"OVERLEAF_LOCAL_WRITE_ROOTS": "<YOUR_OVERLEAF_LOCAL_WRITE_ROOTS>",
"OVERLEAF_ALLOWED_EFFECTS": "<YOUR_OVERLEAF_ALLOWED_EFFECTS>"
}
}
}
}Let your agent find its tools
Find servers like Overleaf Web MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.