hawkeye-mcp-server 1.0.0

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 (70) hide show
  1. package/CHANGELOG.md +123 -0
  2. package/INSTALLATION.md +734 -0
  3. package/LICENSE +21 -0
  4. package/README.md +289 -0
  5. package/SPECIFICATION.md +1073 -0
  6. package/USAGE.md +849 -0
  7. package/build/config/config.d.ts +58 -0
  8. package/build/config/config.js +100 -0
  9. package/build/config/config.js.map +1 -0
  10. package/build/index.d.ts +6 -0
  11. package/build/index.js +138 -0
  12. package/build/index.js.map +1 -0
  13. package/build/services/auth.service.d.ts +34 -0
  14. package/build/services/auth.service.js +96 -0
  15. package/build/services/auth.service.js.map +1 -0
  16. package/build/services/project.service.d.ts +50 -0
  17. package/build/services/project.service.js +136 -0
  18. package/build/services/project.service.js.map +1 -0
  19. package/build/services/session.service.d.ts +68 -0
  20. package/build/services/session.service.js +357 -0
  21. package/build/services/session.service.js.map +1 -0
  22. package/build/tools/continue-investigation.d.ts +10 -0
  23. package/build/tools/continue-investigation.js +84 -0
  24. package/build/tools/continue-investigation.js.map +1 -0
  25. package/build/tools/get-incident-report.d.ts +10 -0
  26. package/build/tools/get-incident-report.js +62 -0
  27. package/build/tools/get-incident-report.js.map +1 -0
  28. package/build/tools/get-session-report.d.ts +25 -0
  29. package/build/tools/get-session-report.js +46 -0
  30. package/build/tools/get-session-report.js.map +1 -0
  31. package/build/tools/get-session-summary.d.ts +22 -0
  32. package/build/tools/get-session-summary.js +41 -0
  33. package/build/tools/get-session-summary.js.map +1 -0
  34. package/build/tools/get-status.d.ts +10 -0
  35. package/build/tools/get-status.js +129 -0
  36. package/build/tools/get-status.js.map +1 -0
  37. package/build/tools/index.d.ts +29 -0
  38. package/build/tools/index.js +349 -0
  39. package/build/tools/index.js.map +1 -0
  40. package/build/tools/inspect-session.d.ts +28 -0
  41. package/build/tools/inspect-session.js +51 -0
  42. package/build/tools/inspect-session.js.map +1 -0
  43. package/build/tools/investigate-alert.d.ts +10 -0
  44. package/build/tools/investigate-alert.js +122 -0
  45. package/build/tools/investigate-alert.js.map +1 -0
  46. package/build/tools/list-sessions.d.ts +49 -0
  47. package/build/tools/list-sessions.js +79 -0
  48. package/build/tools/list-sessions.js.map +1 -0
  49. package/build/types/errors.d.ts +61 -0
  50. package/build/types/errors.js +76 -0
  51. package/build/types/errors.js.map +1 -0
  52. package/build/types/hawkeye.d.ts +238 -0
  53. package/build/types/hawkeye.js +8 -0
  54. package/build/types/hawkeye.js.map +1 -0
  55. package/build/types/mcp.d.ts +125 -0
  56. package/build/types/mcp.js +6 -0
  57. package/build/types/mcp.js.map +1 -0
  58. package/build/utils/errors.d.ts +20 -0
  59. package/build/utils/errors.js +125 -0
  60. package/build/utils/errors.js.map +1 -0
  61. package/build/utils/http-client.d.ts +51 -0
  62. package/build/utils/http-client.js +133 -0
  63. package/build/utils/http-client.js.map +1 -0
  64. package/build/utils/logger.d.ts +35 -0
  65. package/build/utils/logger.js +77 -0
  66. package/build/utils/logger.js.map +1 -0
  67. package/build/utils/validation.d.ts +134 -0
  68. package/build/utils/validation.js +68 -0
  69. package/build/utils/validation.js.map +1 -0
  70. package/package.json +66 -0
