anydoc-serve
by bon5co
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | Port to listen on. Railway and most platforms set it. | 8080 |
| API_KEY | No | When set, every endpoint except /health requires Authorization: Bearer <API_KEY>. Empty means open, and the server logs a warning at startup. | |
| OCR_DPI | No | Resolution scanned PDF pages are rendered at for OCR. | 200 |
| OCR_LANGS | No | OCR languages, comma-separated: eng, jpn, tha (en, ja, th also accepted). Every page is read with all of them in one pass, always in the order jpn, tha, eng (the order was measured: eng first loses most Thai). | eng,jpn,tha |
| OCR_ENABLED | No | false never OCRs: scanned input fails with 422, as in plain anydoc. | true |
| MAX_UPLOAD_MB | No | Largest document accepted, uploaded or fetched. | 50 |
| OCR_MAX_PAGES | No | A document needing OCR on more pages than this is refused with 413. | 200 |
| FETCH_TIMEOUT_S | No | Limit for downloading a {"url": ...} source, redirects included. | 30 |
| CONVERT_TIMEOUT_S | No | Wall-clock limit per conversion, OCR included; over it answers 504. | 120 |
| ALLOW_PRIVATE_URLS | No | Allow URL sources that resolve to private, loopback or link-local addresses. Off by default so the server cannot be used to reach its own network. | false |
| MAX_CONCURRENT_CONVERSIONS | No | Conversions that run at once (the rest wait). Each slot holds its own loaded OCR models. | 2 |
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