agentfit-mcp
An MCP server that wraps the @mukundakatta/agentfit library to provide token-aware message truncation. It allows AI agents to estimate token counts for various model families and fit chat histories into a model's context budget using strategies like drop-oldest or priority-based preservation.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Estimate token counts in a string or chat-message array
- Fit chat history into a model's context budget
- List built-in token estimator families
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@mukundakatta/agentfit-mcp 0.1.0
{
"version": "0.1.0",
"transport": "stdio",
"identifier": "@mukundakatta/agentfit-mcp",
"registryType": "npm"
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"agentfit-mcp": {
"command": "npx",
"args": [
"-y",
"@mukundakatta/agentfit-mcp@0.1.0"
]
}
}
}Cline
{
"mcpServers": {
"agentfit-mcp": {
"command": "npx",
"args": [
"-y",
"@mukundakatta/agentfit-mcp@0.1.0"
]
}
}
}VS Code
{
"servers": {
"agentfit-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mukundakatta/agentfit-mcp@0.1.0"
]
}
}
}Claude Desktop
{
"mcpServers": {
"agentfit-mcp": {
"command": "npx",
"args": [
"-y",
"@mukundakatta/agentfit-mcp@0.1.0"
]
}
}
}Let your agent find its tools
Find servers like agentfit-mcp from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.