fix: use correct MCP server type in settings page config

Change "type": "streamable-http" to "type": "http" to match Claude
Code's actual MCP schema. Also clarify that the config targets
.claude/settings.json specifically.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Frederic Cabassut
2026-03-09 10:47:25 +01:00
co-authored by Claude Opus 4.6
parent 838051b1ab
commit af75f76dc9
+4 -4
View File
@@ -26,7 +26,7 @@
let mcpJsonConfig = $derived(`{
"mcpServers": {
"crumbs": {
"type": "streamable-http",
"type": "http",
"url": "${baseUrl}/api/mcp",
"headers": {
"Authorization": "Bearer ${activeApiKey}"
@@ -37,12 +37,12 @@
let llmInstallPrompt = $derived(`Install the Crumbs MCP server with the following configuration:
- Type: Streamable HTTP
- Type: HTTP (Streamable HTTP)
- URL: ${baseUrl}/api/mcp
- Authentication: Bearer token in the Authorization header
- API Key: ${activeApiKey}
Add this to your MCP client settings (e.g. Claude Code's .claude/settings.json or Claude Desktop's config):
Add this to your MCP client settings (e.g. Claude Code's .claude/settings.json):
${mcpJsonConfig}`);
@@ -233,7 +233,7 @@ ${mcpJsonConfig}`);
<section class="rounded-sm border border-[var(--border-subtle)] bg-[var(--bg-surface)] p-6 shadow-[var(--card-shadow)]">
<h2 class="mb-4 text-lg font-semibold text-[var(--text)]">Client Configuration</h2>
<p class="mb-3 text-xs text-[var(--text-muted)]">
Add this to your MCP client config (e.g. Claude Code settings):
Add this to your <code class="rounded-sm bg-[var(--bg-base)] px-1 py-0.5">.claude/settings.json</code> (Claude Code):
</p>
<div class="relative">
<pre class="overflow-x-auto rounded-sm bg-[var(--bg-base)] p-3 pr-10 text-xs text-[var(--text)]">{mcpJsonConfig}</pre>