Skip to content

Commit 2b6e929

Browse files
committed
Merge remote-tracking branch 'origin/main' into claude/add-neon-mcp-nYwV7
2 parents 5487168 + 5315511 commit 2b6e929

3 files changed

Lines changed: 18 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ pnpm build # Generate bundle/bundle.json
511511
| **McpMux Desktop App** | [Download](https://mcpmux.com/download) — Windows, macOS, Linux |
512512
| **Discover Servers** | [mcpmux.com](https://mcpmux.com) — browse, search, and install MCP servers |
513513
| **Features** | [mcpmux.com/features](https://mcpmux.com/features) — Spaces, Feature Sets, encrypted credentials, and more |
514-
| **Source Code** | [github.com/MCP-Mux/mcp-mux](https://github.com/MCP-Mux/mcp-mux) |
514+
| **Source Code** | [github.com/ion-ash/mcp-mux](https://github.com/ion-ash/mcp-mux) |
515515

516516
---
517517

schemas/server-definition.schema.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,10 @@
218218
"type": "string",
219219
"description": "Help text for this input"
220220
},
221+
"default": {
222+
"type": "string",
223+
"description": "Default value for this input (used when user provides no value)"
224+
},
221225
"placeholder": {
222226
"type": "string",
223227
"description": "Placeholder text"

tests/schema-validation.test.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,19 @@ describe("Server Definition Schema", () => {
5050
it.each([
5151
{ id: "com.example-test", name: "Test", transport: { type: "stdio", command: "echo" } },
5252
{ id: "com.example-remote", name: "Remote", transport: { type: "http", url: "https://example.com/mcp" } },
53+
{
54+
id: "com.example-defaults", name: "Defaults Test",
55+
transport: {
56+
type: "stdio", command: "node", args: ["server.js"],
57+
env: { "LOG_LEVEL": "${input:LOG_LEVEL}" },
58+
metadata: {
59+
inputs: [
60+
{ id: "LOG_LEVEL", label: "Log Level", type: "text", required: false, default: "info" },
61+
{ id: "API_KEY", label: "API Key", type: "password", required: true, secret: true },
62+
],
63+
},
64+
},
65+
},
5366
])("validates valid server definition: $id", (data) => {
5467
expect(validate(data)).toBe(true);
5568
});

0 commit comments

Comments
 (0)