Skip to content

Commit bb791cd

Browse files
authored
fix: include server/static in published package files (modelcontextprotocol#1113)
The sandbox_proxy.html file was not shipped in the npm package because the files arrays in both package.json and server/package.json only included the build directory. The server code resolves the file via join(__dirname, '..', 'static', 'sandbox_proxy.html') which expects static/ as a sibling of build/, but it was missing from the package.
1 parent 1e23d37 commit bb791cd

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"client/bin",
1515
"client/dist",
1616
"server/build",
17+
"server/static",
1718
"cli/build"
1819
],
1920
"workspaces": [

server/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
},
1313
"files": [
1414
"build",
15+
"static",
1516
"LICENSE"
1617
],
1718
"scripts": {

0 commit comments

Comments
 (0)