Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| REDIS_DB | No | Redis database number | |
| REDIS_URL | No | Redis connection URL | |
| REDIS_HOST | No | Redis host | |
| REDIS_PORT | No | Redis port | |
| PROJECTS_FILE | No | Path to the Overleaf project map | ./projects.json |
| REDIS_PASSWORD | No | Redis password | |
| OVERLEAF_TEMP_DIR | No | Cache directory for cloned repositories | ./temp |
| OVERLEAF_GIT_TOKEN | No | Optional environment fallback for Overleaf Git token if not defined in projects.json or tool arguments | |
| REQUEST_QUEUE_NAME | No | Override the BullMQ queue name | overleaf-mcp-requests |
| REQUEST_TIMEOUT_MS | No | Maximum time the server waits for a job to finish | 120000 |
| OVERLEAF_PROJECT_ID | No | Optional environment fallback for Overleaf project ID if not defined in projects.json or tool arguments | |
| PROJECT_LOCK_TTL_MS | No | Advanced tuning for per-project Redis locks - time to live | |
| REQUEST_CONCURRENCY | No | Worker concurrency for queued jobs | 4 |
| PROJECT_LOCK_RETRY_MS | No | Advanced tuning for per-project Redis locks - retry interval | |
| PROJECT_LOCK_MAX_WAIT_MS | No | Advanced tuning for per-project Redis locks - maximum wait time |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |