Merge pull request #1527 from czy88840616/patch-1
Docs: wrap mcpServers config in complete JSON for better IDE support
This commit is contained in:
commit
6c9246468f
1 changed files with 18 additions and 12 deletions
|
|
@ -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"]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue