Fix missing mcpServers keys in README code examples

This commit is contained in:
Rahim Nathwani
2024-11-25 20:04:06 -08:00
parent d824121221
commit a54651477c
9 changed files with 85 additions and 36 deletions

View File

@@ -26,9 +26,15 @@ To use this server with the Claude Desktop app, add the following configuration
```json
{
"postgres": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-postgres", "postgresql://localhost/mydb"]
"mcpServers": {
"postgres": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-postgres",
"postgresql://localhost/mydb"
]
}
}
}
```