Loomal

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

1 starsnpm: @mukundakatta/agentfit-mcp

About agentfit

agentfit is an MCP (Model Context Protocol) server published by mukundakatta in the official MCP registry, listed under Autonomous Agents on Loomal. Token-aware message truncation: fit a chat history into your model's context budget.

It ships as an npm package (@mukundakatta/agentfit-mcp), so any MCP client that can launch a local process can run it.

Development happens in the open at github.com/mukundakatta/agentfit-mcp, where the project has earned 1 GitHub stars.

Use agentfit with your agent

Claude Code · one command
claude mcp add agentfit -- npx -y @mukundakatta/agentfit-mcp
Claude Desktop, Cursor & other MCP clients · config
{
  "mcpServers": {
    "agentfit": {
      "command": "npx",
      "args": [
        "-y",
        "@mukundakatta/agentfit-mcp"
      ]
    }
  }
}
npm@mukundakatta/agentfit-mcp

Frequently asked questions

What is agentfit?
agentfit is an MCP (Model Context Protocol) server by mukundakatta in the Autonomous Agents category. Token-aware message truncation: fit a chat history into your model's context budget.
How do I connect agentfit to Claude, Cursor, or another MCP client?
Install agentfit from its npm package (@mukundakatta/agentfit-mcp) and register it under "mcpServers" in your client's MCP configuration — for example claude_desktop_config.json or Cursor's mcp.json — then restart the client.
Is agentfit open source?
Yes — the source code is public at github.com/mukundakatta/agentfit-mcp, with 1 GitHub stars.
Can AI agents pay to use agentfit?
Not yet through Loomal — agentfit is listed as a free directory entry. If its maintainer verifies ownership, they can set per-call USDC pricing that agents pay over x402, with settlement on Base.

Listing data from the official MCP registry and GitHub, refreshed periodically. Not affiliated with the maintainer unless claimed. Maintain agentfit? Claim this listing free by verifying GitHub ownership, or contact us.