LocalFree

Agentfit MCP server

MukundaKatta/agentfit-mcp

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

1 GitHub stars

Install Agentfit in Claude Code

Claude Code
claude mcp add agentfit -- npx -y @mukundakatta/agentfit-mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "agentfit": {
      "command": "npx",
      "args": [
        "-y",
        "@mukundakatta/agentfit-mcp"
      ]
    }
  }
}

Frequently asked questions

What does the Agentfit MCP server do?

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

Is the Agentfit MCP server free?

Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.

Does Agentfit run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add Agentfit to Claude Code?

Run: claude mcp add agentfit -- npx -y @mukundakatta/agentfit-mcp

More communication MCP servers

View all