[dashboards] Fix MCP proxy auth + setup docs#66
Conversation
Addresses 6 items from code review: 1. Package name "web" → "open-brain-dashboard" 2. MCP key moved from query string to Authorization header 3. robots.txt disallows crawling (personal dashboard) 4. package-lock.json removed from git + gitignored 5. app.d.ts: MCP env vars optional, comment explains preferred vs fallback 6. Indentation fix in MCP proxy error return svelte-check: 0 errors, 0 warnings vite build: clean production build Original dashboard by @headcrest. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
OB1 Automated Review✅ Folder structure — All files are in allowed directories
Result: 13/14 checks passed. Please fix the issues above and push again. Post-Merge TasksThese don't block merge — they're reminders for admins after this PR lands.
|
The proxy was sending the MCP key as an Authorization Bearer header, but the open-brain-mcp Edge Function expects it as a ?key= query parameter. Also rewrites the README with a credential source table, OAuth sign-in troubleshooting, and search debugging guidance based on real setup experience. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Combined into PR #83 with the original dashboard from #57. Matt — next time, submit this as a PR review on the original PR with requested changes, or push fixes directly to the contributor's branch. Opening a separate PR to patch an open PR creates a dependency chain that's a pain to merge. The fixes were good, the process just needs to be tighter. |
Summary
Authorization: Bearerheader, butopen-brain-mcpexpects?key=query parameter. Search and capture silently failed through the dashboard..env.local,.env.*.local, anddeno.lockto prevent credential/artifact leaks.Found during live testing
?key=in fetch URLTest plan
🤖 Generated with Claude Code