Commit faba56d
fix(mcpb): use server/ subdir and ${__dirname} in command per mcpb spec
Official mcpb calculator-rust example uses:
entry_point: 'server/mcp-calculator'
command: '${__dirname}/server/mcp-calculator'
${__dirname} is resolved by Claude Code to the extraction directory,
giving an absolute path. This fixes ENOENT on Windows spawn.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 47f27b5 commit faba56d
2 files changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
| 65 | + | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
| 171 | + | |
| 172 | + | |
172 | 173 | | |
173 | | - | |
174 | | - | |
| 174 | + | |
| 175 | + | |
175 | 176 | | |
176 | 177 | | |
177 | 178 | | |
| |||
0 commit comments