Skip to main content
Glama

Cursor Conversations MCP Server

by vltansky

export_conversation_data

Export chat data in JSON, CSV, or Graph formats for analysis, visualization, or integration. Filter by projectPath for codebase-specific conversations to create datasets, generate reports, or prepare data for tools like Tableau.

Instructions

Export chat data in various formats (JSON, CSV, Graph) for external analysis, visualization, or integration with other tools. TIP: Use filters.projectPath to export only project-specific conversations for focused analysis of a particular codebase. Use this to create datasets for machine learning, generate reports for stakeholders, prepare data for visualization tools like Gephi or Tableau, or backup chat data in structured formats.

Input Schema

NameRequiredDescriptionDefault
conversationIdsNoSpecific conversation IDs to export (if not provided, exports all conversations)
filtersNoFilters to apply when selecting conversations to export
flattenStructureNoFlatten nested structures for easier processing
formatNoExport format: JSON for structured data, CSV for spreadsheets, Graph for network analysisjson
includeContentNoInclude full conversation content in the export
includeRelationshipsNoInclude relationship data between conversations
outputModeNoOutput format: "json" for formatted JSON (default), "compact-json" for minified JSONjson

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "conversationIds": { "description": "Specific conversation IDs to export (if not provided, exports all conversations)", "items": { "type": "string" }, "type": "array" }, "filters": { "additionalProperties": false, "description": "Filters to apply when selecting conversations to export", "properties": { "hasCodeBlocks": { "description": "Only include conversations with code blocks", "type": "boolean" }, "minSize": { "description": "Minimum conversation size to include", "type": "number" }, "projectPath": { "description": "**RECOMMENDED** Only include conversations related to this project/codebase name or path. Dramatically improves relevance by filtering to conversations that actually worked on files in that project.", "type": "string" } }, "type": "object" }, "flattenStructure": { "default": false, "description": "Flatten nested structures for easier processing", "type": "boolean" }, "format": { "default": "json", "description": "Export format: JSON for structured data, CSV for spreadsheets, Graph for network analysis", "enum": [ "json", "csv", "graph" ], "type": "string" }, "includeContent": { "default": false, "description": "Include full conversation content in the export", "type": "boolean" }, "includeRelationships": { "default": false, "description": "Include relationship data between conversations", "type": "boolean" }, "outputMode": { "default": "json", "description": "Output format: \"json\" for formatted JSON (default), \"compact-json\" for minified JSON", "enum": [ "json", "compact-json" ], "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