File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -427,7 +427,7 @@ This guide uses the OpenWeatherMap API. You'll need a free API key from [OpenWea
427
427
</Card >
428
428
</CardGroup >
429
429
430
- ## Available Transports
430
+ ## Available transports
431
431
432
432
While this guide uses stdio transport, MCP supports multiple transport options:
433
433
@@ -445,7 +445,7 @@ transport = SSEServerTransport("/events", response)
445
445
446
446
## Troubleshooting
447
447
448
- ### Installation Issues
448
+ ### Installation issues
449
449
``` bash
450
450
# Check Python version
451
451
python --version
@@ -455,14 +455,14 @@ pip uninstall -r requirements.txt
455
455
pip install -r requirements.txt
456
456
```
457
457
458
- ### Runtime Errors
458
+ ### Runtime errors
459
459
``` bash
460
460
# Enable debug logging
461
461
export MCP_LOG_LEVEL=DEBUG
462
462
python weather_server.py
463
463
```
464
464
465
- ### Type Checking
465
+ ### Type checking
466
466
``` bash
467
467
# Install mypy
468
468
pip install mypy
@@ -523,7 +523,7 @@ mypy weather_server.py
523
523
</Accordion >
524
524
</AccordionGroup >
525
525
526
- ## Advanced Features
526
+ ## Advanced features
527
527
528
528
<Steps >
529
529
<Step title = " Add caching" >
Original file line number Diff line number Diff line change @@ -562,7 +562,7 @@ This guide uses the OpenWeatherMap API. You'll need a free API key from [OpenWea
562
562
</Card >
563
563
</CardGroup >
564
564
565
- ## Available Transports
565
+ ## Available transports
566
566
567
567
While this guide uses stdio transport, MCP supports multiple transport options:
568
568
@@ -580,7 +580,7 @@ const transport = new SSEServerTransport("/events", response);
580
580
581
581
## Troubleshooting
582
582
583
- ### Build Errors
583
+ ### Build errors
584
584
``` bash
585
585
# Check TypeScript version
586
586
npx tsc --version
@@ -590,7 +590,7 @@ rm -rf dist/
590
590
npm run build
591
591
```
592
592
593
- ### Runtime Errors
593
+ ### Runtime errors
594
594
Look for detailed error messages in the Claude app logs:
595
595
``` bash
596
596
# Launch Claude with logging
@@ -600,7 +600,7 @@ open /Applications/Claude.app --stdout ~/Claude.log --stderr ~/Claude.log
600
600
tail -f ~ /Claude.log
601
601
```
602
602
603
- ### Type Errors
603
+ ### Type errors
604
604
``` bash
605
605
# Check types without building
606
606
npx tsc --noEmit
You can’t perform that action at this time.
0 commit comments