list_sessions
Retrieve active session details and metadata to monitor and manage mock server configurations for development and testing workflows.
Instructions
List all active sessions with metadata
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/mcp/tools.ts:43-53 (handler)The handler implementation for the list_sessions tool, which invokes sessionManager.listSessions().
list_sessions: async () => { try { const sessions = sessionManager.listSessions(); return { success: true, data: sessions }; } catch (error: any) { return { success: false, error: `Failed to list sessions: ${error.message}` }; } },