Where does the bug appear (feature/product)?
Cursor CLI
Describe the Bug
We’re using Cursor in ACP mode via agent acp.
In this mode, session/prompt doesn’t seem to return token usage in PromptResponse.usage. The response completes normally, but the usage field is missing, so ACP clients can’t report per-turn token usage for Cursor ACP sessions.
Steps to Reproduce
-
Start Cursor Agent in ACP mode:
agent acp
-
From an ACP client, initialize the connection and create a new session with
session/new. -
Send a prompt using
session/prompt, for example:{
“jsonrpc”: “2.0”,
“id”: 1,
“method”: “session/prompt”,
“params”: {
“sessionId”: “”,
“prompt”: [
{
“type”: “text”,
“text”: “Say hello in one sentence.”
}
]
}
} -
Wait for the prompt turn to complete.
-
Inspect the JSON-RPC response for the
session/promptrequest.
Expected Behavior
Expected: PromptResponse.usage should include token counts, such as input tokens, output tokens, cached read tokens, and total tokens if available. Like this:
{
“jsonrpc”: “2.0”,
“id”: 1,
“result”: {
“stopReason”: “end_turn”,
“usage”: {
“totalTokens”: 12345,
“inputTokens”: 10000,
“outputTokens”: 2000,
“thoughtTokens”: 300,
“cachedReadTokens”: 5000,
“cachedWriteTokens”: 0
}
}
}
Operating System
MacOS
Version Information
2026.05.09-0afadcc
For AI issues: which model did you use?
Auto
Does this stop you from using Cursor
Yes - Cursor is unusable