burn-mcp-server 1.2.0 → 2.0.0

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # Burn MCP Server
2
2
 
3
- Let Claude Desktop, Cursor, or any MCP-compatible AI tool access your Burn Vault.
3
+ Let Claude Desktop, Cursor, or any MCP-compatible AI tool access and manage your Burn bookmarks.
4
4
 
5
5
  ## Setup
6
6
 
@@ -19,7 +19,7 @@ Add to your `~/.config/claude/claude_desktop_config.json`:
19
19
  "command": "npx",
20
20
  "args": ["burn-mcp-server"],
21
21
  "env": {
22
- "BURN_SUPABASE_TOKEN": "<paste-your-token-here>"
22
+ "BURN_MCP_TOKEN": "<paste-your-token-here>"
23
23
  }
24
24
  }
25
25
  }
@@ -32,13 +32,47 @@ The Burn tools will appear in the tools menu.
32
32
 
33
33
  ## Available Tools
34
34
 
35
+ ### Read Tools
36
+
35
37
  | Tool | Description |
36
38
  |------|-------------|
37
39
  | `search_vault` | Search Vault bookmarks by keyword |
40
+ | `list_vault` | List Vault bookmarks, optionally by category |
41
+ | `list_sparks` | List Sparks (read bookmarks with 30-day lifespan) |
42
+ | `search_sparks` | Search Sparks by keyword |
43
+ | `list_flame` | List Flame inbox (24h countdown, AI triage info) |
44
+ | `get_flame_detail` | Get full Flame bookmark detail with content |
38
45
  | `get_bookmark` | Get full details of a single bookmark |
46
+ | `get_article_content` | Get article content and AI analysis by ID |
47
+ | `fetch_content` | Fetch content from a URL (X, Reddit, YouTube, WeChat, etc.) |
39
48
  | `list_categories` | List all Vault categories with counts |
40
- | `get_clusters` | Get AI-generated topic clusters |
41
- | `get_cluster_digest` | Get cluster digest (summary + relationships) |
49
+ | `get_collections` | List all Collections |
50
+ | `get_collection_overview` | Get a Collection with AI overview and bookmarks |
51
+
52
+ ### Write Tools — Layer 1: Status Flow (决策层)
53
+
54
+ | Tool | Description |
55
+ |------|-------------|
56
+ | `move_flame_to_spark` | Flame → Spark (worth reading). Sets 30-day lifespan. Optional `spark_insight`. |
57
+ | `move_flame_to_ash` | Flame → Ash (burn it). Optional `reason`. |
58
+ | `move_spark_to_vault` | Spark → Vault (permanent). Optional `vault_category`. |
59
+ | `move_spark_to_ash` | Spark → Ash (not valuable enough to vault). |
60
+ | `batch_triage_flame` | Triage up to 20 Flame bookmarks at once (spark or ash). |
61
+
62
+ ### Write Tools — Layer 2: Collections (组合层)
63
+
64
+ | Tool | Description |
65
+ |------|-------------|
66
+ | `create_collection` | Create a new Collection, optionally with initial bookmarks. |
67
+ | `add_to_collection` | Add bookmarks to a Collection (deduplicates). |
68
+ | `remove_from_collection` | Remove bookmarks from a Collection. |
69
+ | `update_collection_overview` | Write AI overview (theme, synthesis, patterns, gaps). |
70
+
71
+ ### Write Tools — Layer 3: AI Analysis (分析层)
72
+
73
+ | Tool | Description |
74
+ |------|-------------|
75
+ | `write_bookmark_analysis` | Write AI analysis back to a bookmark. Agent uses its own LLM to analyze, then writes structured results (summary, strategy, takeaways, relevance, novelty, tags) into Burn. |
42
76
 
43
77
  ## Available Resources
44
78
 
@@ -47,22 +81,38 @@ The Burn tools will appear in the tools menu.
47
81
  | `burn://vault/bookmarks` | All Vault bookmarks (JSON) |
48
82
  | `burn://vault/categories` | Category list (JSON) |
49
83
 
50
- ## Example prompts
84
+ ## Example Prompts
51
85
 
86
+ **Reading:**
52
87
  - "What did I save about SwiftUI animations?"
88
+ - "Show me my Flame inbox — what's about to burn?"
53
89
  - "Summarize my AI-related bookmarks"
54
- - "Reference my Vault article about API design patterns"
55
- - "What are the main topics in my knowledge base?"
90
+
91
+ **Triage (Agent as your filter):**
92
+ - "Review my Flame bookmarks and decide what to keep vs burn"
93
+ - "Triage everything in Flame — skim the content and make decisions"
94
+
95
+ **Analysis (Agent as your analyst):**
96
+ - "Analyze this bookmark and write your assessment back to Burn"
97
+ - "Go through my Sparks and tag them all"
98
+
99
+ **Collections (Agent as your curator):**
100
+ - "Group my Vault bookmarks about AI into a collection"
101
+ - "Write an overview for my 'System Design' collection"
56
102
 
57
103
  ## Environment Variables
58
104
 
59
105
  | Variable | Required | Description |
60
106
  |----------|----------|-------------|
61
- | `BURN_SUPABASE_TOKEN` | Yes | Your Burn access token (JWT) |
62
- | `BURN_SUPABASE_URL` | No | Custom Supabase URL (default: production) |
107
+ | `BURN_MCP_TOKEN` | Yes* | Long-lived MCP token (recommended) |
108
+ | `BURN_SUPABASE_TOKEN` | Yes* | Legacy JWT token (still supported) |
109
+ | `BURN_API_URL` | No | Custom API URL (default: production) |
110
+
111
+ *One of `BURN_MCP_TOKEN` or `BURN_SUPABASE_TOKEN` is required.
63
112
 
64
113
  ## Security
65
114
 
66
- - Your token only grants access to **your own** Vault (enforced by Row Level Security)
67
- - The MCP Server is **read-only** it cannot modify your bookmarks
68
- - Tokens expire; regenerate from the Burn App if needed
115
+ - Your token only grants access to **your own** data (enforced by Row Level Security)
116
+ - Write operations are scoped: status can only flow forward (Flame Spark → Vault, or → Ash)
117
+ - Rate limited: 30 calls/minute per session
118
+ - Tokens expire after 30 days; regenerate from Burn App → Settings → MCP Server