Merge pull request #1527 from czy88840616/patch-1

Docs: wrap mcpServers config in complete JSON for better IDE support
This commit is contained in:
Ola Hungerford 2025-04-23 08:08:29 -07:00 • committed by GitHub
commit 6c9246468f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -45,10 +45,12 @@ Add to your Claude settings:
<summary>Using uvx</summary> <summary>Using uvx</summary>
```json ```json
"mcpServers": { {
"time": { "mcpServers": {
"command": "uvx", "time": {
"args": ["mcp-server-time"] "command": "uvx",
"args": ["mcp-server-time"]
}
} }
} }
``` ```
@ -58,10 +60,12 @@ Add to your Claude settings:
<summary>Using docker</summary> <summary>Using docker</summary>
```json ```json
"mcpServers": { {
"time": { "mcpServers": {
"command": "docker", "time": {
"args": ["run", "-i", "--rm", "mcp/time"] "command": "docker",
"args": ["run", "-i", "--rm", "mcp/time"]
}
} }
} }
``` ```
@ -71,10 +75,12 @@ Add to your Claude settings:
<summary>Using pip installation</summary> <summary>Using pip installation</summary>
```json ```json
"mcpServers": { {
"time": { "mcpServers": {
"command": "python", "time": {
"args": ["-m", "mcp_server_time"] "command": "python",
"args": ["-m", "mcp_server_time"]
}
} }
} }
``` ```