# compaction-mcp

> Use this tool when you need to efficiently manage context and session data in MCP hosts, solving problems like context pressure and data persistence across sessions. It takes in MCP host data and outputs compacted context, summarized history, and re-hydrated files. This enables agents to gauge context pressure and make informed decisions, making it ideal for use cases requiring data-intensive and session-bound applications.

Canonical page: https://skillsregistry.net/skills/ink01101011-compaction-mcp  
JSON: https://api.skillsregistry.net/v1/skills/ink01101011-compaction-mcp

## Description

Brings Claude Code's context compaction to any MCP host, enabling agents to gauge context pressure, summarize history, re-hydrate files, and persist rules across session boundaries.

## Trust

- **Trust score (0–1):** 0.67
- **Verification tier:** scanned
- **Last scanned:** 2026-08-31

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** file-system
- **Updated:** 2026-08-31

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/trjpcfsqcx)
- **Repository:** <https://github.com/Ink01101011/compaction-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "ink01101011-compaction-mcp"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/ink01101011-compaction-mcp` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/ink01101011-compaction-mcp/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
