MCP Session Closer
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CURSOR_WORKSPACE | Yes | Set automatically by Cursor to the current workspace folder |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| end_sessionB | 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_filesA | Sync all context files (claude.md, gemini.md, agents.md, .cursor/context.md) without closing the session. Useful for mid-session syncs. |
| update_session_summaryB | Update the session summary file with current session info without doing a full session close. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: end_session closes the session with full sync and git commit, sync_context_files syncs files without closing, and update_session_summary updates only the summary file. There is no overlap in functionality, making tool selection unambiguous.
All tool names follow a consistent verb_noun pattern (end_session, sync_context_files, update_session_summary) with snake_case throughout. The naming is predictable and aligns well with their described actions.
With 3 tools, this server is well-scoped for session management tasks. Each tool serves a specific, necessary function (full close, partial sync, summary update), and there are no extraneous or missing tools for the domain.
The toolset provides complete coverage for session lifecycle management: end_session handles full closure, sync_context_files allows mid-session syncs, and update_session_summary supports summary updates. There are no obvious gaps, and agents can perform all expected operations without dead ends.