Skip to content

Commit 6c92464

Browse files
authored
Merge pull request #1527 from czy88840616/patch-1
Docs: wrap mcpServers config in complete JSON for better IDE support
2 parents a9dd5d0 + 0a7c7c1 commit 6c92464

File tree

1 file changed

+18
-12
lines changed

1 file changed

+18
-12
lines changed

src/time/README.md

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,12 @@ Add to your Claude settings:
4545
<summary>Using uvx</summary>
4646

4747
```json
48-
"mcpServers": {
49-
"time": {
50-
"command": "uvx",
51-
"args": ["mcp-server-time"]
48+
{
49+
"mcpServers": {
50+
"time": {
51+
"command": "uvx",
52+
"args": ["mcp-server-time"]
53+
}
5254
}
5355
}
5456
```
@@ -58,10 +60,12 @@ Add to your Claude settings:
5860
<summary>Using docker</summary>
5961

6062
```json
61-
"mcpServers": {
62-
"time": {
63-
"command": "docker",
64-
"args": ["run", "-i", "--rm", "mcp/time"]
63+
{
64+
"mcpServers": {
65+
"time": {
66+
"command": "docker",
67+
"args": ["run", "-i", "--rm", "mcp/time"]
68+
}
6569
}
6670
}
6771
```
@@ -71,10 +75,12 @@ Add to your Claude settings:
7175
<summary>Using pip installation</summary>
7276

7377
```json
74-
"mcpServers": {
75-
"time": {
76-
"command": "python",
77-
"args": ["-m", "mcp_server_time"]
78+
{
79+
"mcpServers": {
80+
"time": {
81+
"command": "python",
82+
"args": ["-m", "mcp_server_time"]
83+
}
7884
}
7985
}
8086
```

0 commit comments

Comments
 (0)