ZIm/crates/context_server/src
Bennet Bo Fenner d63909c598
agent: Use standardized MCP configuration format in settings (#33539)
Changes our MCP settings from:

```json
{
  "context_servers": {
    "some-mcp-server": {
      "source": "custom",
      "command": {
        "path": "npx",
        "args": [
          "-y",
          "@supabase/mcp-server-supabase@latest",
          "--read-only",
          "--project-ref=<project-ref>",
        ],
        "env": {
          "SUPABASE_ACCESS_TOKEN": "<personal-access-token>",
        },
      },
    },
  },
}

```

to:
```json
{
  "context_servers": {
    "some-mcp-server": {
      "source": "custom",
      "command": "npx",
      "args": [
        "-y",
        "@supabase/mcp-server-supabase@latest",
        "--read-only",
        "--project-ref=<project-ref>",
      ],
      "env": {
        "SUPABASE_ACCESS_TOKEN": "<personal-access-token>",
      },
    },
  },
}
```


Which seems to be somewhat of a standard now (VSCode, Cursor, Windsurf,
...)

Release Notes:

- agent: Use standardised format for configuring MCP Servers
2025-06-30 08:05:52 +00:00
..
transport Move "async move" a few characters to the left in cx.spawn() (#26758) 2025-03-19 02:09:02 +00:00
client.rs Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00
context_server.rs agent: Use standardized MCP configuration format in settings (#33539) 2025-06-30 08:05:52 +00:00
protocol.rs context_server: Make notifications type safe (#32396) 2025-06-09 15:11:01 +00:00
test.rs context_server: Make notifications type safe (#32396) 2025-06-09 15:11:01 +00:00
transport.rs context_server: Abstract server transport (#24528) 2025-02-26 17:19:19 +00:00
types.rs context_server: Make notifications type safe (#32396) 2025-06-09 15:11:01 +00:00