burn-mcp-server 2.0.6 → 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/README.md CHANGED
@@ -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. Add to Claude Desktop
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
  {
@@ -113,7 +141,7 @@ Download [Burn on iOS](https://apps.apple.com/app/burn451/id6759418544) or use [
113
141
 
114
142
  **Cross-tool intelligence** — Use with Claude Code, Cursor, or Windsurf. Your bookmarks become context for coding, writing, and thinking.
115
143
 
116
- ## Environment Variables
144
+ ## Environment Variables (stdio mode)
117
145
 
118
146
  | Variable | Required | Description |
119
147
  |----------|----------|-------------|
@@ -123,6 +151,33 @@ Download [Burn on iOS](https://apps.apple.com/app/burn451/id6759418544) or use [
123
151
 
124
152
  *One of `BURN_MCP_TOKEN` or `BURN_SUPABASE_TOKEN` required.
125
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
+
126
181
  ## Security
127
182
 
128
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
+ }