# io.github.MukundaKatta/agentfit (npm · @mukundakatta/agentfit-mcp)

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

- Trust score: 70/100 (medium)
- Change this week: +46
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- npm · `@mukundakatta/agentfit-mcp`: 70/100 (this document), [markdown](https://verifymcp.io/servers/mukundakatta-agentfit/mukundakatta-agentfit-mcp.md), [page](https://verifymcp.io/servers/mukundakatta-agentfit/mukundakatta-agentfit-mcp)

## Channel facts

- Registry: `npm`
- Package: `@mukundakatta/agentfit-mcp`
- Version: `0.1.0`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-03.

- **Supply Chain Security**: 87/100
  - No malware found by supply-chain analysis.
  - Only part of the dependency tree could be resolved (95 of 99), so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (95 of 99), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 97 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 77/100
  - AI-judged instruction clarity (excellent).
  - Tool/resource definitions use about 359 tokens (~119/item across 3 items; 3 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 27/100
  - Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add mukundakatta-agentfit -- npx -y @mukundakatta/agentfit-mcp
```

### Codex

```bash
codex mcp add mukundakatta-agentfit -- npx -y @mukundakatta/agentfit-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "mukundakatta-agentfit": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@mukundakatta/agentfit-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add mukundakatta-agentfit --command npx --arg -y --arg @mukundakatta/agentfit-mcp
```

### Hermes

```yaml
mcp_servers:
  mukundakatta-agentfit:
    command: "npx"
    args: ["-y", "@mukundakatta/agentfit-mcp"]
```

### Other

```json
{
  "mcpServers": {
    "mukundakatta-agentfit": {
      "command": "npx",
      "args": [
        "-y",
        "@mukundakatta/agentfit-mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-03 (score 70, +4)

- [functional improvement] Stability: unverified → 0.27

### 2026-08-02 (score 66, +8)

- [security regression] Provenance: fail → unverified
- [security regression] Install scripts: pass → unverified
- [security improvement] Known CVEs: unverified → partial
- [functional regression] Maintenance: pass → unverified
- [functional regression] License: pass → unverified
- [functional improvement] Dependency health: unverified → partial
- [functional] Licence: MIT

### 2026-08-01 (score 58, −11)

- [security regression] Known CVEs: partial → unverified
- [functional regression] Dependency health: partial → unverified

### 2026-07-31 (score 69, +54)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-30 (score 15, −65)

- [security regression] Malware scan: pass → unverified
- [security regression] Known CVEs: partial → unverified
- [functional regression] Tool coverage: 100 → unverified
- [functional regression] Dependency health: partial → unverified

### 2026-07-29 (score 80, +34)

- [security regression] Provenance: unverified → fail
- [security improvement] Known CVEs: unverified → partial
- [security improvement] Install scripts: unverified → pass
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] License: unverified → pass
- [functional improvement] Schema quality: unverified → excellent
- [functional] Licence: MIT

### 2026-07-28 (score 46, +22)

- [functional regression] Security disclosure: unverified → fail
- [functional improvement] Tool coverage: unverified → 100
- [functional] First check of Schema quality: fail
- [functional] First check of Tool coverage: 100
- [functional] First check of Schema quality: unverified
- [functional] First check of Schema quality: pass

### 2026-07-27 (score 24)

First indexed and scored.

## MCP tools (3)

### `count_tokens` (~131 tokens)

Estimate tokens in a string or chat-message array. Fast, dependency-free, within ~10-20% of true tokenizer counts on English prose. Pass a model name to pick the right per-family estimator (openai, anthropic, google, llama, default).

Input parameters:

- `input` (required): String or array of chat messages.
- `model` (string): Optional model name (e.g. "gpt-5", "claude-sonnet-4-6"). Picks the closest estimator family.
- `overhead` (number): Per-message overhead in tokens (default depends on model family, usually 4-6).

### `fit_messages` (~194 tokens)

Drop messages from the input array until the total is under maxTokens. Three strategies: drop-oldest (default), drop-middle, priority (uses each message's `priority` field). Always returns a structured result with token counts before and after; never throws across the wire.

Input parameters:

- `maxTokens` (number, required): Token budget the result must come in under.
- `messages` (array, required): Chat messages to fit.
- `model` (string): Optional model name for estimator selection.
- `overhead` (number): Per-message overhead in tokens.
- `preserveFirstN` (number): Never drop the first N messages of the input array. Default 0.
- `preserveLastN` (number): Never drop the last N messages of the input array. Default 0.
- `preserveSystem` (boolean): Default true: never drop messages with role === "system".
- `strategy` (string): Drop strategy. Default drop-oldest.

### `list_estimators` (~34 tokens)

List the built-in estimator families this server knows about. Useful for picking a model alias when the exact model name isn't recognized.

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/mukundakatta-agentfit/mukundakatta-agentfit-mcp#diagnostics

## Score history

- 2026-08-03: 70
- 2026-08-02: 66
- 2026-08-01: 58
- 2026-07-31: 69
- 2026-07-30: 15
- 2026-07-29: 80
- 2026-07-28: 46
- 2026-07-27: 24

## Links

- npm package: https://www.npmjs.com/package/@mukundakatta/agentfit-mcp
- Socket report: https://socket.dev/npm/package/@mukundakatta/agentfit-mcp
- Repository: https://github.com/MukundaKatta/agentfit-mcp
- Changelog RSS feed: https://verifymcp.io/servers/mukundakatta-agentfit/mukundakatta-agentfit-mcp/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/mukundakatta-agentfit/mukundakatta-agentfit-mcp/changelog.json
- HTML version of this page: https://verifymcp.io/servers/mukundakatta-agentfit/mukundakatta-agentfit-mcp
