Skip to main content
Glama

MCP Session Closer

by Tylarcam

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CURSOR_WORKSPACEYesSet automatically by Cursor to the current workspace folder

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
end_session

Close the current Cursor session, sync all context files, update Agent OS files, and commit to git. This is the main tool for ending a work session.

sync_context_files

Sync all context files (claude.md, gemini.md, agents.md, .cursor/context.md) without closing the session. Useful for mid-session syncs.

update_session_summary

Update the session summary file with current session info without doing a full session close.

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/Tylarcam/mcp-session-closer'

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