Skip to main content
Glama

list_sessions

View all chat sessions on an OpenCode instance to see ID, title, message count, and status for remote coding environments.

Instructions

List all sessions on an opencode instance, showing ID, title, message count, and status

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
instanceYesInstance name (exact or fuzzy substring match)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/klutometis/opencode-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server