mirror of
https://github.com/nix-community/home-manager.git
synced 2026-10-02 19:49:18 +00:00
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)
29 lines
512 B
JSON
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"
|
|
}
|
|
}
|
|
}
|