token-gate-mcp

io.github.AbduljabbarBXRPublished by GitHub account AbduljabbarBXRv0.1.3Updated Oct 24, 2026

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

VerifiedSTDIODesktop onlySecurity & MonitoringAI & ML

Overview

AI-generated overview

A local MCP server that tracks an AI agent's token spend and gates the session against a context budget.

What you can do
Tracks token usage and spend for an AI agent session, according to the registry description, which lists no individual tools. Gates the session when the budget is reached, so an assistant can be stopped or limited rather than running unbounded. Runs as a local process over stdio on the user's machine.
When to use it
Worth considering when you run long or repeated agent sessions and want a local check on token spend and context budget, so a session can be gated instead of running past its limit.
Requirements
A local runtime for the npm package token-gate-mcp, started as a stdio process on the user's desktop. No authentication, environment variables or headers are declared.
Before you install
The description is brief and no tools, instructions or README are provided, so the exact gating behavior and what it records cannot be verified before installing. It observes session usage, so review what it stores locally.

Installation

In SourceWeft

  1. Open token-gate-mcp in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.1.3LatestSep 17, 2026

Score

25% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts

    Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.

  • License10 pts

    Declare a license in the repository or the registry entry.