Skip to content
VS Code

agentfit for VS Code

io.github.mukundakatta/agentfit

Token-aware message truncation: fit a chat history into your model's context budget.

client:VS Code transport:stdio runtime:npm

Install agentfit in VS Code

.vscode/mcp.json

{
  "servers": {
    "agentfit": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mukundakatta/agentfit-mcp"
      ]
    }
  }
}

Requires agent mode. MCP: Open User Configuration puts the same block in every workspace. VS Code docs

agentfit in other clients