mcp-server-markview 1.2.8 → 1.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/mcp-server-markview +8 -0
- package/package.json +1 -1
package/bin/mcp-server-markview
CHANGED
|
@@ -51,6 +51,14 @@ if [ -x "$USER_APP_BINARY" ]; then
|
|
|
51
51
|
exec "$USER_APP_BINARY" "$@"
|
|
52
52
|
fi
|
|
53
53
|
|
|
54
|
+
# --- Fallback: run capability-only sandbox server via Node.js ---
|
|
55
|
+
# Used by Smithery's Linux scanner and other non-macOS environments.
|
|
56
|
+
# index.js detects non-macOS and starts the sandbox MCP server over stdio.
|
|
57
|
+
INDEX_JS="$(dirname "$SCRIPT_DIR")/index.js"
|
|
58
|
+
if [ -f "$INDEX_JS" ] && command -v node >/dev/null 2>&1; then
|
|
59
|
+
exec node "$INDEX_JS" "$@"
|
|
60
|
+
fi
|
|
61
|
+
|
|
54
62
|
# --- Not found ---
|
|
55
63
|
cat >&2 <<'EOF'
|
|
56
64
|
mcp-server-markview: could not find the MarkView MCP server binary.
|
package/package.json
CHANGED