sarup
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OLLAMA_HOST | No | Ollama endpoint. | http://localhost:11434 |
| SARUP_DB_PATH | No | SQLite path for a persistent, cross-process store. Required for hook retrieval. Default: in-memory. | |
| SARUP_HOOK_MODE | No | Hook compression mode. | auto |
| SARUP_EMBED_MODEL | No | Model for semantic embeddings. | nomic-embed-text |
| SARUP_HOOK_MIN_CHARS | No | Hook only compresses outputs larger than this. | 4000 |
| SARUP_ABSTRACTIVE_MODEL | No | Model for abstractive / pipeline rewrite. | gemma3:12b |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| sarup_compressA | Compress content for context efficiency. Supports Thai prose, English prose, mixed Thai+code, JSON, and logs. Returns compressed text, a retrieval hash, and token-saving metrics. Use sarup_retrieve(hash=...) to recover the original when needed. |
| sarup_retrieveA | Retrieve the original uncompressed content by hash. The hash is returned by sarup_compress. |
| sarup_statsA | Return cumulative compression statistics for this session. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/PHUICMT/sarup'
If you have feedback or need assistance with the MCP directory API, please join our Discord server