Skip to content

Commit c3bfc56

Browse files
committed
docs: fix heirarchy in docs and use workspaceFolder inplace of CWD
1 parent dae8fdf commit c3bfc56

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.mcphub/servers.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"args": [
55
"-y",
66
"@modelcontextprotocol/server-filesystem",
7-
"${CWD}"
7+
"${workspaceFolder}"
88
],
99
"command": "npx"
1010
},
@@ -21,7 +21,7 @@
2121
"lsp": {
2222
"args": [
2323
"--workspace",
24-
"${CWD}",
24+
"${workspaceFolder}",
2525
"--lsp",
2626
"lua-language-server",
2727
"--",

doc/mcp/servers_json.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ MCPHub supports the following VS Code predefined variables:
321321
- These variables are available for placeholder resolution but are NOT passed to server environments
322322
- Use them in any configuration field: `command`, `args`, `env`, `url`, `headers`, `cwd`
323323

324-
### VS Code Input Variables Support
324+
## VS Code Input Variables Support
325325

326326
MCPHub supports VS Code's `${input:variable-id}` syntax for compatibility with VS Code configurations. Input variables are configured via MCPHub's `global_env` option and made available to all servers.
327327

0 commit comments

Comments
 (0)