mirror of
https://github.com/anthropics/claude-code.git
synced 2026-05-03 03:32:45 +00:00
18 lines
373 B
JSON
18 lines
373 B
JSON
|
|
{
|
||
|
|
"description": "Warns users when MCP servers consume significant context (>20k tokens)",
|
||
|
|
"hooks": {
|
||
|
|
"SessionStart": [
|
||
|
|
{
|
||
|
|
"matcher": "*",
|
||
|
|
"hooks": [
|
||
|
|
{
|
||
|
|
"type": "command",
|
||
|
|
"command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/check_mcp_context.py",
|
||
|
|
"timeout": 10
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
}
|