Fix missing mcpServers keys in README code examples

This commit is contained in:
Rahim Nathwani 2024-11-25 20:04:06 -08:00
commit a54651477c

View file

@ -61,11 +61,16 @@ Add the following to your `claude_desktop_config.json`:
```json
{
"google-maps": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-google-maps"],
"env": {
"GOOGLE_MAPS_API_KEY": "<YOUR_API_KEY>"
"mcpServers": {
"google-maps": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-google-maps"
],
"env": {
"GOOGLE_MAPS_API_KEY": "<YOUR_API_KEY>"
}
}
}
}