mindwiki_list_agent_sessions
List recent AI client sessions connected through MCP, including client identity, auth method, and last activity.
Scope: read
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
limit | number | No | Max sessions to return (default: 50, max: 200) |
Example Request
json
{
"tool": "mindwiki_list_agent_sessions",
"arguments": {
"limit": 20
}
}Example Response
json
{
"sessions": [
{
"id": "sess_8a3b2c...",
"client_name": "Claude Desktop",
"protocol_version": "2025-06-18",
"auth_method": "oauth",
"status": "active",
"started_at": "2026-05-08T10:14:00Z",
"last_activity_at": "2026-05-09T15:25:11Z"
},
{
"id": "sess_5f2d1e...",
"client_name": "Custom Script",
"protocol_version": "2025-06-18",
"auth_method": "api_key",
"status": "active",
"started_at": "2026-05-09T09:00:00Z",
"last_activity_at": "2026-05-09T14:50:33Z"
}
]
}This is the same data the macOS Agents → Sessions view renders. See Sessions & Activity.