Skip to content
Grok

context slicer for Grok

io.github.krishthesmart/context-slicer

Non-destructive context filter for AI chats that sends only what the active task needs.

client:Grok transport:stdio runtime:npm

Install context slicer in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "context-slicer": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@krishthesmart/context-slicer"
      ],
      "env": {
        "CONTEXT_SLICER_DB": "<CONTEXT_SLICER_DB>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

context slicer in other clients