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>
24 lines
1 KiB
Nix
24 lines
1 KiB
Nix
{
|
|
claude-code-basic = ./basic.nix;
|
|
claude-code-full-config = ./full-config.nix;
|
|
claude-code-lsp = ./lsp.nix;
|
|
claude-code-mcp = ./mcp.nix;
|
|
claude-code-mcp-lsp = ./mcp-lsp.nix;
|
|
claude-code-mcp-integration = ./mcp-integration.nix;
|
|
claude-code-assertion = ./assertion.nix;
|
|
claude-code-memory-management = ./memory-management.nix;
|
|
claude-code-memory-from-source = ./memory-from-source.nix;
|
|
claude-code-rules-dir = ./rules-dir.nix;
|
|
claude-code-rules-path = ./rules-path.nix;
|
|
claude-code-agents-dir = ./agents-dir.nix;
|
|
claude-code-commands-dir = ./commands-dir.nix;
|
|
claude-code-hooks-dir = ./hooks-dir.nix;
|
|
claude-code-skills-dir = ./skills-dir.nix;
|
|
claude-code-skills-subdir = ./skills-subdir.nix;
|
|
claude-code-agents-path = ./agents-path.nix;
|
|
claude-code-commands-path = ./commands-path.nix;
|
|
claude-code-skills-path = ./skills-path.nix;
|
|
claude-code-mixed-content = ./mixed-content.nix;
|
|
claude-code-output-styles = ./output-styles.nix;
|
|
claude-code-output-styles-not-set = ./output-styles-not-set.nix;
|
|
}
|