outline-mcp-server 4.4.0 → 4.4.1

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.
Files changed (2) hide show
  1. package/bin/cli.js +7 -0
  2. package/package.json +2 -2
package/bin/cli.js CHANGED
@@ -22,6 +22,13 @@ for (let i = 0; i < args.length; i++) {
22
22
  }
23
23
  }
24
24
 
25
+ // Check for required environment variable
26
+ if (!process.env.OUTLINE_API_KEY) {
27
+ console.error('\x1b[31mError: OUTLINE_API_KEY environment variable is required but not set.\x1b[0m');
28
+ console.error('Please set this environment variable before running the server.');
29
+ process.exit(1);
30
+ }
31
+
25
32
  // Path to the built index.js file
26
33
  const serverPath = resolve(__dirname, '../build/index.js');
27
34
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "outline-mcp-server",
3
- "version": "4.4.0",
3
+ "version": "4.4.1",
4
4
  "description": "An MCP server for interacting with Outline's API",
5
5
  "type": "module",
6
6
  "bin": {
@@ -47,4 +47,4 @@
47
47
  "engines": {
48
48
  "node": ">=18"
49
49
  }
50
- }
50
+ }