grammar
This commit is contained in:
parent
75dd5f418a
commit
b8d437542d
2 changed files with 9 additions and 9 deletions
|
|
@ -427,7 +427,7 @@ This guide uses the OpenWeatherMap API. You'll need a free API key from [OpenWea
|
||||||
</Card>
|
</Card>
|
||||||
</CardGroup>
|
</CardGroup>
|
||||||
|
|
||||||
## Available Transports
|
## Available transports
|
||||||
|
|
||||||
While this guide uses stdio transport, MCP supports multiple transport options:
|
While this guide uses stdio transport, MCP supports multiple transport options:
|
||||||
|
|
||||||
|
|
@ -445,7 +445,7 @@ transport = SSEServerTransport("/events", response)
|
||||||
|
|
||||||
## Troubleshooting
|
## Troubleshooting
|
||||||
|
|
||||||
### Installation Issues
|
### Installation issues
|
||||||
```bash
|
```bash
|
||||||
# Check Python version
|
# Check Python version
|
||||||
python --version
|
python --version
|
||||||
|
|
@ -455,14 +455,14 @@ pip uninstall -r requirements.txt
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
### Runtime Errors
|
### Runtime errors
|
||||||
```bash
|
```bash
|
||||||
# Enable debug logging
|
# Enable debug logging
|
||||||
export MCP_LOG_LEVEL=DEBUG
|
export MCP_LOG_LEVEL=DEBUG
|
||||||
python weather_server.py
|
python weather_server.py
|
||||||
```
|
```
|
||||||
|
|
||||||
### Type Checking
|
### Type checking
|
||||||
```bash
|
```bash
|
||||||
# Install mypy
|
# Install mypy
|
||||||
pip install mypy
|
pip install mypy
|
||||||
|
|
@ -523,7 +523,7 @@ mypy weather_server.py
|
||||||
</Accordion>
|
</Accordion>
|
||||||
</AccordionGroup>
|
</AccordionGroup>
|
||||||
|
|
||||||
## Advanced Features
|
## Advanced features
|
||||||
|
|
||||||
<Steps>
|
<Steps>
|
||||||
<Step title="Add caching">
|
<Step title="Add caching">
|
||||||
|
|
|
||||||
|
|
@ -562,7 +562,7 @@ This guide uses the OpenWeatherMap API. You'll need a free API key from [OpenWea
|
||||||
</Card>
|
</Card>
|
||||||
</CardGroup>
|
</CardGroup>
|
||||||
|
|
||||||
## Available Transports
|
## Available transports
|
||||||
|
|
||||||
While this guide uses stdio transport, MCP supports multiple transport options:
|
While this guide uses stdio transport, MCP supports multiple transport options:
|
||||||
|
|
||||||
|
|
@ -580,7 +580,7 @@ const transport = new SSEServerTransport("/events", response);
|
||||||
|
|
||||||
## Troubleshooting
|
## Troubleshooting
|
||||||
|
|
||||||
### Build Errors
|
### Build errors
|
||||||
```bash
|
```bash
|
||||||
# Check TypeScript version
|
# Check TypeScript version
|
||||||
npx tsc --version
|
npx tsc --version
|
||||||
|
|
@ -590,7 +590,7 @@ rm -rf dist/
|
||||||
npm run build
|
npm run build
|
||||||
```
|
```
|
||||||
|
|
||||||
### Runtime Errors
|
### Runtime errors
|
||||||
Look for detailed error messages in the Claude app logs:
|
Look for detailed error messages in the Claude app logs:
|
||||||
```bash
|
```bash
|
||||||
# Launch Claude with logging
|
# Launch Claude with logging
|
||||||
|
|
@ -600,7 +600,7 @@ open /Applications/Claude.app --stdout ~/Claude.log --stderr ~/Claude.log
|
||||||
tail -f ~/Claude.log
|
tail -f ~/Claude.log
|
||||||
```
|
```
|
||||||
|
|
||||||
### Type Errors
|
### Type errors
|
||||||
```bash
|
```bash
|
||||||
# Check types without building
|
# Check types without building
|
||||||
npx tsc --noEmit
|
npx tsc --noEmit
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue