Logo
Explore Help
Register Sign In
zhanj/claude-code
1
0
Fork 0
You've already forked claude-code
mirror of https://github.com/anthropics/claude-code.git synced 2026-04-29 00:22:40 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
cad2569360346abdada63a8a1a2dd00f7eb3bdf6
claude-code/plugins/mcp-context-warning/.claude-plugin/plugin.json

10 lines
283 B
JSON
Raw Normal View History

Add mcp-context-warning plugin to warn about high MCP context usage This plugin warns users when their MCP servers are consuming significant context (>20k tokens). Many users don't realize MCP servers take up context space, which can lead to unexpectedly fast context exhaustion. The plugin: - Runs a SessionStart hook to check MCP configurations - Estimates token usage based on server and tool counts - Shows a warning with server breakdown if estimated usage > 20k tokens - Provides guidance on how to disable unused MCP servers Slack thread: https://anthropic.slack.com/archives/C07VBSHV7EV/p1765989316572149
2025-12-17 16:44:01 +00:00
{
"name": "mcp-context-warning",
"version": "1.0.0",
"description": "Warns users when MCP servers are consuming significant context (>20k tokens), helping prevent unexpected context exhaustion",
"author": {
"name": "Anthropic",
"email": "support@anthropic.com"
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 141ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API