# Agentfit

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

Canonical: https://claudelist.com/listings/mcp-reg-io-github-mukundakatta-agentfit-43fc3430e1

Category: MCP Servers

Source: community · MukundaKatta

Source checked: 2026-10-14

Website: https://www.claudemcp.org/mcp/registry/io-github-mukundakatta-agentfit-43fc3430e1dc.html

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

## Install or set up

1. Review the publisher repository and npm package `@mukundakatta/agentfit-mcp@0.1.0` before running it. The MCP Registry declares this package as a stdio server.
2. Install Node.js, then run the command below in your Claude Code project. Check the publisher README for any account or configuration requirements.
3. Restart Claude Code and use `/mcp` to confirm the connection and review its tools and permissions.

```sh
claude mcp add mcp-io-github-mukundakatta-agentfit-43fc34 -- npx -y @mukundakatta/agentfit-mcp@0.1.0
```

Installation guide: https://github.com/MukundaKatta/agentfit-mcp
