You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduce a new "instrmcp metadata tokens" subcommand and a standalone tools/token_count.py utility to count tokens used by MCP metadata (tools and resource templates). The CLI wiring and handler are added in instrmcp/cli.py; the token counter supports tiktoken offline estimation and Anthropic's messages.count_tokens API (auto-fallback, with --offline to force tiktoken). Documentation and README/installation notes updated to document the command and the new "analysis" extra (tiktoken) in pyproject.toml. This helps measure and optimize metadata token usage for context budgeting.
0 commit comments