Skip to content

feat: add MCP resources for sessions, screenshots, and recordings #32

@dwmkerr

Description

@dwmkerr

Summary

Add MCP resources to allow LLMs to browse sessions and their outputs without needing filesystem access.

Proposed Resources

Sessions

Resource URI Description
sessions://list List all active shell sessions
session://{id}/info Session details (cols, rows, command, recording status)
session://{id}/buffer Current terminal buffer content
session://{id}/screenshots List screenshots taken in this session
session://{id}/recordings List recordings from this session

Example Usage

LLM: "What sessions do I have open?"
→ Read resource: sessions://list
← [{ id: "shell-session-a1b2c3", command: "bash", cols: 80, rows: 24 }]

LLM: "What screenshots did I take?"
→ Read resource: session://shell-session-a1b2c3/screenshots
← [{ name: "step1.png", download_url: "...", created: "..." }]

Benefits

Implementation Notes

Related Issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions