2.home-manager/tests
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
..
integration tests: stop pueued via alice user session in nixos-basics 2026-03-03 14:24:37 -06:00
lib tests/types: add suboptions doc test 2026-02-13 13:41:08 -06:00
modules claude-code: load MCP config via plugin dir 2026-03-18 23:58:36 -05:00
asserts.nix treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
big-test.nix treewide: Prevent IFD by default 2025-05-07 10:34:18 -05:00
darwinScrublist.nix tests: scrub radio-cli and yt-dlp on darwin 2026-03-03 14:24:37 -06:00
default.nix treewide: fix spelling errors 2026-03-11 22:32:16 -05:00
package.nix tests: explicitly define NIX_CONFIG 2025-11-01 14:29:06 -05:00
stubs.nix treewide: remove no-ops (#8061) 2025-10-26 15:43:53 -05:00
tests.py tests: merge both flakes 2026-02-18 21:13:38 -06:00