ACP: support `session/list` method

,

Feature request for product/service

Cursor CLI

Describe the request

Session capabilities is not included in the response to initialize method (cli version 2026.03.25-933d5a6)

❯ agent acp
{"jsonrpc":"2.0","method":"initialize"}
{"jsonrpc":"2.0","id":0,"result":{"protocolVersion":1,"agentCapabilities":{"loadSession":true,"mcpCapabilities":{"http":true,"sse":true},"promptCapabilities":{"audio":false,"embeddedContext":false,"image":true}},"authMethods":[{"id":"cursor_login","name":"Cursor Login","description":"Authenticate using existing Cursor login credentials. Run 'agent login' first if not logged in."}]}}

CLI actually supports listing sessions using agent ls, but agent acp doesn’t supportsession/list method

❯ agent acp  
{ "jsonrpc": "2.0", "id": 2, "method": "session/list", "params": { } }
{"jsonrpc":"2.0","id":2,"error":{"code":-32601,"message":"\"Method not found\": session/list","data":{"method":"session/list"}}}

need to add that capability to ACP.

refer to:

1 Like