Files
home-manager/tests/modules/programs/zed-editor/mcp-integration.json
Edontin 5b6f573372 zed-editor: fix programs.mcp.servers compatibility
Default args to an empty list on stdio servers as it's a Vec<String>,
and loading the configuration fails if it's missing. This cannot be done
in extraTransforms due to the final filterAttrs.

Remove addType call as ContextServerSettings doesn't use type to
differentiate server types.

Link: 601ecb3ee5/crates/settings_content/src/project.rs (L484)
Link: 601ecb3ee5/crates/project/src/project_settings.rs (L182)
2026-06-13 10:42:15 -05:00

29 lines
512 B
JSON

{
"context_servers": {
"context7": {
"headers": {
"CONTEXT7_API_KEY": "{env:CONTEXT7_API_KEY}"
},
"url": "https://mcp.context7.com/mcp"
},
"disabled-server": {
"args": [
"test"
],
"command": "echo",
"enabled": false
},
"everything": {
"args": [
"-y",
"@modelcontextprotocol/server-everything"
],
"command": "npx"
},
"server-no-args": {
"args": [],
"command": "echo"
}
}
}