agentfit for Cursor
io.github.mukundakatta/agentfit
Token-aware message truncation: fit a chat history into your model's context budget.
client:Cursor
transport:stdio
runtime:npm
Install agentfit in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"agentfit": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mukundakatta/agentfit-mcp"
]
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs