compaction-mcp
by Ink01101011
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| COMPACTION_AUTO | No | auto-compact on ingest when pressure ≥ nowPct (store mode only) (default: false) | |
| COMPACTION_MODE | No | passthrough | store (default: passthrough) | |
| COMPACTION_HOOKS | No | path to hooks JSON | |
| COMPACTION_LLM_MODEL | No | summarizer model (default: qwen2.5-coder:14b) | |
| COMPACTION_STATE_DIR | No | session + ledger persistence (default: ~/.compaction-mcp/sessions) | |
| COMPACTION_SUMMARIZER | No | direct | sampling | auto (default: direct) | |
| COMPACTION_EMBED_MODEL | No | embeddings model for semantic recall | |
| COMPACTION_LLM_API_KEY | No | optional bearer token | |
| COMPACTION_LLM_HEADERS | No | JSON of extra request headers | |
| COMPACTION_RECALL_MODE | No | auto | embed | lexical (default: auto) | |
| COMPACTION_LLM_BASE_URL | No | OpenAI-compatible endpoint (default: http://localhost:11434/v1) | |
| COMPACTION_TOKEN_BUDGET | No | default window size when host doesn't declare one (default: 128000) | |
| COMPACTION_ALLOWED_ROOTS | No | colon-separated roots for file re-hydration (default: cwd) | |
| COMPACTION_HOOKS_ENABLED | No | set false to disable all hook execution (default: true) | |
| COMPACTION_EMBED_BASE_URL | No | OpenAI-compatible /embeddings endpoint (default: = LLM base URL) |
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 | |
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/Ink01101011/compaction-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server