Skip to content

Commit 0d979e2

Browse files
committed
fix: add type field to client config in Dashboard and README
The "Connect Your Client" config snippet was missing the transport type, making it unclear how clients should connect to the gateway. Added "type": "streamable-http" since that is the transport the gateway serves. Closes #51 https://claude.ai/code/session_01V5tgbLyeWrPW5zZ1toRoPZ
1 parent cefa644 commit 0d979e2

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ Add a server in McpMux and every client has it instantly. No files to edit.
4949
{
5050
"mcpServers": {
5151
"mcpmux": {
52+
"type": "streamable-http",
5253
"url": "http://localhost:9315/mcp"
5354
}
5455
}

apps/desktop/src/App.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,7 @@ function DashboardView() {
413413
<div className="relative">
414414
<pre className="bg-slate-900 text-slate-100 p-4 rounded-lg text-sm overflow-x-auto font-mono">
415415
{`"mcpmux": {
416+
"type": "streamable-http",
416417
"url": "${gatewayStatus.url || 'http://localhost:3100'}/mcp"
417418
}`}
418419
</pre>
@@ -421,7 +422,7 @@ function DashboardView() {
421422
size="sm"
422423
className="absolute top-2 right-2"
423424
onClick={async () => {
424-
const config = `"mcpmux": {\n "url": "${gatewayStatus.url || 'http://localhost:3100'}/mcp"\n}`;
425+
const config = `"mcpmux": {\n "type": "streamable-http",\n "url": "${gatewayStatus.url || 'http://localhost:3100'}/mcp"\n}`;
425426
await navigator.clipboard.writeText(config);
426427
setExportSuccess('Config copied to clipboard!');
427428
setTimeout(() => setExportSuccess(null), 2000);

0 commit comments

Comments
 (0)