Skip to content

feat(mcp): add cursor_session_context tool#17

Merged
rhuanbarreto merged 1 commit into
mainfrom
feat/cursor-session-context
Feb 26, 2026
Merged

feat(mcp): add cursor_session_context tool#17
rhuanbarreto merged 1 commit into
mainfrom
feat/cursor-session-context

Conversation

@rhuanbarreto

Copy link
Copy Markdown
Contributor

Summary

  • Add cursor_session_context MCP tool that reads Cursor agent session transcripts from ~/.cursor/projects/<project>/agent-transcripts/<uuid>/<uuid>.jsonl
  • Supports optional sessionId parameter to select a specific session, defaults to most recent
  • Update all documentation (README, CONTRIBUTING, technical plan, Cursor integration plan, agent memory)

Test plan

  • bun run validate passes (lint, typecheck, format, tests, ADR check, build)
  • Verify tool returns transcript data when invoked via MCP in a Cursor project with agent transcripts

🤖 Generated with Claude Code

Read Cursor agent session transcripts from ~/.cursor/projects/<project>/
agent-transcripts/. Supports selecting a specific session by UUID or
defaulting to the most recent one. Follows the same pattern as the
existing claude_code_session_context tool.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@rhuanbarreto rhuanbarreto merged commit 8cf9f38 into main Feb 26, 2026
1 check passed
@archgatebot archgatebot Bot mentioned this pull request Feb 26, 2026
rhuanbarreto added a commit that referenced this pull request Feb 28, 2026
Read Cursor agent session transcripts from ~/.cursor/projects/<project>/
agent-transcripts/. Supports selecting a specific session by UUID or
defaulting to the most recent one. Follows the same pattern as the
existing claude_code_session_context tool.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
@rhuanbarreto rhuanbarreto deleted the feat/cursor-session-context branch March 3, 2026 22:09
rhuanbarreto added a commit that referenced this pull request Mar 3, 2026
Read Cursor agent session transcripts from ~/.cursor/projects/<project>/
agent-transcripts/. Supports selecting a specific session by UUID or
defaulting to the most recent one. Follows the same pattern as the
existing claude_code_session_context tool.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
rhuanbarreto added a commit that referenced this pull request Mar 4, 2026
Read Cursor agent session transcripts from ~/.cursor/projects/<project>/
agent-transcripts/. Supports selecting a specific session by UUID or
defaulting to the most recent one. Follows the same pattern as the
existing claude_code_session_context tool.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This was referenced Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant