2.home-manager/tests/modules/programs/github-copilot-cli
Josef Hofer 085e92b04a github-copilot-cli: preserve args for local-type MCP servers
forCopilotFormat only checked for type == "stdio" to add back args,
missing the case where a server already has type = "local" (e.g. set
directly by a third-party module). This caused args to be absent in the
generated mcp-config.json, failing validation.

Also, running forCopilotFormat as an extraTransform meant it ran inside
transformMcpServer, which then filtered out args = [] in its cleanup
pass. Move forCopilotFormat to run after transformMcpServer so the
empty args list is preserved in the output.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-25 14:16:07 -05:00
..
agents github-copilot-cli: add context, agents, and skills 2026-05-01 12:06:19 -05:00
skills github-copilot-cli: add context, agents, and skills 2026-05-01 12:06:19 -05:00
config.nix github-copilot-cli: add context, agents, and skills 2026-05-01 12:06:19 -05:00
context.md github-copilot-cli: add context, agents, and skills 2026-05-01 12:06:19 -05:00
default.nix github-copilot-cli: add lsp server support 2026-05-01 12:40:55 -05:00
directories.nix github-copilot-cli: add context, agents, and skills 2026-05-01 12:06:19 -05:00
expected-config.json github-copilot-cli: add module 2026-04-29 16:37:13 -05:00
expected-lsp-config.json github-copilot-cli: add lsp server support 2026-05-01 12:40:55 -05:00
expected-mcp-config.json github-copilot-cli: add module 2026-04-29 16:37:13 -05:00
expected-mcp-integration-config.json github-copilot-cli: preserve args for local-type MCP servers 2026-06-25 14:16:07 -05:00
lsp.nix github-copilot-cli: add lsp server support 2026-05-01 12:40:55 -05:00
mcp-integration.nix github-copilot-cli: fix mcp integration 2026-04-30 19:17:57 -05:00
mcp.nix github-copilot-cli: add module 2026-04-29 16:37:13 -05:00
path-not-directory.nix github-copilot-cli: add context, agents, and skills 2026-05-01 12:06:19 -05:00
store-path-dir.nix github-copilot-cli: add context, agents, and skills 2026-05-01 12:06:19 -05:00
store-path-not-directory.nix github-copilot-cli: add context, agents, and skills 2026-05-01 12:06:19 -05:00
test-skill.md github-copilot-cli: add context, agents, and skills 2026-05-01 12:06:19 -05:00
xdg-config-dir.nix github-copilot-cli: add context, agents, and skills 2026-05-01 12:06:19 -05:00