lychee-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | HTTP port. Default 3000. | 3000 |
| LYCHEE_URL | Yes | Required. Origin only, http or https, with no userinfo, query, hash, or path. Example: http://127.0.0.1:8099. A URL whose path is already /api/v2 is rejected. | |
| MCP_TRANSPORT | No | Transport mode: stdio or http. --http overrides. | |
| LYCHEE_CONTACT | No | Contact token included in the User-Agent. Must not contain the API token. | |
| LYCHEE_TOOLSETS | No | Comma-separated toolset list, or all. Defaults to the read-only toolset set. | |
| LYCHEE_API_TOKEN | Yes | Required. The raw Lychee API token. Sent as Authorization: Bearer <token>. A leading 'Bearer ' is stripped. Redacted in logs, errors, and tool results. | |
| LYCHEE_PER_MINUTE | No | Local request budget. Default 30. Cache hits do not spend it. | 30 |
| LYCHEE_TIMEOUT_MS | No | Upstream timeout in milliseconds. Default 20000. | 20000 |
| LYCHEE_ALLOW_WRITES | No | Must be the literal true before a confirmed write is sent. The string "true" is rejected. | |
| LYCHEE_CACHE_TTL_SEC | No | Read cache TTL in seconds. Default 60. Writes clear the cache. | 60 |
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
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| lychee_albumsC | lychee_albums covers the albums toolset (3 operations). Calls go to LYCHEE_URL under /api/v2. The Authorization header is the raw token. action help with target returns one action's parameters. Actions: list, get, tree. |
| lychee_photosB | lychee_photos covers the photos toolset (2 operations). Calls go to LYCHEE_URL under /api/v2. The Authorization header is the raw token. action help with target returns one action's parameters. Actions: list, get. |
| lychee_searchB | lychee_search covers the search toolset (2 operations). Calls go to LYCHEE_URL under /api/v2. The Authorization header is the raw token. action help with target returns one action's parameters. Actions: init, search. |
| lychee_settingsB | lychee_settings covers the settings toolset (4 operations). Calls go to LYCHEE_URL under /api/v2. The Authorization header is the raw token. action help with target returns one action's parameters. Actions: init, upload_limits, get, version. |
| lychee_sharingC | lychee_sharing covers the sharing toolset (3 operations). Calls go to LYCHEE_URL under /api/v2. The Authorization header is the raw token. action help with target returns one action's parameters. Actions: list, list_all, list_albums. |
| lychee_tagsC | lychee_tags covers the tags toolset (2 operations). Calls go to LYCHEE_URL under /api/v2. The Authorization header is the raw token. action help with target returns one action's parameters. Actions: list, get. |
| lychee_usersA | lychee_users covers the users toolset (4 operations). Calls go to LYCHEE_URL under /api/v2. The Authorization header is the raw token. action help with target returns one action's parameters. Actions: current, rights, list, count. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 7 tools
Each tool maps to a distinct Lychee resource (albums, photos, tags, sharing, users, settings, search), so cross-tool selection is mostly obvious. The only mild confusion comes from fine-grained action names packed inside tools (e.g. sharing's list vs list_all vs list_albums, and the vague 'init' in search and settings), plus albums 'tree' vs 'list'.
All seven tools follow one uniform pattern: lychee_<resource> with a lowercase plural resource noun. Descriptions are also templated identically (toolset, 3 operations, LYCHEE_URL /api/v2, raw token header, action help), so the set feels like one coherent API surface.
Seven tools, each grouping a small number of related operations under a resource, is well within a comfortable range and avoids a bloated one-tool-per-endpoint surface. Every tool earns its place by owning a distinct resource.
The surface is entirely read-only: albums, photos, tags and sharing expose only list/get/tree variants, with no create, upload, edit, move, or delete operations anywhere. For a photo-management domain this is a significant gap that will block any write workflow an agent attempts.