Skip to content

xpjtester/token-shield

v0.2.0MIT

Reduce context bloat deterministically without requiring an OpenAI API key.

MCP servers

Declared configuration, as published in mcp.json. The directory shows indexed content; it never connects to or executes these servers.

token-shieldstreamable-http
{
  "type": "streamable-http",
  "url": "http://localhost:8000/mcp"
}

What this package declares

The files a client reads when it loads this plugin, exactly as this revision carries them.

{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "token-shield",
  "version": "0.2.0",
  "description": "Reduce context bloat deterministically without requiring an OpenAI API key.",
  "author": {
    "name": "Qi IT Consulting"
  },
  "repository": "https://github.com/xpjtester/token-shield",
  "license": "MIT",
  "keywords": ["tokens", "context", "optimization", "mcp", "chatgpt", "codex"],
  "extensions": {
    "com.openai": {
      "interface": {
        "displayName": "Token Shield Plugin",
        "shortDescription": "Shrink repetitive context before AI uses it.",
        "longDescription": "Deterministically removes duplicate context and repetitive logs while preserving fenced code. No OpenAI API key is required for core optimization.",
        "defaultPrompt": "Optimize this context with Token Shield Plugin and show the token reduction.",
        "brandColor": "#42F5AD"
      }
    }
  }
}

What else this package ships

These files come with the package and this site does not publish them. They are listed so you know what is there before you install it.

  • LICENSE
View on GitHub

Client extensions

Data this package carries for particular clients. The directory lists the clients named and never reads what is addressed to them.

  • com.openai