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