mirror of
https://github.com/nix-community/home-manager.git
synced 2026-10-02 19:49:18 +00:00
Extract MCP-related helper functions (renderEnv, mkEnvFilesWrapper, wrapEnvFilesCommand, addType, transformMcpServer) into a new shared library module at modules/lib/mcp.nix. - Add lib.hm.mcp for sharing transformMcpServer logic across consumers - Add enabled/disabled conflict detection assertion - Add tests for new library functions
23 lines
436 B
JSON
23 lines
436 B
JSON
{
|
|
"mcpServers": {
|
|
"context7": {
|
|
"headers": {
|
|
"CONTEXT7_API_KEY": "{env:CONTEXT7_API_KEY}"
|
|
},
|
|
"type": "http",
|
|
"url": "https://mcp.context7.com/mcp"
|
|
},
|
|
"everything": {
|
|
"args": [
|
|
"-y",
|
|
"@modelcontextprotocol/server-everything"
|
|
],
|
|
"command": "npx",
|
|
"env": {
|
|
"NPM_TOKEN": "{file:/run/secrets/npm-token}"
|
|
},
|
|
"type": "stdio"
|
|
}
|
|
}
|
|
}
|