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:

2 Likes

Latest (2026.03.30-a5d3e17) cursor-cli still doesn’t support this, but now `initialize` needs to provide correct parameters to get a response:

❯ agent acp
{ "jsonrpc": "2.0", "id": 0, "method": "initialize", "params": { "protocolVersion": 1, "clientCapabilities": { "fs": { "readTextFile": true, "writeTextFile": true }, "terminal": true }, "clientInfo": { "name": "my-client", "title": "My Client", "version": "1.0.0" } } }
{"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."}]}}

Seconding this! I’ve really fallen in love with Composer 2 as my daily driver and while I love the Cursor editor, admittedly, like all VS Code forks, it’s a memory hog. I’ve been trying Zed with the Cursor ACP agent and it’s wonderful. But unlike Codex, Claude, OpenCode, etc., this isn’t supported in there.

1 Like