Skip to main content
Glama

Cursor Conversations MCP Server

by vltansky

list_conversations

Retrieve and filter Cursor chat history by project, date range, or keywords. Use conversation IDs for detailed analysis with AI-generated summaries.

Instructions

Lists Cursor chats with summaries, titles, and metadata ordered by recency. HIGHLY RECOMMENDED: Use projectPath parameter to filter conversations by specific project/codebase - this dramatically improves relevance by finding conversations that actually worked on files in that project. Returns conversation IDs for use with get_conversation tool. WORKFLOW TIP: Start with projectPath filtering for project-specific analysis, then call get_conversation with specific IDs from results. Includes AI-generated summaries by default. Supports date range filtering (YYYY-MM-DD format).

Input Schema

NameRequiredDescriptionDefault
endDateNoEnd date for filtering (YYYY-MM-DD). Note: Timestamps may be unreliable.
filePatternNoFilter conversations mentioning files matching this pattern (e.g., "*.tsx")
hasCodeBlocksNoFilter to conversations that contain code blocks
includeAiSummariesNoInclude AI-generated conversation summaries
includeEmptyNoInclude conversations with no messages
includeRelevanceScoreNoInclude relevance scores when filtering by projectPath
keywordsNoFilter conversations containing any of these exact keywords (literal text matching)
limitNoMaximum number of conversations to return (1-100)
minLengthNoMinimum conversation length in characters to include
outputModeNoOutput format: "json" for formatted JSON (default), "compact-json" for minified JSONjson
projectPathNo**RECOMMENDED** Filter conversations by project/codebase name (e.g., "my-app") or full path (e.g., "/Users/name/Projects/my-app"). This finds conversations that actually worked on files in that project, dramatically improving relevance for project-specific analysis.
relevantFilesNoFilter conversations that reference any of these specific files
startDateNoStart date for filtering (YYYY-MM-DD). Note: Timestamps may be unreliable.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "endDate": { "description": "End date for filtering (YYYY-MM-DD). Note: Timestamps may be unreliable.", "type": "string" }, "filePattern": { "description": "Filter conversations mentioning files matching this pattern (e.g., \"*.tsx\")", "type": "string" }, "hasCodeBlocks": { "description": "Filter to conversations that contain code blocks", "type": "boolean" }, "includeAiSummaries": { "default": true, "description": "Include AI-generated conversation summaries", "type": "boolean" }, "includeEmpty": { "default": false, "description": "Include conversations with no messages", "type": "boolean" }, "includeRelevanceScore": { "default": false, "description": "Include relevance scores when filtering by projectPath", "type": "boolean" }, "keywords": { "description": "Filter conversations containing any of these exact keywords (literal text matching)", "items": { "type": "string" }, "type": "array" }, "limit": { "default": 10, "description": "Maximum number of conversations to return (1-100)", "maximum": 100, "minimum": 1, "type": "number" }, "minLength": { "default": 100, "description": "Minimum conversation length in characters to include", "minimum": 0, "type": "number" }, "outputMode": { "default": "json", "description": "Output format: \"json\" for formatted JSON (default), \"compact-json\" for minified JSON", "enum": [ "json", "compact-json" ], "type": "string" }, "projectPath": { "description": "**RECOMMENDED** Filter conversations by project/codebase name (e.g., \"my-app\") or full path (e.g., \"/Users/name/Projects/my-app\"). This finds conversations that actually worked on files in that project, dramatically improving relevance for project-specific analysis.", "type": "string" }, "relevantFiles": { "description": "Filter conversations that reference any of these specific files", "items": { "type": "string" }, "type": "array" }, "startDate": { "description": "Start date for filtering (YYYY-MM-DD). Note: Timestamps may be unreliable.", "type": "string" } }, "type": "object" }

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/vltansky/cursor-conversations-mcp'

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