LeafMCP
by CherryLemon
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_LEVEL | No | debug, info, warn, error. Logs go to stderr. | info |
| MCP_DOMAIN | No | The public domain for the server, used with docker compose. | |
| PUBLIC_URL | No | Exact public HTTPS origin. OAuth metadata is built from it. | http://localhost:8080 |
| TRUST_PROXY | No | Number of reverse proxies in front. Set to 0 if directly exposed. | 1 |
| MCP_AUTH_MODE | No | oauth, bearer, or none. Use oauth for the web clients. | bearer |
| OLMCP_DATA_DIR | No | Where project mirrors and OAuth state live. | ./data |
| OVERLEAF_EMAIL | No | Self-hosted only: silent re-login when the cookie expires. | |
| OLMCP_AUTO_PUSH | No | Publish each accepted edit immediately. | true |
| OLMCP_READ_ONLY | No | Refuse every mutating tool. | false |
| OVERLEAF_SESSION | Yes | The overleaf_session2 cookie value. Required. | |
| MCP_BEARER_TOKENS | No | Comma-separated static tokens. Required for bearer. | |
| OLMCP_FRESH_READS | No | Re-fetch a file from Overleaf before reading or editing it. | true |
| OVERLEAF_BASE_URL | No | Point at a self-hosted instance. | https://www.overleaf.com |
| OVERLEAF_PASSWORD | No | Self-hosted only: silent re-login when the cookie expires. | |
| MCP_JSON_RESPONSES | No | Enable JSON responses. Set to false to stream responses via SSE (required behind Cloudflare to avoid error 524). | true |
| MCP_OAUTH_PASSWORD | No | The passphrase you type on the consent screen. Required for oauth. | |
| OLMCP_MAX_FILE_BYTES | No | Maximum file size (bytes) for tool paths. Default is 2 MB. | 2097152 |
| OVERLEAF_COOKIE_NAME | No | Cookie name for self-hosted Overleaf / ShareLaTeX (usually sharelatex.sid). | overleaf_session2 |
| MCP_OAUTH_REDIRECT_URLS | No | Exact URLs for additional OAuth callbacks. | |
| OLMCP_ALLOW_ANONYMOUS_WRITE | No | Set to true to allow anonymous write access when MCP_AUTH_MODE=none. | false |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
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 | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo issues