Skip to content
Cursor

ctxprune for Cursor

io.github.riceharvest/ctxprune

Read big logs, JSON dumps and test output compacted: lossless, or token-pruned keeping IDs.

client:Cursor transport:stdio runtime:pypi

Install ctxprune in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

{
  "mcpServers": {
    "ctxprune": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "ctxprune"
      ]
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

ctxprune in other clients