amazon-q-developer-cli
amazon-q-developer-cli copied to clipboard
`/usage` does not account for MCP tool context
Description:
/usage currently only reports client-side context and does not include the system prompt injected by the backend (e.g. full list of MCP tools). This leads to significantly underreported token usage. For example, an MCP server with ~10k tokens of tool descriptions still shows under 1000 tokens used.
Proposed fix:
Update /usage to include a separate section for MCP tool context, or report full token usage including system prompt.