@@ -0,0 +1,734 @@
1
+ # Installation Guide
2
+
3
+ Complete installation instructions for the Hawkeye MCP Server across all platforms and AI agents.
4
+
5
+ ## Table of Contents
6
+
7
+ - [System Requirements](#system-requirements)
8
+ - [Installation Methods](#installation-methods)
9
+ - [Method 1: npm Global Install (Recommended)](#method-1-npm-global-install-recommended)
10
+ - [Method 2: npx (No Install)](#method-2-npx-no-install)
11
+ - [Method 3: Local Development Setup](#method-3-local-development-setup)
12
+ - [Configuration](#configuration)
13
+ - [Integration with AI Agents](#integration-with-ai-agents)
14
+ - [Claude Desktop](#claude-desktop)
15
+ - [Cursor.ai](#cursorai)
16
+ - [Continue.dev](#continuedev)
17
+ - [Verification](#verification)
18
+ - [Troubleshooting](#troubleshooting)
19
+
20
+ ---
21
+
22
+ ## System Requirements
23
+
24
+ ### Minimum Requirements
25
+
26
+ - **Node.js**: >= 20.0.0
27
+ - **npm**: >= 9.0.0 (comes with Node.js)
28
+ - **Operating System**: macOS, Windows 10/11, or Linux
29
+ - **Network**: Internet connection to reach your Hawkeye instance
30
+ - **Hawkeye Access**: Valid Hawkeye account with API access
31
+
32
+ ### Checking Your System
33
+
34
+ ```bash
35
+ # Check Node.js version
36
+ node --version
37
+ # Should output v20.0.0 or higher
38
+
39
+ # Check npm version
40
+ npm --version
41
+ # Should output 9.0.0 or higher
42
+ ```
43
+
44
+ ### Installing Node.js
45
+
46
+ If you don't have Node.js >= 20.0.0:
47
+
48
+ **macOS:**
49
+ ```bash
50
+ # Using Homebrew
51
+ brew install node@20
52
+
53
+ # Or download from nodejs.org
54
+ # https://nodejs.org/
55
+ ```
56
+
57
+ **Windows:**
58
+ ```bash
59
+ # Download installer from nodejs.org
60
+ # https://nodejs.org/
61
+
62
+ # Or using Chocolatey
63
+ choco install nodejs-lts
64
+ ```
65
+
66
+ **Linux (Ubuntu/Debian):**
67
+ ```bash
68
+ # Using NodeSource repository
69
+ curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
70
+ sudo apt-get install -y nodejs
71
+ ```
72
+
73
+ **Linux (Fedora):**
74
+ ```bash
75
+ sudo dnf install nodejs
76
+ ```
77
+
78
+ ---
79
+
80
+ ## Installation Methods
81
+
82
+ ### Method 1: npm Global Install (Recommended)
83
+
84
+ This method installs the Hawkeye MCP Server globally on your system, making it available from anywhere.
85
+
86
+ **Installation:**
87
+
88
+ ```bash
89
+ npm install -g hawkeye-mcp-server
90
+ ```
91
+
92
+ **Verification:**
93
+
94
+ ```bash
95
+ # Check that it's installed
96
+ npm list -g hawkeye-mcp-server
97
+
98
+ # Try running it (it will show configuration error if env vars not set)
99
+ hawkeye-mcp
100
+ ```
101
+
102
+ **Pros:**
103
+ - Easy to use
104
+ - Available system-wide
105
+ - Simple updates: `npm update -g hawkeye-mcp-server`
106
+
107
+ **Cons:**
108
+ - Requires installation step
109
+ - May need sudo on some Linux systems
110
+
111
+ ---
112
+
113
+ ### Method 2: npx (No Install)
114
+
115
+ Use the server directly without installing it. npx downloads and runs the latest version automatically.
116
+
117
+ **Usage:**
118
+
119
+ ```bash
120
+ npx hawkeye-mcp-server
121
+ ```
122
+
123
+ **Pros:**
124
+ - No installation required
125
+ - Always uses latest version
126
+ - Great for trying it out
127
+ - No global package pollution
128
+
129
+ **Cons:**
130
+ - Slightly slower first run (downloads package)
131
+ - Requires internet connection each time cache expires
132
+
133
+ **When to use:**
134
+ - Quick testing
135
+ - CI/CD environments
136
+ - When you don't want global installs
137
+ - One-time usage
138
+
139
+ ---
140
+
141
+ ### Method 3: Local Development Setup
142
+
143
+ For contributors or those who want to run from source.
144
+
145
+ **Clone and Setup:**
146
+
147
+ ```bash
148
+ # Clone the repository (adjust path as needed)
149
+ git clone https://github.com/neubird/solutions
150
+ cd solutions/hawkeye-mcp
151
+
152
+ # Install dependencies
153
+ npm install
154
+
155
+ # Build the project
156
+ npm run build
157
+
158
+ # Run the server
159
+ npm start
160
+ ```
161
+
162
+ **Development Commands:**
163
+
164
+ ```bash
165
+ # TypeScript type checking
166
+ npm run typecheck
167
+
168
+ # Build
169
+ npm run build
170
+
171
+ # Run
172
+ npm start
173
+ ```
174
+
175
+ ---
176
+
177
+ ## Configuration
178
+
179
+ The Hawkeye MCP Server is configured using environment variables.
180
+
181
+ ### Required Environment Variables
182
+
183
+ | Variable | Description | Example |
184
+ |----------|-------------|---------|
185
+ | `HAWKEYE_EMAIL` | Your Hawkeye account email | `user@example.com` |
186
+ | `HAWKEYE_PASSWORD` | Your Hawkeye account password | `your-secure-password` |
187
+ | `HAWKEYE_BASE_URL` | Hawkeye API base URL | `https://app.neubird.ai/api` |
188
+
189
+ ### Optional Environment Variables
190
+
191
+ | Variable | Default | Description |
192
+ |----------|---------|-------------|
193
+ | `HAWKEYE_DEFAULT_PROJECT_UUID` | None | Default project UUID |
194
+ | `HAWKEYE_DEFAULT_ORGANIZATION_UUID` | `ORGANIZATION_NAME_ROOT` | Default organization |
195
+ | `HAWKEYE_MAX_POLL_ATTEMPTS` | `30` | Max polling attempts |
196
+ | `HAWKEYE_POLL_INTERVAL_MS` | `2000` | Polling interval (ms) |
197
+ | `HAWKEYE_ENABLE_STREAMING` | `true` | Enable streaming |
198
+ | `HAWKEYE_LOG_ENABLED` | `true` | Enable logging |
199
+ | `HAWKEYE_LOG_LEVEL` | `info` | Log level |
200
+
201
+ ### Configuration Methods
202
+
203
+ #### Option 1: Environment Variables (Recommended for AI Agents)
204
+
205
+ Set environment variables directly in your AI agent's MCP configuration. See the integration sections below.
206
+
207
+ #### Option 2: .env File (For Development)
208
+
209
+ Create a `.env` file in the project directory:
210
+
211
+ ```bash
212
+ # Copy the example file
213
+ cp .env.example .env
214
+
215
+ # Edit .env with your credentials
216
+ nano .env # or use your favorite editor
217
+ ```
218
+
219
+ Example `.env` file:
220
+
221
+ ```env
222
+ HAWKEYE_EMAIL=user@example.com
223
+ HAWKEYE_PASSWORD=your-password
224
+ HAWKEYE_BASE_URL=https://app.neubird.ai/api
225
+ ```
226
+
227
+ #### Option 3: System Environment Variables
228
+
229
+ **macOS/Linux:**
230
+
231
+ Add to your `~/.bashrc`, `~/.zshrc`, or `~/.profile`:
232
+
233
+ ```bash
234
+ export HAWKEYE_EMAIL="user@example.com"
235
+ export HAWKEYE_PASSWORD="your-password"
236
+ export HAWKEYE_BASE_URL="https://app.neubird.ai/api"
237
+ ```
238
+
239
+ Then reload:
240
+ ```bash
241
+ source ~/.bashrc # or ~/.zshrc
242
+ ```
243
+
244
+ **Windows (PowerShell):**
245
+
246
+ ```powershell
247
+ $env:HAWKEYE_EMAIL="user@example.com"
248
+ $env:HAWKEYE_PASSWORD="your-password"
249
+ $env:HAWKEYE_BASE_URL="https://app.neubird.ai/api"
250
+ ```
251
+
252
+ **Windows (Command Prompt):**
253
+
254
+ ```cmd
255
+ set HAWKEYE_EMAIL=user@example.com
256
+ set HAWKEYE_PASSWORD=your-password
257
+ set HAWKEYE_BASE_URL=https://app.neubird.ai/api
258
+ ```
259
+
260
+ ---
261
+
262
+ ## Integration with AI Agents
263
+
264
+ ### Claude Desktop
265
+
266
+ Claude Desktop is Anthropic's desktop application that supports MCP servers.
267
+
268
+ #### macOS Installation
269
+
270
+ 1. **Install Claude Desktop**
271
+
272
+ Download from: https://claude.ai/download
273
+
274
+ 2. **Locate Configuration File**
275
+
276
+ ```bash
277
+ # Claude Desktop config location
278
+ ~/Library/Application Support/Claude/claude_desktop_config.json
279
+ ```
280
+
281
+ 3. **Edit Configuration**
282
+
283
+ Open the file and add the Hawkeye MCP server:
284
+
285
+ ```json
286
+ {
287
+ "mcpServers": {
288
+ "hawkeye": {
289
+ "command": "npx",
290
+ "args": ["hawkeye-mcp-server"],
291
+ "env": {
292
+ "HAWKEYE_EMAIL": "your-email@example.com",
293
+ "HAWKEYE_PASSWORD": "your-password",
294
+ "HAWKEYE_BASE_URL": "https://app.neubird.ai/api"
295
+ }
296
+ }
297
+ }
298
+ }
299
+ ```
300
+
301
+ **Alternative (if installed globally):**
302
+
303
+ ```json
304
+ {
305
+ "mcpServers": {
306
+ "hawkeye": {
307
+ "command": "hawkeye-mcp",
308
+ "args": [],
309
+ "env": {
310
+ "HAWKEYE_EMAIL": "your-email@example.com",
311
+ "HAWKEYE_PASSWORD": "your-password",
312
+ "HAWKEYE_BASE_URL": "https://app.neubird.ai/api"
313
+ }
314
+ }
315
+ }
316
+ }
317
+ ```
318
+
319
+ 4. **Restart Claude Desktop**
320
+
321
+ Close and reopen Claude Desktop for changes to take effect.
322
+
323
+ 5. **Verify**
324
+
325
+ In Claude Desktop, you should see Hawkeye tools available. Try asking:
326
+ ```
327
+ "List my Hawkeye projects"
328
+ ```
329
+
330
+ #### Windows Installation
331
+
332
+ 1. **Install Claude Desktop**
333
+
334
+ Download from: https://claude.ai/download
335
+
336
+ 2. **Locate Configuration File**
337
+
338
+ ```
339
+ %APPDATA%\Claude\claude_desktop_config.json
340
+ ```
341
+
342
+ Or navigate to:
343
+ ```
344
+ C:\Users\YourUsername\AppData\Roaming\Claude\claude_desktop_config.json
345
+ ```
346
+
347
+ 3. **Edit Configuration**
348
+
349
+ Same JSON configuration as macOS above.
350
+
351
+ **Note for Windows:** Use `npx` command as shown above, not direct paths.
352
+
353
+ 4. **Restart Claude Desktop**
354
+
355
+ 5. **Verify**
356
+
357
+ Ask Claude to list your projects to verify the integration works.
358
+
359
+ ---
360
+
361
+ ### Cursor.ai
362
+
363
+ Cursor is an AI-powered code editor with MCP support.
364
+
365
+ #### Installation (All Platforms)
366
+
367
+ 1. **Install Cursor**
368
+
369
+ Download from: https://cursor.sh
370
+
371
+ 2. **Open MCP Settings**
372
+
373
+ - **macOS**: `Cmd+Shift+P` → "MCP: Edit Configuration"
374
+ - **Windows/Linux**: `Ctrl+Shift+P` → "MCP: Edit Configuration"
375
+
376
+ Or manually edit the file:
377
+ - **macOS**: `~/.cursor/mcp.json`
378
+ - **Windows**: `%APPDATA%\Cursor\mcp.json`
379
+ - **Linux**: `~/.config/cursor/mcp.json`
380
+
381
+ 3. **Add Hawkeye Configuration**
382
+
383
+ ```json
384
+ {
385
+ "mcpServers": {
386
+ "hawkeye": {
387
+ "command": "npx",
388
+ "args": ["hawkeye-mcp-server"],
389
+ "env": {
390
+ "HAWKEYE_EMAIL": "your-email@example.com",
391
+ "HAWKEYE_PASSWORD": "your-password",
392
+ "HAWKEYE_BASE_URL": "https://app.neubird.ai/api"
393
+ }
394
+ }
395
+ }
396
+ }
397
+ ```
398
+
399
+ 4. **Reload Cursor**
400
+
401
+ - **macOS**: `Cmd+Shift+P` → "Developer: Reload Window"
402
+ - **Windows/Linux**: `Ctrl+Shift+P` → "Developer: Reload Window"
403
+
404
+ 5. **Verify**
405
+
406
+ Open Cursor's AI chat and ask:
407
+ ```
408
+ "Show me all Hawkeye projects"
409
+ ```
410
+
411
+ #### Cursor-Specific Tips
412
+
413
+ - **Workspace Configuration**: You can also add MCP configuration per-workspace in `.cursor/mcp.json`
414
+ - **Multiple Projects**: If you have multiple Hawkeye projects, set `HAWKEYE_DEFAULT_PROJECT_UUID`
415
+ - **Performance**: Use global install (`hawkeye-mcp` command) for faster startup
416
+
417
+ ---
418
+
419
+ ### Continue.dev
420
+
421
+ Continue is a VS Code extension that supports MCP.
422
+
423
+ #### Installation
424
+
425
+ 1. **Install Continue Extension**
426
+
427
+ In VS Code:
428
+ - Open Extensions (`Cmd+Shift+X` or `Ctrl+Shift+X`)
429
+ - Search for "Continue"
430
+ - Install the extension
431
+
432
+ 2. **Open Continue Configuration**
433
+
434
+ - Click Continue icon in sidebar
435
+ - Click gear icon ⚙️ for settings
436
+ - Or open `~/.continue/config.json`
437
+
438
+ 3. **Add MCP Server**
439
+
440
+ Add to the `mcpServers` section:
441
+
442
+ ```json
443
+ {
444
+ "mcpServers": {
445
+ "hawkeye": {
446
+ "command": "npx",
447
+ "args": ["hawkeye-mcp-server"],
448
+ "env": {
449
+ "HAWKEYE_EMAIL": "your-email@example.com",
450
+ "HAWKEYE_PASSWORD": "your-password",
451
+ "HAWKEYE_BASE_URL": "https://app.neubird.ai/api"
452
+ }
453
+ }
454
+ }
455
+ }
456
+ ```
457
+
458
+ 4. **Reload VS Code**
459
+
460
+ Reload VS Code window for changes to take effect.
461
+
462
+ 5. **Verify**
463
+
464
+ Use Continue's chat to ask about your Hawkeye projects.
465
+
466
+ ---
467
+
468
+ ### Generic MCP Client
469
+
470
+ For any other MCP-compatible client:
471
+
472
+ **Standard Configuration:**
473
+
474
+ ```json
475
+ {
476
+ "command": "npx",
477
+ "args": ["hawkeye-mcp-server"],
478
+ "env": {
479
+ "HAWKEYE_EMAIL": "your-email@example.com",
480
+ "HAWKEYE_PASSWORD": "your-password",
481
+ "HAWKEYE_BASE_URL": "https://app.neubird.ai/api"
482
+ }
483
+ }
484
+ ```
485
+
486
+ **If Globally Installed:**
487
+
488
+ ```json
489
+ {
490
+ "command": "hawkeye-mcp",
491
+ "args": [],
492
+ "env": {
493
+ "HAWKEYE_EMAIL": "your-email@example.com",
494
+ "HAWKEYE_PASSWORD": "your-password",
495
+ "HAWKEYE_BASE_URL": "https://app.neubird.ai/api"
496
+ }
497
+ }
498
+ ```
499
+
500
+ ---
501
+
502
+ ## Verification
503
+
504
+ ### Test the Server Directly
505
+
506
+ ```bash
507
+ # If installed globally
508
+ hawkeye-mcp
509
+
510
+ # Or using npx
511
+ npx hawkeye-mcp-server
512
+
513
+ # You should see MCP server output (not errors about missing config)
514
+ ```
515
+
516
+ ### Test in AI Agent
517
+
518
+ After integration, test with these prompts:
519
+
520
+ 1. **List Projects:**
521
+ ```
522
+ "List all my Hawkeye projects"
523
+ ```
524
+
525
+ 2. **List Sessions:**
526
+ ```
527
+ "Show me recent sessions from project XYZ"
528
+ ```
529
+
530
+ 3. **List Uninvestigated:**
531
+ ```
532
+ "Show me all uninvestigated incidents"
533
+ ```
534
+
535
+ ### Check Logs
536
+
537
+ If something isn't working, enable debug logging:
538
+
539
+ ```json
540
+ {
541
+ "env": {
542
+ "HAWKEYE_LOG_LEVEL": "debug",
543
+ "HAWKEYE_LOG_ENABLED": "true"
544
+ }
545
+ }
546
+ ```
547
+
548
+ Then check your AI agent's logs for detailed output.
549
+
550
+ ---
551
+
552
+ ## Troubleshooting
553
+
554
+ ### Common Issues
555
+
556
+ #### 1. "Node.js version too old"
557
+
558
+ **Problem:** Node.js < 20.0.0
559
+
560
+ **Solution:**
561
+ ```bash
562
+ # Check version
563
+ node --version
564
+
565
+ # Upgrade Node.js (see System Requirements section)
566
+ ```
567
+
568
+ #### 2. "Cannot find module 'hawkeye-mcp-server'"
569
+
570
+ **Problem:** Package not installed or not in PATH
571
+
572
+ **Solutions:**
573
+ - Use npx: `npx hawkeye-mcp-server`
574
+ - Or install globally: `npm install -g hawkeye-mcp-server`
575
+ - Check PATH: `echo $PATH` (macOS/Linux) or `echo %PATH%` (Windows)
576
+
577
+ #### 3. "Authentication failed"
578
+
579
+ **Problem:** Invalid credentials or wrong API URL
580
+
581
+ **Solutions:**
582
+ - Verify `HAWKEYE_EMAIL` and `HAWKEYE_PASSWORD` are correct
583
+ - Check `HAWKEYE_BASE_URL` points to correct instance
584
+ - Test login in Hawkeye web UI
585
+ - Ensure account has API access
586
+
587
+ #### 4. "Connection timeout"
588
+
589
+ **Problem:** Network issues or firewall
590
+
591
+ **Solutions:**
592
+ - Check internet connection
593
+ - Verify Hawkeye instance is accessible
594
+ - Check firewall settings
595
+ - Try: `curl https://your-instance.app.neubird.ai/api/v1/user/login`
596
+
597
+ #### 5. "MCP server not showing in AI agent"
598
+
599
+ **Problem:** Configuration not loaded
600
+
601
+ **Solutions:**
602
+ - Verify JSON syntax in config file
603
+ - Restart AI agent completely (not just reload)
604
+ - Check config file location is correct
605
+ - Look at AI agent logs for errors
606
+
607
+ #### 6. "Permission denied" (macOS/Linux)
608
+
609
+ **Problem:** npm global install permissions
610
+
611
+ **Solutions:**
612
+ ```bash
613
+ # Option 1: Use npx instead (recommended)
614
+ npx hawkeye-mcp-server
615
+
616
+ # Option 2: Fix npm permissions
617
+ sudo chown -R $USER /usr/local/lib/node_modules
618
+
619
+ # Option 3: Use sudo (not recommended)
620
+ sudo npm install -g hawkeye-mcp-server
621
+ ```
622
+
623
+ #### 7. "Module parse failed" or build errors
624
+
625
+ **Problem:** Corrupted installation
626
+
627
+ **Solution:**
628
+ ```bash
629
+ # Clear npm cache
630
+ npm cache clean --force
631
+
632
+ # Reinstall
633
+ npm uninstall -g hawkeye-mcp-server
634
+ npm install -g hawkeye-mcp-server
635
+ ```
636
+
637
+ ### Getting Debug Information
638
+
639
+ Enable debug logging in your configuration:
640
+
641
+ ```json
642
+ {
643
+ "env": {
644
+ "HAWKEYE_LOG_LEVEL": "debug",
645
+ "HAWKEYE_LOG_ENABLED": "true"
646
+ }
647
+ }
648
+ ```
649
+
650
+ ### Platform-Specific Issues
651
+
652
+ #### macOS
653
+
654
+ **Issue:** "command not found: hawkeye-mcp"
655
+
656
+ **Solution:**
657
+ ```bash
658
+ # Check npm global bin path
659
+ npm config get prefix
660
+
661
+ # Add to PATH in ~/.zshrc or ~/.bashrc
662
+ export PATH="$PATH:$(npm config get prefix)/bin"
663
+
664
+ # Reload shell
665
+ source ~/.zshrc
666
+ ```
667
+
668
+ #### Windows
669
+
670
+ **Issue:** PowerShell execution policy
671
+
672
+ **Solution:**
673
+ ```powershell
674
+ # Allow scripts
675
+ Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
676
+ ```
677
+
678
+ **Issue:** Path with spaces
679
+
680
+ **Solution:** Use quotes in configuration:
681
+ ```json
682
+ {
683
+ "command": "C:\\Program Files\\nodejs\\npx.cmd"
684
+ }
685
+ ```
686
+
687
+ #### Linux
688
+
689
+ **Issue:** EACCES permissions error
690
+
691
+ **Solution:**
692
+ ```bash
693
+ # Create npm global directory in home
694
+ mkdir ~/.npm-global
695
+ npm config set prefix '~/.npm-global'
696
+
697
+ # Add to PATH in ~/.bashrc
698
+ export PATH=~/.npm-global/bin:$PATH
699
+
700
+ # Reload
701
+ source ~/.bashrc
702
+
703
+ # Reinstall
704
+ npm install -g hawkeye-mcp-server
705
+ ```
706
+
707
+ ### Still Having Issues?
708
+
709
+ Contact support with:
710
+
711
+ 1. **Error message** (full text)
712
+ 2. **Platform** (macOS/Windows/Linux + version)
713
+ 3. **Node.js version**: `node --version`
714
+ 4. **npm version**: `npm --version`
715
+ 5. **Installation method** used
716
+ 6. **AI agent** (Claude Desktop/Cursor/etc.)
717
+ 7. **Configuration** (remove sensitive data)
718
+
719
+ **Email:** support@neubird.ai
720
+
721
+ ---
722
+
723
+ ## Next Steps
724
+
725
+ After installation:
726
+
727
+ 1. **Read the [Usage Guide](./USAGE.md)** for examples and workflows
728
+ 2. **Review the [API Reference](./SPECIFICATION.md)** for detailed tool documentation
729
+ 3. **Try the examples** in the Usage Guide
730
+ 4. **Set up default project** if you mainly use one project
731
+
732
+ ---
733
+
734
+ **Installation complete! Start investigating incidents with AI.** 🚀