longhaul
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LONGHAUL_HOME | No | Where memory is stored. | ~/.longhaul |
| LONGHAUL_MODEL | No | Model that does the summarizing. Defaults to the first model the endpoint reports. | |
| LONGHAUL_API_KEY | No | Sent as a bearer token. | local |
| LONGHAUL_SESSION | No | Name this session; separate memory per name. | default |
| LONGHAUL_TIMEOUT | No | Seconds to wait for a summary. | 900 |
| LONGHAUL_BASE_URL | No | OpenAI-compatible endpoint used to summarize. | http://localhost:1234/v1 |
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 | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| compactA | Compact the conversation when the context window is filling up (call around 70% full, before turns scroll away). Summarizes the session into a dense STATE block, saves it to permanent memory, and returns it. Continue from the returned block and treat earlier turns as discarded - nothing is lost, |
| recallA | Search everything ever compacted or remembered, across all past sessions. Use when the user refers to earlier work, asks what was decided, or mentions something not in the current window. Call with an empty query to get the most recent compaction. |
| rememberA | Pin a fact to permanent memory immediately - a user preference, a decision, a path, a credential location. Survives every future compaction and session. |
| timelineB | List all sessions on record with their memory counts. |
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
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/yungmoneyhuncho/longhaul'
If you have feedback or need assistance with the MCP directory API, please join our Discord server