Commit 3177cfe
fix(mcpb): expand template variables in config paths
Fixed issue where paths like ${HOME}/Downloads were used literally
instead of being expanded to actual home directory paths.
Changes to config.ts:
- Added expandTemplateVars() function to expand template variables:
* ${HOME} → User's home directory (Unix/Mac)
* ${USERPROFILE} → User's home directory (Windows)
* ${DESKTOP} → Desktop directory
* ${DOCUMENTS} → Documents directory
* ${DOWNLOADS} → Downloads directory
* ${TEMP}, ${TMPDIR} → Temporary directory
- Updated getStringEnv() to expand variables in single paths
- Updated getStringArrayEnv() to expand variables in path arrays
This allows Claude Desktop extension configuration values like
"${HOME}/Downloads" to properly resolve to "/Users/username/Downloads"
at runtime.
Also updated manifest.json author from personal to company name.
Regenerated qsv-mcp-server.mcpb with fixes.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent c783cf2 commit 3177cfe
File tree
3 files changed
+48
-4
lines changed- .claude/skills
- src
3 files changed
+48
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
8 | 46 | | |
9 | 47 | | |
10 | 48 | | |
| |||
59 | 97 | | |
60 | 98 | | |
61 | 99 | | |
| 100 | + | |
62 | 101 | | |
63 | 102 | | |
64 | 103 | | |
65 | | - | |
| 104 | + | |
| 105 | + | |
66 | 106 | | |
67 | 107 | | |
68 | 108 | | |
69 | 109 | | |
| 110 | + | |
70 | 111 | | |
71 | 112 | | |
72 | 113 | | |
73 | 114 | | |
74 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
75 | 119 | | |
76 | 120 | | |
77 | 121 | | |
| |||
0 commit comments