From a52e5c8ec98eaac63b182a09b831b11df1d31860 Mon Sep 17 00:00:00 2001 From: Filippo Mattia Menghi Date: Fri, 22 May 2026 12:22:43 +0200 Subject: [PATCH] docs(time, git): fix invalid JSON in Zed `context_servers` config snippets MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Zed configuration snippets in `src/time/README.md` and `src/git/README.md` used `"context_servers": [` (array) with key-value entries inside — which is not valid JSON. The other Zed `context_servers` snippets in the same files (under `Using pip installation`) correctly use `{` (object), so this was an inconsistent typo on the `uvx` variants. The result is that copy-pasting the snippet straight into `~/.config/zed/settings.json` causes Zed to fail parsing the file silently and ignore the MCP server registration. Switches `[` to `{` and `],` to `},` on the two affected snippets so they match Zed's expected object shape and the adjacent pip-installation snippets in the same READMEs. --- src/git/README.md | 4 ++-- src/time/README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/git/README.md b/src/git/README.md index c9ec3140be..d21dda8465 100644 --- a/src/git/README.md +++ b/src/git/README.md @@ -222,14 +222,14 @@ Add to your Zed settings.json: Using uvx ```json -"context_servers": [ +"context_servers": { "mcp-server-git": { "command": { "path": "uvx", "args": ["mcp-server-git"] } } -], +}, ``` diff --git a/src/time/README.md b/src/time/README.md index 51107f51de..2d885026e9 100644 --- a/src/time/README.md +++ b/src/time/README.md @@ -100,12 +100,12 @@ Add to your Zed settings.json: Using uvx ```json -"context_servers": [ +"context_servers": { "mcp-server-time": { "command": "uvx", "args": ["mcp-server-time"] } -], +}, ```