burn-mcp-server 2.0.5 → 2.0.7
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/LICENSE +21 -0
- package/README.md +68 -4
- package/api/health.mjs +7 -0
- package/api/mcp.js +36075 -0
- package/dist/http.mjs +1131 -0
- package/dist/index.js +965 -923
- package/glama.json +3 -0
- package/package.json +12 -6
- package/public/index.html +47 -0
- package/server.json +21 -6
- package/src/http-dev.ts +56 -0
- package/src/http.ts +62 -0
- package/src/index.ts +28 -1344
- package/src/lib/auth-stdio.ts +26 -0
- package/src/lib/auth.ts +71 -0
- package/src/setup.ts +1529 -0
- package/src/vercel-handler.ts +20 -0
- package/src/vercel-node-handler.ts +76 -0
- package/tsconfig.json +10 -6
- package/vercel.json +9 -0
- package/.mcpregistry_github_token +0 -1
- package/.mcpregistry_registry_token +0 -1
- package/smithery.yaml +0 -17
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Burn451
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[](https://www.npmjs.com/package/burn-mcp-server)
|
|
4
4
|
[](https://opensource.org/licenses/MIT)
|
|
5
5
|
|
|
6
|
-
Your reading data as an AI-accessible knowledge base.
|
|
6
|
+
Your reading data as an AI-accessible knowledge base. 26 tools for Claude, Cursor, Windsurf, and any MCP-compatible agent.
|
|
7
7
|
|
|
8
8
|
## How it works
|
|
9
9
|
|
|
@@ -21,7 +21,35 @@ The MCP server lets your AI agent search, triage, organize, and analyze everythi
|
|
|
21
21
|
|
|
22
22
|
Download [Burn on iOS](https://apps.apple.com/app/burn451/id6759418544) or use [Burn on the web](https://burn451.cloud) → Settings → MCP Server → **Copy Access Token**
|
|
23
23
|
|
|
24
|
-
### 2.
|
|
24
|
+
### 2. Connect (pick one)
|
|
25
|
+
|
|
26
|
+
#### Option A — Remote HTTP (recommended, no install)
|
|
27
|
+
|
|
28
|
+
Add this URL to your MCP client. Works with Claude Desktop, Cursor, Windsurf, ChatGPT desktop, anything that speaks MCP Streamable HTTP:
|
|
29
|
+
|
|
30
|
+
```
|
|
31
|
+
https://mcp.burn451.cloud/mcp
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Authorization header: `Bearer <your-token>`
|
|
35
|
+
|
|
36
|
+
Claude Desktop config:
|
|
37
|
+
```json
|
|
38
|
+
{
|
|
39
|
+
"mcpServers": {
|
|
40
|
+
"burn": {
|
|
41
|
+
"url": "https://mcp.burn451.cloud/mcp",
|
|
42
|
+
"headers": { "Authorization": "Bearer <your-token>" }
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
No Node install, no npx, no local process — one URL and you're in.
|
|
49
|
+
|
|
50
|
+
#### Option B — Local stdio (npm install)
|
|
51
|
+
|
|
52
|
+
For offline / privacy-sensitive setups where you don't want requests going through burn451.cloud:
|
|
25
53
|
|
|
26
54
|
```json
|
|
27
55
|
{
|
|
@@ -43,7 +71,7 @@ Download [Burn on iOS](https://apps.apple.com/app/burn451/id6759418544) or use [
|
|
|
43
71
|
- "Triage my Flame — what should I keep?"
|
|
44
72
|
- "Create a collection from my AI bookmarks"
|
|
45
73
|
|
|
46
|
-
## Tools (
|
|
74
|
+
## Tools (26)
|
|
47
75
|
|
|
48
76
|
### Search & Read
|
|
49
77
|
|
|
@@ -87,6 +115,15 @@ Download [Burn on iOS](https://apps.apple.com/app/burn451/id6759418544) or use [
|
|
|
87
115
|
|------|-------------|
|
|
88
116
|
| `write_bookmark_analysis` | Write structured analysis back to a bookmark |
|
|
89
117
|
|
|
118
|
+
### Auto-Feed (Agent as your scout)
|
|
119
|
+
|
|
120
|
+
| Tool | What it does |
|
|
121
|
+
|------|-------------|
|
|
122
|
+
| `add_watched_source` | Watch an X user, RSS feed, or YouTube channel. New posts flow into Flame automatically. |
|
|
123
|
+
| `list_watched_sources` | List all active watched sources |
|
|
124
|
+
| `remove_watched_source` | Stop watching a source |
|
|
125
|
+
| `scrape_watched_sources` | Fetch new content from watched sources on demand |
|
|
126
|
+
|
|
90
127
|
## Resources
|
|
91
128
|
|
|
92
129
|
| URI | Content |
|
|
@@ -104,7 +141,7 @@ Download [Burn on iOS](https://apps.apple.com/app/burn451/id6759418544) or use [
|
|
|
104
141
|
|
|
105
142
|
**Cross-tool intelligence** — Use with Claude Code, Cursor, or Windsurf. Your bookmarks become context for coding, writing, and thinking.
|
|
106
143
|
|
|
107
|
-
## Environment Variables
|
|
144
|
+
## Environment Variables (stdio mode)
|
|
108
145
|
|
|
109
146
|
| Variable | Required | Description |
|
|
110
147
|
|----------|----------|-------------|
|
|
@@ -114,6 +151,33 @@ Download [Burn on iOS](https://apps.apple.com/app/burn451/id6759418544) or use [
|
|
|
114
151
|
|
|
115
152
|
*One of `BURN_MCP_TOKEN` or `BURN_SUPABASE_TOKEN` required.
|
|
116
153
|
|
|
154
|
+
## Transports
|
|
155
|
+
|
|
156
|
+
This server ships two transports from the same tool set:
|
|
157
|
+
|
|
158
|
+
| Transport | Entry | Who it's for |
|
|
159
|
+
|---|---|---|
|
|
160
|
+
| **Streamable HTTP** (`src/http.ts` → `api/mcp.ts`) | Remote server (Vercel Edge) | Most users — paste one URL, done |
|
|
161
|
+
| **stdio** (`src/index.ts`) | `npx burn-mcp-server` | Offline / privacy-first users |
|
|
162
|
+
|
|
163
|
+
### Self-hosting the HTTP server
|
|
164
|
+
|
|
165
|
+
```bash
|
|
166
|
+
git clone https://github.com/Fisher521/burn-mcp-server
|
|
167
|
+
cd burn-mcp-server
|
|
168
|
+
npm install
|
|
169
|
+
npm run build:http
|
|
170
|
+
PORT=3791 node dist/http.mjs
|
|
171
|
+
# test:
|
|
172
|
+
curl -sS -X POST http://localhost:3791 \
|
|
173
|
+
-H "Authorization: Bearer <YOUR_TOKEN>" \
|
|
174
|
+
-H "Content-Type: application/json" \
|
|
175
|
+
-H "Accept: application/json, text/event-stream" \
|
|
176
|
+
-d '{"jsonrpc":"2.0","method":"tools/list","id":1}'
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
Or deploy to Vercel (one-click): `vercel --prod` in repo root. Config is in `vercel.json`.
|
|
180
|
+
|
|
117
181
|
## Security
|
|
118
182
|
|
|
119
183
|
- Token scoped to your data only (Row Level Security)
|
package/api/health.mjs
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export const config = { runtime: 'edge' }
|
|
2
|
+
export default async function handler(req) {
|
|
3
|
+
return new Response(JSON.stringify({ ok: true, url: req.url, method: req.method, runtime: 'edge' }), {
|
|
4
|
+
status: 200,
|
|
5
|
+
headers: { 'content-type': 'application/json' },
|
|
6
|
+
})
|
|
7
|
+
}
|