@just-every/mcp-read-website-fast 0.1.13 → 0.1.15

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.
@@ -37,12 +37,15 @@ const startServer = () => {
37
37
  log('INFO', 'Starting MCP server...');
38
38
  const serverPath = join(__dirname, 'serve.js');
39
39
  const child = spawn(process.execPath, [serverPath], {
40
- stdio: 'inherit',
40
+ stdio: ['inherit', 'inherit', 'pipe'],
41
41
  env: process.env,
42
42
  });
43
43
  let shuttingDown = false;
44
+ child.stderr?.on('data', (data) => {
45
+ process.stderr.write(data);
46
+ });
44
47
  let restartTimer = null;
45
- let startupTimer = setTimeout(() => {
48
+ const startupTimer = setTimeout(() => {
46
49
  log('INFO', 'Server started successfully');
47
50
  resetBackoff();
48
51
  }, 5000);
@@ -71,7 +74,7 @@ const startServer = () => {
71
74
  startServer();
72
75
  }, backoffDelay);
73
76
  });
74
- child.on('error', (error) => {
77
+ child.on('error', error => {
75
78
  log('ERROR', 'Failed to start server:', error);
76
79
  process.exit(1);
77
80
  });
@@ -92,11 +95,11 @@ const startServer = () => {
92
95
  process.on('SIGINT', () => shutdown('SIGINT'));
93
96
  process.on('SIGTERM', () => shutdown('SIGTERM'));
94
97
  };
95
- process.on('uncaughtException', (error) => {
98
+ process.on('uncaughtException', error => {
96
99
  log('ERROR', 'Uncaught exception in restart wrapper:', error);
97
100
  process.exit(1);
98
101
  });
99
- process.on('unhandledRejection', (reason) => {
102
+ process.on('unhandledRejection', reason => {
100
103
  log('ERROR', 'Unhandled rejection in restart wrapper:', reason);
101
104
  process.exit(1);
102
105
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@just-every/mcp-read-website-fast",
3
- "version": "0.1.13",
3
+ "version": "0.1.15",
4
4
  "description": "Markdown Content Preprocessor - Fetch web pages, extract content, convert to clean Markdown",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -50,7 +50,7 @@
50
50
  "homepage": "https://github.com/just-every/mcp-read-website-fast#readme",
51
51
  "license": "MIT",
52
52
  "dependencies": {
53
- "@just-every/crawl": "^1.0.2",
53
+ "@just-every/crawl": "^1.0.4",
54
54
  "@modelcontextprotocol/sdk": "^1.12.3",
55
55
  "commander": "^14.0.0"
56
56
  },