cursor-history-mcp 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,74 @@
1
+ # cursor-history-mcp
2
+
3
+ MCP server for browsing, searching, and exporting Cursor AI chat history.
4
+
5
+ ## Installation
6
+
7
+ No installation required! Run directly via npx:
8
+
9
+ ```bash
10
+ npx cursor-history-mcp
11
+ ```
12
+
13
+ ## Configuration
14
+
15
+ ### Claude Code
16
+
17
+ Add to your Claude Code MCP settings:
18
+
19
+ ```json
20
+ {
21
+ "mcpServers": {
22
+ "cursor-history": {
23
+ "command": "npx",
24
+ "args": ["-y", "cursor-history-mcp"]
25
+ }
26
+ }
27
+ }
28
+ ```
29
+
30
+ ### Claude Desktop
31
+
32
+ Add to your Claude Desktop configuration (`~/.claude/claude_desktop_config.json`):
33
+
34
+ ```json
35
+ {
36
+ "mcpServers": {
37
+ "cursor-history": {
38
+ "command": "npx",
39
+ "args": ["-y", "cursor-history-mcp"]
40
+ }
41
+ }
42
+ }
43
+ ```
44
+
45
+ ## Available Tools
46
+
47
+ | Tool | Description |
48
+ |------|-------------|
49
+ | `cursor_history_list` | List chat sessions with metadata |
50
+ | `cursor_history_show` | View full conversation content |
51
+ | `cursor_history_search` | Search across all sessions |
52
+ | `cursor_history_export` | Export session to Markdown or JSON |
53
+ | `cursor_history_backup` | Create backup of all history |
54
+ | `cursor_history_restore` | Restore from backup (destructive) |
55
+ | `cursor_history_migrate` | Move/copy sessions between workspaces (destructive) |
56
+
57
+ ## Usage Examples
58
+
59
+ After configuring, ask your AI assistant:
60
+
61
+ - "List my Cursor chat sessions"
62
+ - "Show me session #1"
63
+ - "Search my Cursor history for 'authentication'"
64
+ - "Export session #1 as markdown"
65
+ - "Backup my Cursor chat history"
66
+
67
+ ## Requirements
68
+
69
+ - Node.js 20+
70
+ - Cursor IDE installed with existing chat history
71
+
72
+ ## License
73
+
74
+ MIT
@@ -0,0 +1 @@
1
+ #!/usr/bin/env node