Skip to content

Commit 0aff3ec

Browse files
committed
feat: use name field from MCP server config in the UI (fixes ravitemer#152)
1 parent e9d000b commit 0aff3ec

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

doc/mcp/servers_json.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ The `config` file should have a `mcpServers` key. This contains `stdio` and `rem
6767
- `args`: Array of command arguments
6868
- `env`: Optional environment variables
6969
- `dev`: Development mode configuration for auto-restart on file changes
70+
- `name`: Display name that will be shown in the UI
71+
- `description`: Short description about the server (useful when the server is disabled and `auto_toggle_mcp_servers` is `true`)
7072

7173
##### `env` Special Values
7274

@@ -148,6 +150,8 @@ MCPHub supports both `streamable-http` and `sse` remote servers.
148150

149151
##### Optional fields:
150152
- `headers`: Optional authentication headers
153+
- `name`: Display name that will be shown in the UI
154+
- `description`: Short description about the server (useful when the server is disabled and `auto_toggle_mcp_servers` is `true`)
151155

152156
##### `headers` Special Values
153157

@@ -197,7 +201,3 @@ The `autoApprove` field allows fine-grained control over which tools are automat
197201
- Resources are always auto-approved by default (no explicit configuration needed)
198202
- Auto-approval only applies to enabled servers and enabled tools
199203
- You can toggle auto-approval from the UI using the `a` keymap on servers or individual tools
200-
201-
202-
203-

lua/mcphub/utils/version.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ return {
33
REQUIRED_NODE_VERSION = { -- Required mcp-hub version
44
major = 3,
55
minor = 3,
6-
patch = 1,
7-
string = "3.3.1",
6+
patch = 4,
7+
string = "3.3.4",
88
},
99
}

0 commit comments

Comments
 (0)