Add services.albedo.enableMcpIntegration so Albedo can use MCP servers declared once in home-manager:
programs.mcp = {
enable = true;
servers.context7.url = "https://mcp.context7.com/mcp";
};
services.albedo = {
enable = true;
enableMcpIntegration = true;
};
The import uses home-manager's transport and file-backed environment helpers, then feeds Albedo's existing mutable settings merge. Explicit Albedo server definitions take precedence over shared servers of the same name. Imported servers enable the MCP extension unless explicitly disabled.
The preceding fix accepts literal MCP environment and header values, which the connector already supported but the settings decoder rejected. Previously one literal value prevented the whole MCP section from loading.
Activation keeps the existing stopped-writer requirement. Removing an import leaves its saved configuration in place. File-backed secret values are read when the server starts; those wrapper assignments take precedence over credentials saved through Albedo.