2.home-manager/tests/modules
Austin Horstman 4fcef56c15 claude-code: load MCP config via plugin dir
Claude Code rejects `--mcp-config` once the Home Manager wrapper injects
it around subcommands, which breaks commands like `claude mcp list`.
Claude Code 2.1.76 fixed `--plugin-dir` so it no longer consumes
following subcommands, so use that path for the generated MCP config
instead.

Generate a plugin directory with a manifest and `.mcp.json`, wrap
`claude` with `--plugin-dir` before user arguments, and snapshot that
wrapper directly in the tests. Keep the existing LSP support in the
generated plugin directory as well, and add coverage for the combined
MCP+LSP case plus the MCP integration merge path.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2026-03-18 23:58:36 -05:00
..
accounts accounts.email: add option to disable an account 2025-08-07 14:08:46 -05:00
config treewide: remove no-ops (#8061) 2025-10-26 15:43:53 -05:00
dbus dbus: Create with pacakges options (#7064) 2025-05-15 12:59:12 -05:00
files treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
home-environment home-manager: refactor activation checks 2026-01-21 13:14:01 +01:00
i18n/input-method fcitx5: fix iniFormat usage (#6899) 2025-04-23 15:10:12 -05:00
launchd launchd: wait for /nix/store before starting agent (#8609) 2026-01-27 21:51:48 -08:00
misc nix: add assumeXdg option 2026-02-13 15:28:13 -06:00
programs claude-code: load MCP config via plugin dir 2026-03-18 23:58:36 -05:00
services clipman: Add extraArgs option to clipman service 2026-03-17 23:50:17 -05:00
systemd systemd: add packages option (#8540) 2026-01-15 00:51:28 +01:00
targets-darwin treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
targets-linux nix: add assumeXdg option 2026-02-13 15:28:13 -06:00
xresources treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00