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 |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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. |