burn-mcp-server 2.0.0 → 2.0.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.
Files changed (3) hide show
  1. package/README.md +76 -61
  2. package/package.json +25 -2
  3. package/server.json +29 -0
package/README.md CHANGED
@@ -1,16 +1,27 @@
1
- # Burn MCP Server
1
+ # Burn — Personal Knowledge Base MCP Server
2
2
 
3
- Let Claude Desktop, Cursor, or any MCP-compatible AI tool access and manage your Burn bookmarks.
3
+ [![npm version](https://img.shields.io/npm/v/burn-mcp-server.svg)](https://www.npmjs.com/package/burn-mcp-server)
4
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
4
5
 
5
- ## Setup
6
+ Your reading data as an AI-accessible knowledge base. 22 tools for Claude, Cursor, Windsurf, and any MCP-compatible agent.
6
7
 
7
- ### 1. Get your access token
8
+ ## How it works
8
9
 
9
- Open Burn App Settings MCP Server → **Copy Access Token**
10
+ Burn triages your reading with a 24h timer:
11
+ - **Flame** → New links. 24h to read or they burn.
12
+ - **Spark** → You read it. Stays 30 days.
13
+ - **Vault** → Permanent. Your curated knowledge.
14
+ - **Ash** → Expired. They had their chance.
15
+
16
+ The MCP server lets your AI agent search, triage, organize, and analyze everything you've saved.
17
+
18
+ ## Quick Start
10
19
 
11
- ### 2. Configure Claude Desktop
20
+ ### 1. Get your token
21
+
22
+ Open Burn App → Settings → MCP Server → **Copy Access Token**
12
23
 
13
- Add to your `~/.config/claude/claude_desktop_config.json`:
24
+ ### 2. Add to Claude Desktop
14
25
 
15
26
  ```json
16
27
  {
@@ -19,86 +30,79 @@ Add to your `~/.config/claude/claude_desktop_config.json`:
19
30
  "command": "npx",
20
31
  "args": ["burn-mcp-server"],
21
32
  "env": {
22
- "BURN_MCP_TOKEN": "<paste-your-token-here>"
33
+ "BURN_MCP_TOKEN": "<your-token>"
23
34
  }
24
35
  }
25
36
  }
26
37
  }
27
38
  ```
28
39
 
29
- ### 3. Restart Claude Desktop
40
+ ### 3. Start asking
30
41
 
31
- The Burn tools will appear in the tools menu.
42
+ - "What did I save about system design?"
43
+ - "Triage my Flame — what should I keep?"
44
+ - "Create a collection from my AI bookmarks"
32
45
 
33
- ## Available Tools
46
+ ## Tools (22)
34
47
 
35
- ### Read Tools
48
+ ### Search & Read
36
49
 
37
- | Tool | Description |
50
+ | Tool | What it does |
38
51
  |------|-------------|
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) |
52
+ | `search_vault` | Search permanent bookmarks by keyword |
53
+ | `list_vault` | List Vault bookmarks by category |
54
+ | `list_sparks` | List recently read bookmarks (30-day window) |
42
55
  | `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 |
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.) |
48
- | `list_categories` | List all Vault categories with counts |
56
+ | `list_flame` | List inbox what's about to burn |
57
+ | `get_flame_detail` | Full detail on a Flame bookmark |
58
+ | `get_bookmark` | Get any bookmark by ID |
59
+ | `get_article_content` | Get full article content + analysis |
60
+ | `fetch_content` | Fetch content from a URL (X, Reddit, YouTube, WeChat) |
61
+ | `list_categories` | All Vault categories with counts |
49
62
  | `get_collections` | List all Collections |
50
- | `get_collection_overview` | Get a Collection with AI overview and bookmarks |
63
+ | `get_collection_overview` | Collection detail with AI overview |
51
64
 
52
- ### Write Tools Layer 1: Status Flow (决策层)
65
+ ### Triage (Agent as your filter)
53
66
 
54
- | Tool | Description |
67
+ | Tool | What it does |
55
68
  |------|-------------|
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). |
69
+ | `move_flame_to_spark` | Keep it worth reading. Optional insight. |
70
+ | `move_flame_to_ash` | Burn it. Optional reason. |
71
+ | `move_spark_to_vault` | Promote to permanent. Optional category. |
72
+ | `move_spark_to_ash` | Not valuable enough to keep. |
73
+ | `batch_triage_flame` | Triage up to 20 at once. |
61
74
 
62
- ### Write Tools Layer 2: Collections (组合层)
75
+ ### Collections (Agent as your curator)
63
76
 
64
- | Tool | Description |
77
+ | Tool | What it does |
65
78
  |------|-------------|
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). |
79
+ | `create_collection` | Create a topic bundle with initial bookmarks |
80
+ | `add_to_collection` | Add bookmarks (deduplicates) |
81
+ | `remove_from_collection` | Remove bookmarks |
82
+ | `update_collection_overview` | Write AI overview (theme, synthesis, gaps) |
70
83
 
71
- ### Write Tools Layer 3: AI Analysis (分析层)
84
+ ### Analysis (Agent as your analyst)
72
85
 
73
- | Tool | Description |
86
+ | Tool | What it does |
74
87
  |------|-------------|
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. |
88
+ | `write_bookmark_analysis` | Write structured analysis back to a bookmark |
76
89
 
77
- ## Available Resources
90
+ ## Resources
78
91
 
79
- | URI | Description |
80
- |-----|-------------|
92
+ | URI | Content |
93
+ |-----|---------|
81
94
  | `burn://vault/bookmarks` | All Vault bookmarks (JSON) |
82
95
  | `burn://vault/categories` | Category list (JSON) |
83
96
 
84
- ## Example Prompts
97
+ ## Use Cases
85
98
 
86
- **Reading:**
87
- - "What did I save about SwiftUI animations?"
88
- - "Show me my Flame inbox — what's about to burn?"
89
- - "Summarize my AI-related bookmarks"
99
+ **Personal knowledge management** — Your agent searches your reading history to answer questions, find patterns, and surface forgotten gems.
90
100
 
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"
101
+ **Research workflows** — Create collections on topics you're exploring. Agent writes overviews synthesizing your sources.
94
102
 
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"
103
+ **Reading triage** — Agent reviews your Flame inbox, reads the content, decides what's worth keeping based on your interests.
98
104
 
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"
105
+ **Cross-tool intelligence** Use with Claude Code, Cursor, or Windsurf. Your bookmarks become context for coding, writing, and thinking.
102
106
 
103
107
  ## Environment Variables
104
108
 
@@ -108,11 +112,22 @@ The Burn tools will appear in the tools menu.
108
112
  | `BURN_SUPABASE_TOKEN` | Yes* | Legacy JWT token (still supported) |
109
113
  | `BURN_API_URL` | No | Custom API URL (default: production) |
110
114
 
111
- *One of `BURN_MCP_TOKEN` or `BURN_SUPABASE_TOKEN` is required.
115
+ *One of `BURN_MCP_TOKEN` or `BURN_SUPABASE_TOKEN` required.
112
116
 
113
117
  ## Security
114
118
 
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
119
+ - Token scoped to your data only (Row Level Security)
120
+ - Status flow enforced: Flame → Spark → Vault, or → Ash
121
+ - Rate limit: 30 calls/min per session
122
+ - Tokens expire after 30 days
123
+
124
+ ## Links
125
+
126
+ - **App**: [burn451.cloud](https://burn451.cloud)
127
+ - **iOS App**: [App Store](https://apps.apple.com/us/app/burn451/id6759418544)
128
+ - **npm**: [burn-mcp-server](https://www.npmjs.com/package/burn-mcp-server)
129
+ - **Chrome Extension**: Search "Bookmark Autopsy" on Chrome Web Store
130
+
131
+ ## License
132
+
133
+ MIT
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "burn-mcp-server",
3
- "version": "2.0.0",
4
- "description": "MCP Server for Burn — access your Vault from Claude/Cursor",
3
+ "version": "2.0.2",
4
+ "mcpName": "io.github.fisher521/burn-mcp-server",
5
+ "description": "MCP Server for Burn — 22 tools to let your AI agent search, triage, and organize your reading. Works with Claude, Cursor, Windsurf.",
5
6
  "main": "dist/index.js",
6
7
  "bin": {
7
8
  "burn-mcp": "dist/index.js"
@@ -10,6 +11,28 @@
10
11
  "build": "tsc",
11
12
  "start": "node dist/index.js"
12
13
  },
14
+ "keywords": [
15
+ "mcp",
16
+ "model-context-protocol",
17
+ "bookmark",
18
+ "reading",
19
+ "knowledge-base",
20
+ "claude",
21
+ "cursor",
22
+ "windsurf",
23
+ "ai-agent",
24
+ "burn"
25
+ ],
26
+ "repository": {
27
+ "type": "git",
28
+ "url": "https://github.com/Fisher521/burn-mcp-server.git"
29
+ },
30
+ "homepage": "https://burn451.cloud",
31
+ "bugs": {
32
+ "url": "https://github.com/Fisher521/burn-mcp-server/issues"
33
+ },
34
+ "license": "MIT",
35
+ "author": "Burn451 <hawking520@gmail.com>",
13
36
  "dependencies": {
14
37
  "@modelcontextprotocol/sdk": "^1.0.0",
15
38
  "@supabase/supabase-js": "^2.39.0",
package/server.json ADDED
@@ -0,0 +1,29 @@
1
+ {
2
+ "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3
+ "name": "io.github.fisher521/burn-mcp-server",
4
+ "description": "Personal knowledge base MCP server — 22 tools to let your AI agent search, triage, and organize your reading list. Built for Burn451.",
5
+ "repository": {
6
+ "url": "https://github.com/Fisher521/burn-mcp-server",
7
+ "source": "github"
8
+ },
9
+ "version": "2.0.2",
10
+ "packages": [
11
+ {
12
+ "registryType": "npm",
13
+ "identifier": "burn-mcp-server",
14
+ "version": "2.0.2",
15
+ "transport": {
16
+ "type": "stdio"
17
+ },
18
+ "environmentVariables": [
19
+ {
20
+ "description": "Long-lived MCP access token from Burn App Settings",
21
+ "isRequired": true,
22
+ "format": "string",
23
+ "isSecret": true,
24
+ "name": "BURN_MCP_TOKEN"
25
+ }
26
+ ]
27
+ }
28
+ ]
29
+ }