Skip to content

Commit 8885862

Browse files
cliffhallclaude
andcommitted
docs(git, time): make the Zed configuration snippets valid JSON
context_servers is an object, not an array, and Zed's settings take a flat string `command` with a separate `args` list. Each snippet is now a complete JSON object that parses on its own; git's nested `command.path` shape is replaced with the one Zed documents. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: cliffhall <[email protected]>
1 parent 281b167 commit 8885862

2 files changed

Lines changed: 24 additions & 20 deletions

File tree

‎src/git/README.md‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -324,29 +324,29 @@ Add to your Zed settings.json:
324324
<summary>Using uvx</summary>
325325

326326
```json
327-
"context_servers": [
328-
"mcp-server-git": {
329-
"command": {
330-
"path": "uvx",
327+
{
328+
"context_servers": {
329+
"mcp-server-git": {
330+
"command": "uvx",
331331
"args": ["mcp-server-git"]
332332
}
333333
}
334-
],
334+
}
335335
```
336336
</details>
337337

338338
<details>
339339
<summary>Using pip installation</summary>
340340

341341
```json
342-
"context_servers": {
343-
"mcp-server-git": {
344-
"command": {
345-
"path": "python",
342+
{
343+
"context_servers": {
344+
"mcp-server-git": {
345+
"command": "python",
346346
"args": ["-m", "mcp_server_git"]
347347
}
348348
}
349-
},
349+
}
350350
```
351351
</details>
352352

‎src/time/README.md‎

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -126,25 +126,29 @@ Add to your Zed settings.json:
126126
<summary>Using uvx</summary>
127127

128128
```json
129-
"context_servers": [
130-
"mcp-server-time": {
131-
"command": "uvx",
132-
"args": ["mcp-server-time"]
129+
{
130+
"context_servers": {
131+
"mcp-server-time": {
132+
"command": "uvx",
133+
"args": ["mcp-server-time"]
134+
}
133135
}
134-
],
136+
}
135137
```
136138
</details>
137139

138140
<details>
139141
<summary>Using pip installation</summary>
140142

141143
```json
142-
"context_servers": {
143-
"mcp-server-time": {
144-
"command": "python",
145-
"args": ["-m", "mcp_server_time"]
144+
{
145+
"context_servers": {
146+
"mcp-server-time": {
147+
"command": "python",
148+
"args": ["-m", "mcp_server_time"]
149+
}
146150
}
147-
},
151+
}
148152
```
149153
</details>
150154

0 commit comments

Comments
 (0)