# token-gate-mcp (npm · token-gate-mcp)

Token and context budget for AI agents. Tracks spend and gates the session.

- Trust score: 67/100 (medium)
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-09-20

## Components

- npm · `token-gate-mcp`: 67/100 (this document), [markdown](https://verifymcp.io/servers/abduljabbarbxr-token-gate-mcp/token-gate-mcp.md), [page](https://verifymcp.io/servers/abduljabbarbxr-token-gate-mcp/token-gate-mcp)

## Channel facts

- Registry: `npm`
- Package: `token-gate-mcp`
- Version: `0.1.3`
- 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-09-20.

- **Supply Chain Security**: 98/100
  - No malware found by supply-chain analysis.
  - No known CVEs affecting this package version or its production dependencies.
  - No install/post-install scripts declared.
  - 31 of 95 dependencies flagged as unhealthy.
- **Provenance & Transparency**: 19/100
  - Repository check failed: no source repository is declared.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 3 days ago).
  - Security-disclosure policy not yet verified: we couldn't inspect the source repository.
- **Schema Quality & AI Usability**: 85/100
  - AI-judged instruction clarity (excellent).
  - Tool/resource definitions use about 277 tokens (~55/item across 5 items; 5 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 0/100
  - Stability not yet verified: not enough scan history yet (needs a 30-day window).
- **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.
- **Tool Safety**: 100/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - We read all 5 captured tool definition(s), and no name or description among them implies an irreversible operation.
  - An AI judge read all 5 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

**Unverified: 1 category.** A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.

## Install

### How do I install the token-gate-mcp server?

token-gate-mcp runs locally as an npm package, launched with npx -y token-gate-mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add abduljabbarbxr-token-gate-mcp -- npx -y token-gate-mcp
```

### Cursor

```json
{
  "mcpServers": {
    "abduljabbarbxr-token-gate-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "token-gate-mcp"
      ]
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "abduljabbarbxr-token-gate-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "token-gate-mcp"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add abduljabbarbxr-token-gate-mcp -- npx -y token-gate-mcp
```

### opencode

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

### OpenClaw

```bash
openclaw mcp add abduljabbarbxr-token-gate-mcp --command npx --arg -y --arg token-gate-mcp
```

### Hermes

```yaml
mcp_servers:
  abduljabbarbxr-token-gate-mcp:
    command: "npx"
    args: ["-y", "token-gate-mcp"]
```

### Netclaw

```json
{
  "McpServers": {
    "abduljabbarbxr-token-gate-mcp": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "token-gate-mcp"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add abduljabbarbxr-token-gate-mcp -t stdio -c npx -a -y token-gate-mcp
```

### Other

```json
{
  "mcpServers": {
    "abduljabbarbxr-token-gate-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "token-gate-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-09-16 (score 67)

First indexed and scored.

## MCP tools (5)

### `context.log` (~84 tokens)

Record a token spend event into the session ledger. Call this after a read, a tool call, or a model turn so the budget report stays truthful.

Input parameters:

- `chars` (integer): Characters read or produced
- `kind` (string): What kind of work consumed the tokens
- `note` (string): What was spent on
- `tokens` (integer, required): Tokens consumed

### `context.report` (~27 tokens)

Return the current session token spend: totals, spend by kind, budget, and remaining budget.

### `context.estimate` (~80 tokens)

Estimate the token cost of reading a file before reading it, and compare it with cheaper alternatives such as a graph query. Use this before a large read to protect the budget.

Input parameters:

- `alternativeCost` (integer): Estimated token cost of the cheaper alternative, for example a graph query
- `path` (string, required): Path to the file that would be read

### `context.limit` (~56 tokens)

Set or read the token budget for the session. With maxTokens set, stores the budget; without, returns the current budget and remaining tokens.

Input parameters:

- `maxTokens` (integer): Budget in tokens. Omit to read the current budget.

### `context.check` (~30 tokens)

Check whether the session has gone over its token budget. Returns a boolean the agent can gate on before continuing.

## Diagnostics

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

## Score history

- 2026-09-20: 67
- 2026-09-19: 67
- 2026-09-18: 67
- 2026-09-17: 67
- 2026-09-16: 67

## Common questions

### What is the token-gate-mcp server?

token-gate-mcp is listed in the public MCP registry as io.github.AbduljabbarBXR/token-gate-mcp. Token and context budget for AI agents. Tracks spend and gates the session. This page covers its npm package (token-gate-mcp).

### Is the token-gate-mcp server safe to use?

token-gate-mcp scores 67 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 20 September 2026. It declares no install or post-install scripts. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

### What tools does the token-gate-mcp server expose?

token-gate-mcp exposes 5 tools: context.log, context.report, context.estimate, context.limit, context.check. Their descriptions and schemas cost roughly 277 tokens of context every time the server is loaded.

### Is the token-gate-mcp server still maintained?

token-gate-mcp is still listed as active in the MCP registry. We last reached this channel on 20 September 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

### What licence is the token-gate-mcp server under?

token-gate-mcp declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

## Links

- npm package: https://www.npmjs.com/package/token-gate-mcp
- Socket report: https://socket.dev/npm/package/token-gate-mcp
- Changelog RSS feed: https://verifymcp.io/servers/abduljabbarbxr-token-gate-mcp/token-gate-mcp.xml
- Changelog JSON feed: https://verifymcp.io/servers/abduljabbarbxr-token-gate-mcp/token-gate-mcp.json
- HTML version of this page: https://verifymcp.io/servers/abduljabbarbxr-token-gate-mcp/token-gate-mcp
